use of org.krysalis.jcharts.properties.StackedBarChartProperties in project activityinfo by bedatadriven.
the class ChartRendererJC method computeAxisChartProperties.
protected AxisChartTypeProperties computeAxisChartProperties(int dpi, PivotChartReportElement element) {
if (element.getType() == PivotChartReportElement.Type.Line) {
return computeLineChartProperties(element, dpi);
} else {
BarChartProperties p;
switch(element.getType()) {
case StackedBar:
p = new StackedBarChartProperties();
break;
case Bar:
case ClusteredBar:
p = new ClusteredBarChartProperties();
break;
default:
throw new IllegalArgumentException(element.getType().toString());
}
p.setShowOutlinesFlag(false);
return p;
}
}
Aggregations