Re: Y-axis value range

Travis Reeder <[email protected]> Thu, 18 Nov 2004 06:11:31 -0800
Newsgroups gmane.comp.krysalis.jcharts.user
Message-ID <[email protected]>
I get a null pointer on that too.


On Thu, 18 Nov 2004 03:55:26 -0800 (PST), G <[email protected]> wrote:
> 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
> _______________________________________________
> jCharts-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jcharts-users
>


-------------------------------------------------------
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