wrong graph when using timeozone

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

wrong graph when using timeozone

Post by Sriram Nookala » Tue Jan 21, 2003 9:11 pm

My graph is erroneous and even when I'm plotting Minute it displays for a day when I use the Minute constructor which takes the timezone as below:

tCumSeries.add(new Minute(d149,TimeZone.getTimeZone("EST")),1494);

If I use the constructor without the timezone as given below, the gprah displays correctly.

tCumSeries.add(new Minute(d149),1494);

I'm using version 0.8.1 of JFreeChart.

David Gilbert

Re: wrong graph when using timeozone

Post by David Gilbert » Wed Jan 22, 2003 4:31 pm

Hi Sriram,

Some work was done a while back on the TimeZone code, and I haven't heard of any problems since then...so I'd recommend trying the latest version of JFreeChart/JCommon to see if it works for you.

Regards,

Dave Gilbert

Locked