Y-axis value range

G <[email protected]> Thu, 18 Nov 2004 03:55:26 -0800 (PST)
Newsgroups gmane.comp.krysalis.jcharts.user
Message-ID <[email protected]>
Hi!

Thanks for a great package! Truly professional work!

I'm trying to create a normal LineChart with Y-axis
values ranging
from the lowest data value to the highest data value.
How do I do that? (Zero is always the lowest Y-axis
value)

I've tried something like:

axischart[i].getYAxis().getScaleCalculator().setMinValue(mindata[i]);


but every time I call axischart[i].render() it sets
the min value to zero again.

And the axischart[i].getYAxis() seems to return null
before I call axischart[i].render(), so the first
rendering will alway be wrong, or am I missing
something?

Thanks for any help!


		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 



-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8