Hi,
I am using timeseries chart. My problem is when there is no data available for the chart i.e. the data set is empty then the graph is diaplyaed with no data message. But the Y axis labels are displayed like 0.0, 0.5, 1.0, 1.5,... . How can i prevent Y axis labels from appearing on the chart.
Thanks
Y Axis labels showing when dataset is empty
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
I don't think there is a way to do this without modifying JFreeChart in some way. Probably the easiest thing to do would be to override refreshTicks() in the axis, and return an empty list if the plot has no data.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- Posts: 5
- Joined: Wed Apr 23, 2008 1:31 pm
regarding jsf version
Hi david how can i do dual axis chart in jsf:
<c:chart id="chart"
datasource="#{BarCharts.sourceProvider.dataSet}"
type="bar" is3d="true" antialias="true" outline="true"
is it possible to add multiple dataset using jsf
<c:chart id="chart"
datasource="#{BarCharts.sourceProvider.dataSet}"
type="bar" is3d="true" antialias="true" outline="true"
is it possible to add multiple dataset using jsf