You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
|
Jun
(1) |
Jul
(5) |
Aug
(2) |
Sep
(3) |
Oct
(2) |
Nov
(8) |
Dec
(10) |
2003 |
Jan
(1) |
Feb
(5) |
Mar
(15) |
Apr
(29) |
May
(40) |
Jun
(44) |
Jul
(26) |
Aug
(63) |
Sep
(42) |
Oct
(33) |
Nov
(29) |
Dec
(51) |
2004 |
Jan
(34) |
Feb
(15) |
Mar
(32) |
Apr
(26) |
May
(40) |
Jun
(16) |
Jul
(6) |
Aug
(12) |
Sep
(55) |
Oct
(33) |
Nov
(54) |
Dec
(9) |
2005 |
Jan
(3) |
Feb
(7) |
Mar
(12) |
Apr
(3) |
May
(4) |
Jun
(3) |
Jul
|
Aug
(4) |
Sep
(8) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
2006 |
Jan
(1) |
Feb
(7) |
Mar
(4) |
Apr
(2) |
May
(3) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
(1) |
Oct
(2) |
Nov
(3) |
Dec
(2) |
2007 |
Jan
(7) |
Feb
(6) |
Mar
|
Apr
|
May
(1) |
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2010 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Nathaniel G. A. <nat...@ya...> - 2004-03-08 02:13:22
|
you have to add the other datapoints to the chart, as in: scatterPlotDataSet.addDataPoints( points, Color.red, "Proprietary" ); scatterPlotDataSet.addDataPoints( points2, Color.red, "Proprietary" ); --- "Arcadius A." <ah...@sh...> wrote: > Hello! > I'm new to JCharts. > I'm trying to modify the "ScatterPlotChartServlet" example to do what I > need. > > The actual code in "ScatterPlotChartServlet" looks like the following: > > private ScatterPlotDataSet createScatterPlotDataSet() { > Point2D.Double[] points = new Point2D.Double[ 20 ]; > Point2D.Double[] points2 = new Point2D.Double[ 20 ]; > for( int x = 0; x < 20; x++ ) { > //--- y = x2 > points[ x ] = ScatterPlotDataSet.createPoint2DDouble(); > points[ x ].setLocation( x, Math.pow(x,2 ) ); } > ScatterPlotDataSet scatterPlotDataSet = new ScatterPlotDataSet( > this.createScatterPlotProperties() ); > scatterPlotDataSet.addDataPoints( points, Color.red, "Proprietary" ); > return scatterPlotDataSet; > } > > Me, I'd like to draw 3 graphs, for instance : > y=Math.pow(x,2) > y=Math.pow(x,3) > y=Math.sin(Math.PI*x) > > on the SAME chart. > > My question is: How can I modify the code of the > "ScatterPlotChartServlet" above to have 3 graphs on the SAME chart? > creating two others points2[] and points3[] objects for the 2 remaining > graphs did not help. > > Thanks. > > AA. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Yahoo! Search - Find what youre looking for faster http://search.yahoo.com |
From: Jeremias M. <dev...@gr...> - 2004-03-07 16:19:06
|
Hello Arcadius, I'm not directly involved in the JCharts project so I'm simply forwarding your question to the right mailing list: jch...@li... You can subscribe here: http://sourceforge.net/mail/?group_id=16161 Forwarded by Jeremias Maerki <dev...@gr...> ----------------------- Original Message ----------------------- From: "Arcadius A." <ah...@sh...> To: jm...@us... Date: Sun, 07 Mar 2004 01:28:12 +0100 Subject: JCharts question ---- Hello! I'm new to JCharts. I'm trying to modify the "ScatterPlotChartServlet" example to do what I need. The actual code in "ScatterPlotChartServlet" looks like the following: private ScatterPlotDataSet createScatterPlotDataSet() { Point2D.Double[] points = new Point2D.Double[ 20 ]; Point2D.Double[] points2 = new Point2D.Double[ 20 ]; for( int x = 0; x < 20; x++ ) { //--- y = x2 points[ x ] = ScatterPlotDataSet.createPoint2DDouble(); points[ x ].setLocation( x, Math.pow(x,2 ) ); } ScatterPlotDataSet scatterPlotDataSet = new ScatterPlotDataSet( this.createScatterPlotProperties() ); scatterPlotDataSet.addDataPoints( points, Color.red, "Proprietary" ); return scatterPlotDataSet; } Me, I'd like to draw 3 graphs, for instance : y=Math.pow(x,2) y=Math.pow(x,3) y=Math.sin(Math.PI*x) on the SAME chart. My question is: How can I modify the code of the "ScatterPlotChartServlet" above to have 3 graphs on the SAME chart? creating two others points2[] and points3[] objects for the 2 remaining graphs did not help. Thanks. Arcadius. --------------------- Original Message Ends -------------------- Jeremias Maerki |
From: Arcadius A. <ah...@sh...> - 2004-03-07 09:53:36
|
Hello! I'm new to JCharts. I'm trying to modify the "ScatterPlotChartServlet" example to do what I need. The actual code in "ScatterPlotChartServlet" looks like the following: private ScatterPlotDataSet createScatterPlotDataSet() { Point2D.Double[] points = new Point2D.Double[ 20 ]; Point2D.Double[] points2 = new Point2D.Double[ 20 ]; for( int x = 0; x < 20; x++ ) { //--- y = x2 points[ x ] = ScatterPlotDataSet.createPoint2DDouble(); points[ x ].setLocation( x, Math.pow(x,2 ) ); } ScatterPlotDataSet scatterPlotDataSet = new ScatterPlotDataSet( this.createScatterPlotProperties() ); scatterPlotDataSet.addDataPoints( points, Color.red, "Proprietary" ); return scatterPlotDataSet; } Me, I'd like to draw 3 graphs, for instance : y=Math.pow(x,2) y=Math.pow(x,3) y=Math.sin(Math.PI*x) on the SAME chart. My question is: How can I modify the code of the "ScatterPlotChartServlet" above to have 3 graphs on the SAME chart? creating two others points2[] and points3[] objects for the 2 remaining graphs did not help. Thanks. AA. |
From: David H. <Dav...@na...> - 2004-03-04 20:07:12
|
Thanks. I found the documentation in the javadocs directory. I was able to compile the SwingDemo program, but when I ran the program, I'm getting following message: Exception in thread "main" java.lang.NoClassDefFoundError: SwingDemo (wrong name: org/jCharts/demo/swing/SwingDemo) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:250) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) Does anybody know what this error message means? Any help would be greatly appreciated. I need to learn how to use library ASAP and create some plots. Thanks again. David >are you looking for the javadocs? > >They are in the javadocs dir of the archive. > > >--- David Han <Dav...@na...> wrote: >> I just downloaded and installed the Jcharts library, but I don't see >> any places where the Jcharts APIs are described. It is available >> somewhere on-line? >> >> -- >> David Han >> dav...@gs... >> 301-286-3617 >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IBM Linux Tutorials >> Free Linux tutorial presented by Daniel Robbins, President and CEO of >> GenToo technologies. Learn everything from fundamentals to system >> administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcl= ick >> _______________________________________________ >> jCharts-users mailing list >> jCh...@li... >> https://lists.sourceforge.net/lists/listinfo/jcharts-users > > >__________________________________ >Do you Yahoo!? >Yahoo! Search - Find what you=EDre looking for faster >http://search.yahoo.com > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dclick >_______________________________________________ >jCharts-users mailing list >jCh...@li... >https://lists.sourceforge.net/lists/listinfo/jcharts-users -- David Han dav...@gs... 301-286-3617 |
From: Nathaniel G. A. <nat...@ya...> - 2004-03-04 18:57:51
|
are you looking for the javadocs? They are in the javadocs dir of the archive. --- David Han <Dav...@na...> wrote: > I just downloaded and installed the Jcharts library, but I don't see > any places where the Jcharts APIs are described. It is available > somewhere on-line? > > -- > David Han > dav...@gs... > 301-286-3617 > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Yahoo! Search - Find what youre looking for faster http://search.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2004-03-04 18:56:38
|
did you look in the src folder of the download? I just double checked the 0.7.5 download and it has the src in it. --- gi...@mo... wrote: > Hello, > > I would like to implement a renderer for the bar chart background. > > You mentionned to have a look at the sources and read > the code. > > But I only downloaded .class files. > > How can I get the sources to get some samples? > > many thanks > > Gilles > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Yahoo! Search - Find what youre looking for faster http://search.yahoo.com |
From: David H. <Dav...@na...> - 2004-03-04 17:17:59
|
I just downloaded and installed the Jcharts library, but I don't see any places where the Jcharts APIs are described. It is available somewhere on-line? -- David Han dav...@gs... 301-286-3617 |
From: <gi...@mo...> - 2004-03-04 16:44:36
|
Hello, I would like to implement a renderer for the bar chart background. You mentionned to have a look at the sources and read the code. But I only downloaded .class files. How can I get the sources to get some samples? many thanks Gilles |
From: Nathaniel G. A. <nat...@ya...> - 2004-02-27 14:40:34
|
ok. I see your point. I will add a todo... --- Fredrik Bertilsson <Fre...@po...> wrote: > > I agree with Tamer that a validation would be a very nice thing indeed to > have. When systems get connected together, the presentation system is not in > control of the data. Introducing a check would imho have a minimal > performance overhead. > > Best regards, > Fredrik > > -----Original Message----- > From: Nathaniel G. Auvil [mailto:nat...@ya...] > Sent: 27. februar 2004 15:02 > To: jch...@li... > Subject: RE: [jCharts-users] Problems (NullPointer or ArrayIndex) if no data > available for barchart > > > > Well, i guess the decision was why would someone try to plot a null dataset? > I am not sure this is something that happens very often so I would like to > avoid the overhead and code of a validation. > > > --- tam...@ub... wrote: > > providing a placeholder image is exactly how we solved this issue. > > > > still I was wondering, whether the cart implementation couldn't handle > > that. or let's say I was surprised it didn't catch that scenario and > > throw at least some validation exception instead of running into > > nullpointer. > > > > > > -----Original Message----- > > From: jch...@li... > > [mailto:jch...@li...]On Behalf Of > > Nathaniel G. Auvil > > Sent: Freitag, 27. Februar 2004 01:29 > > To: jch...@li... > > Subject: Re: [jCharts-users] Problems (NullPointer or ArrayIndex) if > > no data available for barchart > > > > > > > > If there is no data what do you expect to see in a chart? What would > > be on the y-axis if there are no data elements? > > > > I would think your logic, would see there was no data, and stream a > > placeholder image instead of the chart or a chart with a few zero > > values and labels of empty Strings. > > > > > > > > > > --- tam...@ub... wrote: > > > hi all > > > > > > we are generating clusteredbarcharts based on the result of some > > > database selects, so the data to display is not static. we have a > > > problem if there is no data. I have tried different ways to tweak > > > this issue, but always ran into troubles: > > > > > > I'm using jcharts 0.7.4 (the posted methods are the same in 0.7.5) > > > > > > - legendlabels and data array (double[][]) are null > > > > > > java.lang.NullPointerException > > > at > org.jCharts.chartData.AxisChartDataSet.getNumberOfDataSets(AxisChartDataSet. > java:136) > > > at > > > org.jCharts.chartData.AxisDataSeries.addIAxisPlotDataSet(AxisDataSer > > > ies.java:166) > > > > > > code which throws exception [AxisChartDataSet.getNumberOfDataSets]: > > > public final int getNumberOfDataSets() > > > { > > > return this.data.length; > > > } > > > > > > - legenlabels is null, data array is new double[0][0]; > > > > > > java.lang.ArrayIndexOutOfBoundsException: 0 > > > at > org.jCharts.chartData.DataSet.getNumberOfDataItems(DataSet.java:148) > > > at > > > org.jCharts.chartData.AxisDataSeries.addIAxisPlotDataSet(AxisDataSer > > > ies.java:168) > > > > > > code which throws exception [DataSet.getNumberOfDataItems]: > > > public int getNumberOfDataItems() > > > { > > > return this.data[ 0 ].length; > > > } > > > > > > is there any reason, why null and/or length is not checked in those > > > methods ?? > > > > > > is there any other way to get a empty chart, I do set > > > setUserDefinedScale(0, 2) > > > setNumItems(5) > > > > > > > > > regards > > > > > > tamer > > > > > > > > > ------------------------------------------------------- > > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and > > > deploy apps & Web services for Linux with a free DVD software kit > > > from IBM. Click Now! > > > http://ads.osdn.com/?ad_id56&alloc_id438&op=click > > > _______________________________________________ > > > jCharts-users mailing list jCh...@li... > > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > > > __________________________________ > > Do you Yahoo!? > > Get better spam protection with Yahoo! Mail. > > http://antispam.yahoo.com/tools > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and > > deploy apps & Web services for Linux with a free DVD software kit from > > IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and > > deploy apps & Web services for Linux with a free DVD software kit from > > IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > __________________________________ > Do you Yahoo!? > Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of computer viruses. > > www.powel.no > ********************************************************************** > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools |
From: Fredrik B. <Fre...@po...> - 2004-02-27 14:23:39
|
I agree with Tamer that a validation would be a very nice thing indeed to have. When systems get connected together, the presentation system is not in control of the data. Introducing a check would imho have a minimal performance overhead. Best regards, Fredrik -----Original Message----- From: Nathaniel G. Auvil [mailto:nat...@ya...] Sent: 27. februar 2004 15:02 To: jch...@li... Subject: RE: [jCharts-users] Problems (NullPointer or ArrayIndex) if no data available for barchart Well, i guess the decision was why would someone try to plot a null dataset? I am not sure this is something that happens very often so I would like to avoid the overhead and code of a validation. --- tam...@ub... wrote: > providing a placeholder image is exactly how we solved this issue. > > still I was wondering, whether the cart implementation couldn't handle > that. or let's say I was surprised it didn't catch that scenario and > throw at least some validation exception instead of running into > nullpointer. > > > -----Original Message----- > From: jch...@li... > [mailto:jch...@li...]On Behalf Of > Nathaniel G. Auvil > Sent: Freitag, 27. Februar 2004 01:29 > To: jch...@li... > Subject: Re: [jCharts-users] Problems (NullPointer or ArrayIndex) if > no data available for barchart > > > > If there is no data what do you expect to see in a chart? What would > be on the y-axis if there are no data elements? > > I would think your logic, would see there was no data, and stream a > placeholder image instead of the chart or a chart with a few zero > values and labels of empty Strings. > > > > > --- tam...@ub... wrote: > > hi all > > > > we are generating clusteredbarcharts based on the result of some > > database selects, so the data to display is not static. we have a > > problem if there is no data. I have tried different ways to tweak > > this issue, but always ran into troubles: > > > > I'm using jcharts 0.7.4 (the posted methods are the same in 0.7.5) > > > > - legendlabels and data array (double[][]) are null > > > > java.lang.NullPointerException > > at org.jCharts.chartData.AxisChartDataSet.getNumberOfDataSets(AxisChartDataSet. java:136) > > at > > org.jCharts.chartData.AxisDataSeries.addIAxisPlotDataSet(AxisDataSer > > ies.java:166) > > > > code which throws exception [AxisChartDataSet.getNumberOfDataSets]: > > public final int getNumberOfDataSets() > > { > > return this.data.length; > > } > > > > - legenlabels is null, data array is new double[0][0]; > > > > java.lang.ArrayIndexOutOfBoundsException: 0 > > at org.jCharts.chartData.DataSet.getNumberOfDataItems(DataSet.java:148) > > at > > org.jCharts.chartData.AxisDataSeries.addIAxisPlotDataSet(AxisDataSer > > ies.java:168) > > > > code which throws exception [DataSet.getNumberOfDataItems]: > > public int getNumberOfDataItems() > > { > > return this.data[ 0 ].length; > > } > > > > is there any reason, why null and/or length is not checked in those > > methods ?? > > > > is there any other way to get a empty chart, I do set > > setUserDefinedScale(0, 2) > > setNumItems(5) > > > > > > regards > > > > tamer > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and > > deploy apps & Web services for Linux with a free DVD software kit > > from IBM. Click Now! > > http://ads.osdn.com/?ad_id56&alloc_id438&op=click > > _______________________________________________ > > jCharts-users mailing list jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > __________________________________ > Do you Yahoo!? > Get better spam protection with Yahoo! Mail. > http://antispam.yahoo.com/tools > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and > deploy apps & Web services for Linux with a free DVD software kit from > IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and > deploy apps & Web services for Linux with a free DVD software kit from > IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.powel.no ********************************************************************** |
From: Nathaniel G. A. <nat...@ya...> - 2004-02-27 14:12:05
|
Well, i guess the decision was why would someone try to plot a null dataset? I am not sure this is something that happens very often so I would like to avoid the overhead and code of a validation. --- tam...@ub... wrote: > providing a placeholder image is exactly how we solved this issue. > > still I was wondering, whether the cart implementation couldn't handle that. or let's say I was > surprised it didn't catch that scenario and throw at least some validation exception instead of > running into nullpointer. > > > -----Original Message----- > From: jch...@li... > [mailto:jch...@li...]On Behalf Of Nathaniel > G. Auvil > Sent: Freitag, 27. Februar 2004 01:29 > To: jch...@li... > Subject: Re: [jCharts-users] Problems (NullPointer or ArrayIndex) if no > data available for barchart > > > > If there is no data what do you expect to see in a chart? What would be on the y-axis if there > are no data elements? > > I would think your logic, would see there was no data, and stream a placeholder image instead of > the chart or a chart with a few zero values and labels of empty Strings. > > > > > --- tam...@ub... wrote: > > hi all > > > > we are generating clusteredbarcharts based on the result of some database selects, so the data > > to display is not static. > > we have a problem if there is no data. I have tried different ways to tweak this issue, but > > always ran into troubles: > > > > I'm using jcharts 0.7.4 (the posted methods are the same in 0.7.5) > > > > - legendlabels and data array (double[][]) are null > > > > java.lang.NullPointerException > > at org.jCharts.chartData.AxisChartDataSet.getNumberOfDataSets(AxisChartDataSet.java:136) > > at org.jCharts.chartData.AxisDataSeries.addIAxisPlotDataSet(AxisDataSeries.java:166) > > > > code which throws exception [AxisChartDataSet.getNumberOfDataSets]: > > public final int getNumberOfDataSets() > > { > > return this.data.length; > > } > > > > - legenlabels is null, data array is new double[0][0]; > > > > java.lang.ArrayIndexOutOfBoundsException: 0 > > at org.jCharts.chartData.DataSet.getNumberOfDataItems(DataSet.java:148) > > at org.jCharts.chartData.AxisDataSeries.addIAxisPlotDataSet(AxisDataSeries.java:168) > > > > code which throws exception [DataSet.getNumberOfDataItems]: > > public int getNumberOfDataItems() > > { > > return this.data[ 0 ].length; > > } > > > > is there any reason, why null and/or length is not checked in those methods ?? > > > > is there any other way to get a empty chart, I do set > > setUserDefinedScale(0, 2) > > setNumItems(5) > > > > > > regards > > > > tamer > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id56&alloc_id438&op=click > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > __________________________________ > Do you Yahoo!? > Get better spam protection with Yahoo! Mail. > http://antispam.yahoo.com/tools > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id56&alloc_id438&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools |
From: <tam...@ub...> - 2004-02-27 07:43:15
|
providing a placeholder image is exactly how we solved this issue.=20 still I was wondering, whether the cart implementation couldn't handle = that. or let's say I was surprised it didn't catch that scenario and = throw at least some validation exception instead of running into = nullpointer. -----Original Message----- From: jch...@li... [mailto:jch...@li...]On Behalf Of Nathaniel G. Auvil Sent: Freitag, 27. Februar 2004 01:29 To: jch...@li... Subject: Re: [jCharts-users] Problems (NullPointer or ArrayIndex) if no data available for barchart If there is no data what do you expect to see in a chart? What would be = on the y-axis if there are no data elements? I would think your logic, would see there was no data, and stream a = placeholder image instead of the chart or a chart with a few zero values and labels of empty Strings. --- tam...@ub... wrote: > hi all >=20 > we are generating clusteredbarcharts based on the result of some = database selects, so the data > to display is not static. > we have a problem if there is no data. I have tried different ways to = tweak this issue, but > always ran into troubles: >=20 > I'm using jcharts 0.7.4 (the posted methods are the same in 0.7.5)=20 >=20 > - legendlabels and data array (double[][]) are null=20 >=20 > java.lang.NullPointerException > at = org.jCharts.chartData.AxisChartDataSet.getNumberOfDataSets(AxisChartDataS= et.java:136) > at = org.jCharts.chartData.AxisDataSeries.addIAxisPlotDataSet(AxisDataSeries.j= ava:166) >=20 > code which throws exception [AxisChartDataSet.getNumberOfDataSets]: > public final int getNumberOfDataSets() > { > return this.data.length; > } >=20 > - legenlabels is null, data array is new double[0][0]; >=20 > java.lang.ArrayIndexOutOfBoundsException: 0 > at = org.jCharts.chartData.DataSet.getNumberOfDataItems(DataSet.java:148) > at = org.jCharts.chartData.AxisDataSeries.addIAxisPlotDataSet(AxisDataSeries.j= ava:168) >=20 > code which throws exception [DataSet.getNumberOfDataItems]: > public int getNumberOfDataItems() > { > return this.data[ 0 ].length; > } >=20 > is there any reason, why null and/or length is not checked in those = methods ??=20 >=20 > is there any other way to get a empty chart, I do set=20 > setUserDefinedScale(0, 2) > setNumItems(5) >=20 >=20 > regards >=20 > tamer >=20 >=20 > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id438&op=3Dclick > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users |
From: Nathaniel G. A. <nat...@ya...> - 2004-02-27 00:45:20
|
sure, anything is possible since you have the source. Basically you would have to implement something like the code in the org.jCharts.axisChart.customRenderers package. These are implemented on a couple of the charts such as the bar charts. --- gi...@mo... wrote: > Hello all, > > I have a line chart. The X axis is the time. The Y axis contains the value > I want to display. > > I would like so show that during the period a given event happened, and > then disappeared > later. > > This could be done two ways: > 1) One vertical line with a given legend at the date it happened and > one vertical line with another > legend when the event finished > 2) During the period the event happened we could have a special > background color for the chart. > > Is it possible to implement one or both of these solutions? > > Many thanks > > Gilles > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools |
From: Nathaniel G. A. <nat...@ya...> - 2004-02-27 00:39:02
|
If there is no data what do you expect to see in a chart? What would be on the y-axis if there are no data elements? I would think your logic, would see there was no data, and stream a placeholder image instead of the chart or a chart with a few zero values and labels of empty Strings. --- tam...@ub... wrote: > hi all > > we are generating clusteredbarcharts based on the result of some database selects, so the data > to display is not static. > we have a problem if there is no data. I have tried different ways to tweak this issue, but > always ran into troubles: > > I'm using jcharts 0.7.4 (the posted methods are the same in 0.7.5) > > - legendlabels and data array (double[][]) are null > > java.lang.NullPointerException > at org.jCharts.chartData.AxisChartDataSet.getNumberOfDataSets(AxisChartDataSet.java:136) > at org.jCharts.chartData.AxisDataSeries.addIAxisPlotDataSet(AxisDataSeries.java:166) > > code which throws exception [AxisChartDataSet.getNumberOfDataSets]: > public final int getNumberOfDataSets() > { > return this.data.length; > } > > - legenlabels is null, data array is new double[0][0]; > > java.lang.ArrayIndexOutOfBoundsException: 0 > at org.jCharts.chartData.DataSet.getNumberOfDataItems(DataSet.java:148) > at org.jCharts.chartData.AxisDataSeries.addIAxisPlotDataSet(AxisDataSeries.java:168) > > code which throws exception [DataSet.getNumberOfDataItems]: > public int getNumberOfDataItems() > { > return this.data[ 0 ].length; > } > > is there any reason, why null and/or length is not checked in those methods ?? > > is there any other way to get a empty chart, I do set > setUserDefinedScale(0, 2) > setNumItems(5) > > > regards > > tamer > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id56&alloc_id438&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools |
From: <gi...@mo...> - 2004-02-26 10:42:43
|
Hello all, I have a line chart. The X axis is the time. The Y axis contains the value I want to display. I would like so show that during the period a given event happened, and then disappeared later. This could be done two ways: 1) One vertical line with a given legend at the date it happened and one vertical line with another legend when the event finished 2) During the period the event happened we could have a special background color for the chart. Is it possible to implement one or both of these solutions? Many thanks Gilles |
From: <tam...@ub...> - 2004-02-26 10:02:18
|
hi all we are generating clusteredbarcharts based on the result of some = database selects, so the data to display is not static. we have a problem if there is no data. I have tried different ways to = tweak this issue, but always ran into troubles: I'm using jcharts 0.7.4 (the posted methods are the same in 0.7.5)=20 - legendlabels and data array (double[][]) are null=20 java.lang.NullPointerException at = org.jCharts.chartData.AxisChartDataSet.getNumberOfDataSets(AxisChartDataS= et.java:136) at = org.jCharts.chartData.AxisDataSeries.addIAxisPlotDataSet(AxisDataSeries.j= ava:166) code which throws exception [AxisChartDataSet.getNumberOfDataSets]: public final int getNumberOfDataSets() { return this.data.length; } - legenlabels is null, data array is new double[0][0]; java.lang.ArrayIndexOutOfBoundsException: 0 at org.jCharts.chartData.DataSet.getNumberOfDataItems(DataSet.java:148) at = org.jCharts.chartData.AxisDataSeries.addIAxisPlotDataSet(AxisDataSeries.j= ava:168) code which throws exception [DataSet.getNumberOfDataItems]: public int getNumberOfDataItems() { return this.data[ 0 ].length; } is there any reason, why null and/or length is not checked in those = methods ??=20 is there any other way to get a empty chart, I do set=20 setUserDefinedScale(0, 2) setNumItems(5) regards tamer |
From: Darren H. <dha...@gh...> - 2004-02-09 20:57:07
|
I'm not subscribed to this list, but working on something similar. You = want to take a look at: http://jasperreports.sourceforge.net/api/dori/jasper/engine/JRAbstractScr= iptlet.html this.getFieldValue("fieldname") this.getParameterValue("parametername") this.getVariableValue("variablename") Also, in JasperReport there is a sample ChartScriplet that may help. =20 -D |
From: Nathaniel G. A. <nat...@ya...> - 2004-02-05 14:35:41
|
The rounding power of ten is an argument to the constructor for: ValueLabelRenderer --- Parul GOYAL <par...@st...> wrote: > Hello, > > I am making a bar chart, where my value labels are fractional numbers. i.e. > > 0,3.75,2.0,4.142857 > > But when the chart is displayed, the values are appearing as whole numbers... they appear as > 0,4,2,4 > > How can the actual fractional values be displayed on the bars ?? > > thanks, > Parul > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html |
From: Parul G. <par...@st...> - 2004-02-05 12:15:06
|
Hello, I am making a bar chart, where my value labels are fractional numbers. = i.e.=20 0,3.75,2.0,4.142857 But when the chart is displayed, the values are appearing as whole = numbers... they appear as 0,4,2,4 How can the actual fractional values be displayed on the bars ?? thanks, Parul |
From: Nathaniel G. A. <nat...@ya...> - 2004-02-03 13:44:00
|
So why not create multiple pie charts? --- xyz <sr...@re...> wrote: > hi, > I will try to explain.suppose I have 5 slices in the pie chart. > int i=4; > int j=5; > int k=6; > int h=9; > int l=10; > String[] labels= { "AA","BB","CC","DD","EE"}; > with this the usual pie chart is drawn but I want to display the totals of the slices of pie > chart in an outer Pie(a circle ouside the actual pie I have to draw) > here total=i+j+k > total2=h+l; > so on the outer pie I want to show the subset(totals) of i+j+k > and h+l.So here how can I draw the outer Pie to display the totals. > Thanks > > > I am not sure i understand what you want to do. It sounds like you want to drill into the > chart? > You use an image map for this. > > > --- Eyunni Srilatha <srile@re...> wrote: > > hi, > > I want to embed one PIE chart into another. > > The first chart has > > int i=4; > > int j=5; > > int k=6; > > int h=9; > > > > double[] data= {h,i,j,k}; > > String[] labels= { "AA","BB","CC","DD"}; > > Paint[] paints= { new Color(255,204,0),new Color(51,153,255),new Color(51,153,255),new > > Color(51,153,255)}; > > > > The second chart has: > > int m=i+j+k; > > double[] data= {h,m}; > > String[] labels= { "Total of AA","Total of BB CC DD"}; > > Paint[] paints= { new Color(255,204,0),new Color(51,153,255)}; > > > > the second chart should show me the subset of the first charts data. > > the inner Pie chart should show the normal data and the outer PIE chart should show the > totals > > of the inner chart. > > can anyone help me in doing this > > Thaks > > > > > > > > > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ |
From: xyz <sr...@re...> - 2004-02-03 09:45:56
|
hi,=0AI will try to explain.suppose I have 5 slices in the pie chart. =0Ain= t i=3D4;=0Aint j=3D5;=0Aint k=3D6;=0Aint h=3D9;=0Aint l=3D10;=0AString[] la= bels=3D { "AA","BB","CC","DD","EE"}; =0Awith this the usual pie cha= rt is drawn but I want to display the totals of the slices of pie chart in = an outer Pie(a circle ouside the actual pie I have to draw)=0Ahere total=3D= i+j+k =0Atotal2=3Dh+l;=0Aso on the outer pie I want to show the subset(tota= ls) of i+j+k=0Aand h+l.So here how can I draw the outer Pie to display the = totals.=0AThanks=0A=0A=0AI am not sure i understand what you want to do. I= t sounds like you want to drill into the=0Achart? =0A You use an image map = for this.=0A =0A =0A --- Eyunni Srilatha <srile@re...> wrote:=0A > hi,=0A >= I want to embed one PIE chart into another.=0A > The first chart has =0A >= int i=3D4;=0A > int j=3D5;=0A > int k=3D6;=0A > int h=3D9;=0A > =0A > doub= le[] data=3D {h,i,j,k};=0A > String[] labels=3D { "AA","BB","CC","DD"}; = =0A > Paint[] paints=3D { new Color(255,204,0),new Color(51,153,255),n= ew Color(51,153,255),new=0A > Color(51,153,255)};=0A > =0A > The second cha= rt has:=0A > int m=3Di+j+k;=0A > double[] data=3D {h,m};=0A > String[] labe= ls=3D { "Total of AA","Total of BB CC DD"}; =0A > Paint[] paints=3D= { new Color(255,204,0),new Color(51,153,255)};=0A > =0A > the second chart= should show me the subset of the first charts data.=0A > the inner Pie cha= rt should show the normal data and the outer PIE chart should show the=0Ato= tals=0A > of the inner chart.=0A > can anyone help me in doing this=0A > T= haks=0A > =0A > =0A > =0A=0A=0A |
From: Nathaniel G. A. <nat...@ya...> - 2004-02-02 18:53:46
|
I am not sure i understand what you want to do. It sounds like you want to drill into the chart? You use an image map for this. --- Eyunni Srilatha <sr...@re...> wrote: > hi, > I want to embed one PIE chart into another. > The first chart has > int i=4; > int j=5; > int k=6; > int h=9; > > double[] data= {h,i,j,k}; > String[] labels= { "AA","BB","CC","DD"}; > Paint[] paints= { new Color(255,204,0),new Color(51,153,255),new Color(51,153,255),new > Color(51,153,255)}; > > The second chart has: > int m=i+j+k; > double[] data= {h,m}; > String[] labels= { "Total of AA","Total of BB CC DD"}; > Paint[] paints= { new Color(255,204,0),new Color(51,153,255)}; > > the second chart should show me the subset of the first charts data. > the inner Pie chart should show the normal data and the outer PIE chart should show the totals > of the inner chart. > can anyone help me in doing this > Thaks > > > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ |
From: Eyunni S. <sr...@re...> - 2004-02-02 06:24:44
|
hi,=0AI want to embed one PIE chart into another.=0AThe first chart has =0A= int i=3D4;=0Aint j=3D5;=0Aint k=3D6;=0Aint h=3D9;=0A=0Adouble[] data=3D {h,= i,j,k};=0AString[] labels=3D { "AA","BB","CC","DD"}; =0APaint[] pai= nts=3D { new Color(255,204,0),new Color(51,153,255),new Color(51,153,255),n= ew Color(51,153,255)};=0A=0AThe second chart has:=0Aint m=3Di+j+k;=0Adouble= [] data=3D {h,m};=0AString[] labels=3D { "Total of AA","Total of BB CC DD"}= ; =0APaint[] paints=3D { new Color(255,204,0),new Color(51,153,255)= };=0A=0Athe second chart should show me the subset of the first charts data= .=0Athe inner Pie chart should show the normal data and the outer PIE chart= should show the totals of the inner chart.=0Acan anyone help me in doing = this=0AThaks=0A=0A=0A |
From: Nathaniel G. A. <nat...@ya...> - 2004-01-23 13:46:59
|
There is not .gif support although I do recall hearing about a .gif class library somewhere. Just watch out for licensing issues with the compression method. Sure, you can implement your own encoder class that does whatever you want. --- Gabriel Mihalache <gab...@ge...> wrote: > Is there any way to export GIFs? > Is there any way to control the PNG type exported (number of bits)? My > charts would be fine as 8 bits PNG. Is that possible? > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ |
From: Gabriel M. <gab...@ge...> - 2004-01-23 06:37:27
|
Is there any way to export GIFs? Is there any way to control the PNG type exported (number of bits)? My charts would be fine as 8 bits PNG. Is that possible? |