use of com.extjs.gxt.charts.client.model.axis.YAxis in project activityinfo by bedatadriven.
the class ChartOFCView method createYAxis.
private YAxis createYAxis(PivotChartContent content, PivotTableData table) {
YAxis ya = new YAxis();
double maxValue = table.getRootRow().getMaxValue();
ya.setLabels(yAxisLabels(content, maxValue));
ya.setRange(content.getYMin(), maxValue);
ya.setSteps(content.getYStep());
ya.setGridColour("eeffee");
ya.setColour("009900");
return ya;
}
Aggregations