hi,
i have to questions:
1.
i wanna create a bar chart with only on value. how can i overrule the horizontal automatic range? my single bar is blown up over the whole horizontal axis.
2.
how can i label my axis with icons? is it possible to draw axis with arrows at their endpoints?
thanx
manfred
bar chart with single data value
Re: bar chart with single data value
Hi Manfred,
You can set a fixed axis range as follows:
CategoryPlot myPlot = myChart.getCategoryPlot();
ValueAxis rangeAxis = myPlot.getRangeAxis();
rangeAxis.setAxisRange(0.0, 100.0);
You can't use icons to label the axis and there is no support for arrows at the end of axes yet.
Regards,
DG.
You can set a fixed axis range as follows:
CategoryPlot myPlot = myChart.getCategoryPlot();
ValueAxis rangeAxis = myPlot.getRangeAxis();
rangeAxis.setAxisRange(0.0, 100.0);
You can't use icons to label the axis and there is no support for arrows at the end of axes yet.
Regards,
DG.