From: G <sys...@ya...> - 2004-11-18 11:55:28
|
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 |
From: Travis R. <tr...@gm...> - 2004-11-18 14:15:36
|
I get a null pointer on that too. On Thu, 18 Nov 2004 03:55:26 -0800 (PST), G <sys...@ya...> 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 > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > |
From: Nathaniel G. A. <nat...@ya...> - 2004-11-18 20:09:15
|
you need to create a new ScaleCalculator and set it to the Axis --- Travis Reeder <tr...@gm...> wrote: > I get a null pointer on that too. > > > On Thu, 18 Nov 2004 03:55:26 -0800 (PST), G <sys...@ya...> 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 > > jCh...@li... > > 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 > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com |
From: Travis R. <tr...@gm...> - 2004-11-20 19:22:17
|
Why isn't that in the DualAxisComboTestDriver ? Travis On Thu, 18 Nov 2004 12:08:41 -0800 (PST), Nathaniel G. Auvil <nat...@ya...> wrote: > > you need to create a new ScaleCalculator and set it to the Axis > > > > > --- Travis Reeder <tr...@gm...> wrote: > > > I get a null pointer on that too. > > > > > > On Thu, 18 Nov 2004 03:55:26 -0800 (PST), G <sys...@ya...> 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 > > > jCh...@li... > > > 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 > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > > __________________________________ > > > 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 > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > |