Hi,
Here is my code:
XYPlot plot = chart.getXYPlot();
DateAxis axis = (HorizontalDateAxis)plot.getDomainAxis();
axis.setTickUnit(new DateTickUnit(DateTickUnit.DAY, 2,
new java.text.SimpleDateFormat("d")));
I get this following runtime error.
java.lang.NoSuchMethodError: com.jrefinery.chart.DateAxis.setTickUnit(Lcom/jrefinery/chart/DateTickUnit;)V
at client.LineGraph.doPost(LineGraph.java:55)
Can someone help me with this please?
Thanks.
setTickUnit in DateAxis
Re: setTickUnit in DateAxis
Hello,
Can someone help me with this? I seem to be stuck just with this graph - the others are fine.
Thank you.
Can someone help me with this? I seem to be stuck just with this graph - the others are fine.
Thank you.