Default Labels on X Axis in Candel Stick Chart

Discussion about JFreeChart related to stockmarket charts.
Locked
chamarts
Posts: 1
Joined: Fri Oct 03, 2008 7:17 pm

Default Labels on X Axis in Candel Stick Chart

Post by chamarts » Fri Oct 03, 2008 7:26 pm

Hi there,

I am new here and trying to draw a candel stick bar and am using the following code

JFreeChart chart = ChartFactory.createCandlestickChart("HighLow Chart","Date","Dow",dataset,true);



for some reason x-axis labels are always set to default values like 4-jan/11-jan/18-jan...

but the data actually starts with 2008-05-09

any 1 can help me please ? its urgent

Locked