Hi,
I am using cewolf and I am trying to get to plot a HighLow chart along with the moving average line on it. But, when I used the overlaid chart tag option in jsp and set the "yaxistype" option as "number", the range on Y axis starts from 0, instead of automatically adjusting the starting value. If I use the same data, plot a line chart and its moving average as two time series in a time series collection and just use the chart
tag in jsp, the Y axis is auto scaled to the correct range of data (say between 55 to 135 if all Y values lie between the two).
Is there a way to have the same kind of behavior with the overlaid chart ?
If I do not set any "yaxistype" the y axis seems to have some kind of time-stamps. Can somebody help ?
Thanks,
Harsha
overlaid chart in cewolf and auto scaling of Y axis
-
- Posts: 12
- Joined: Fri Jan 06, 2006 1:36 am
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
In JFreeChart, you'd call setAutoRangeIncludesZero(false) in the NumberAxis class. I don't know how it is done in Cewolf.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

