LineChart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Sam

LineChart

Post by Sam » Wed Aug 14, 2002 5:09 am

Hi,

I use JFreeChart to plot a LineChart, I put my data in a 2-dim double array.

In the graph, it displays the Y value of my chart, but can someone please tell me how to control the no of digits it display after the decimal?

Thanks.
Sam

David Gilbert

Re: LineChart

Post by David Gilbert » Wed Aug 14, 2002 6:51 am

The setLabelFormatString(...) method in the CategoryPlot class controls the format of value labels on the chart.

Regards,

DG.

Locked