Dear All
My chart is horizontal stacked bar chart. i have timestamp value from the database as my categoryplot and set the value of the chart in DateAxis.
the value is showing 1970 as the default value. how do i sent the auto scalling and the x-axis should plot according to the category set.
Customize Range Axis - horizontal stacked bar chart
Customize Range Axis - horizontal stacked bar chart
--------------------------------
Cheers
PraDz
Cheers
PraDz
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
If you use a DateAxis for the range axis, then the values in your dataset will be interpreted as "milliseconds since 1-Jan-1970", which probably explains why the DateAxis is displaying 1970. Aside from that, I can't really help unless you provide more specific information.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


david
am using the method setBase(starttime) and se thte date axis. its perfectly working and thanks
am using the method setBase(starttime) and se thte date axis. its perfectly working and thanks
david.gilbert wrote:If you use a DateAxis for the range axis, then the values in your dataset will be interpreted as "milliseconds since 1-Jan-1970", which probably explains why the DateAxis is displaying 1970. Aside from that, I can't really help unless you provide more specific information.
--------------------------------
Cheers
PraDz
Cheers
PraDz