From: Nathaniel G. A. <nat...@ya...> - 2004-11-05 19:58:32
|
you can either pass a ScaleCalculator instance to the Axis DataAxis Constructor or simply get it from the DataAxis. There are methods on there to set the min and max. Be aware of the rounding factor you are using. You would want to round to the nearest 10 to the -1 power --- "Jiang, Xihua" <jon...@pi...> wrote: > Hi folks, > > I'm using jcharts to develop a plot tool. It works fine so far, > but I don't know how to set the scales and max/min values > for X/Y axis. My data ranges from 3.8 to 6.2, but the max > value for Y axis is 12, and the min value, 0 in the chart > plotted using jcharts. > > Could you please give me some suggestion? If you can > provide some sample code, that'll be great. > > Thanks in advance, > > Jon > > > This message contains confidential information and is intended only for the individual named. If > you are not the named addressee, you should not disseminate, distribute, alter or copy this > e-mail. > Please notify the sender immediately by e-mail if you have received this e-mail by mistake and > delete this e-mail from your system. > E-mail transmissions cannot be guaranteed to be secure or error-free as information could be > intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. > The sender, therefore, does not accept liability for any errors or omissions in the contents of > this message which arise during or as a result of e-mail transmission. If verification is > required, please request a hard-copy version. This message is provided for information purposes > and should not be construed as a solicitation or offer to buy or sell any securities or related > financial instruments in any jurisdiction. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com |