problem with the class Minute

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
riadhhwajdii
Posts: 12
Joined: Tue Aug 25, 2009 9:12 am
antibot: No, of course not.

problem with the class Minute

Post by riadhhwajdii » Thu Sep 03, 2009 1:48 pm

hi i am using a DateAxis
my problem is that when i add new value dataset.getSeries(0).addOrUpdate(new Minute(minute,new Hour()),Integer.parseInt(valAtt));
i get the date format like hh:mm:s
or in my axis i have axis.setDateFormatOverride(new SimpleDateFormat("hh:mm")) and because i do the update every 10 seconds;,i have donc in my chart many points that have the same date (for example having x-axis value=11:36)
how can i do

paradoxoff
Posts: 1634
Joined: Sat Feb 17, 2007 1:51 pm

Re: problem with the class Minute

Post by paradoxoff » Sun Sep 06, 2009 12:19 pm

Though I haven´t fuilly understood your problem, it seems that you want to stuff data with a resolution of higher than 1 minute into the Minute class. If you need the higher resolution, switch to the Second class.

Locked