Re: Explicitly setting Y-axis range
"Nathaniel G. Auvil" <[email protected]> Fri, 6 Aug 2004 06:03:50 -0700 (PDT)
| Newsgroups | gmane.comp.krysalis.jcharts.user |
|---|---|
| Message-ID | <[email protected]> |
There is a method on the DataAxisProperties Object which you can control the range by specifying a minimum and increment. You need to also change the rounding value to include smaller numbers. --- Chris Hoffmann <[email protected]> wrote: > I know this must be simple to do, but I haven't been able to come up > with the proper incantation yet. I want to set an explicit range for the > y-axis of my bar chart, say from 0.0 to 1.5, regardless of the range > of the data values (assuming all values are within that range). > > Although my data points are all either zero or around 1.0, the only > ranges I've been able to get jChart to produce are 0..4 and 0..1, the > latter truncating any bars that are above 1.0. > > Thanks, > Chris > -- > Chris Hoffmann -- Dept. of Computer Science/UMass at Amherst > http://www-ali.cs.umass.edu/~hoffmann > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > jCharts-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jcharts-users > __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com