public class Chart extends Object
Constructor and Description |
---|
Chart(javax.servlet.http.HttpServletRequest request) |
Modifier and Type | Method and Description |
---|---|
String |
plot() |
void |
setDataSet(String chartType,
String series,
String data) |
void |
setDataSet(String chartType,
TreeMap<String,TreeMap<String,Double>> data) |
void |
setDisplayPercentage(boolean percentage) |
void |
setGraphType(String graphType) |
void |
setId(String id) |
void |
setLegend(boolean toggle) |
void |
setSeriesOrder(String[] metrics) |
void |
setSize(int width,
int height) |
void |
setTitle(String title) |
void |
setXAxisLabel(String label) |
void |
setXAxisLabels(boolean toggle) |
void |
setXLabelsRange(List<String> range) |
void |
setYAxisLabel(String label) |
void |
setYAxisLabels(boolean toggle) |
void |
setYAxisRightLabel(String label) |
void |
setYAxisRightLabels(boolean toggle) |
void |
setYMax(double max) |
void |
setYMin(double min) |
public void setYMax(double max)
public void setYMin(double min)
public void setDisplayPercentage(boolean percentage)
public void setSize(int width, int height)
public void setGraphType(String graphType)
public void setTitle(String title)
public void setId(String id)
public void setSeriesOrder(String[] metrics)
public void setXAxisLabels(boolean toggle)
public void setYAxisLabels(boolean toggle)
public void setYAxisRightLabels(boolean toggle)
public void setXAxisLabel(String label)
public void setYAxisLabel(String label)
public void setYAxisRightLabel(String label)
public void setLegend(boolean toggle)
public String plot()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.