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...> - 2003-12-11 23:00:05
|
what is your rounding factor set to? --- "Campano, Troy" <Tro...@Li...> wrote: > I was able to find out my problem, however this is my new problem. > My Y-Axis is incrementing by 100. My highest data element only goes to > 24. > So I tried: > > try > { > dataAxisProperties.setUserDefinedScale( 0, 50 ); > } > catch( PropertyException propertyException ) > { > propertyException.printStackTrace(); > } > > But It still goes 0, 100, 200, 300, 400. > When I remove the code, it still does the same thing. > > Any Ideas? > > Thank you, once again. > > > > > Troy Campano > > > -----Original Message----- > From: Nathaniel G. Auvil [mailto:nat...@ya...] > Sent: Thursday, December 11, 2003 3:31 PM > To: Campano, Troy > Cc: jCharts - Users > Subject: Re: FW: Problem generating Bar Charts from Database > > > I don't think your code is correct. Are you sure you want > 'amount_of_rows' for each dimension of > the data array? > > > > > > --- "Campano, Troy" <Tro...@Li...> wrote: > > Is this the correct mailing list? > > > > When I send to it I never get an email from the list? > > > > > > > > Thank you! > > > > > > > > Troy Campano > > > > > > > > -----Original Message----- > > From: Campano, Troy > > Sent: Thursday, December 11, 2003 2:46 PM > > To: 'jch...@li...' > > Subject: Problem generating Bar Charts from Database > > > > > > > > Hello, > > > > I'm trying to generate a bar graph from a database. > > > > I define my labels and data like this: > > > > > > > > String[] xAxisLabels = new > String[amount_of_rows]; > > > > double[][] data = new > > double[amount_of_rows][amount_of_rows]; > > > > > > > > > > > > ...and I scroll through my JDBC ResultSet like this: > > > > > > > > xAxisLabels[i] = > > rs.getString("engine_vrsn_nme").toLowerCase(); > > > > data[i][i] = > > rs.getDouble("version_count"); > > > > > > > > > > > > ...but I get this error: > > > > org.jCharts.chartData.ChartDataException: There is not an one to one > > mapping of 'legend labels' to 'data sets'. > > > > > > > > > > > > > > > > > > > > > > > > Any ideas? > > > > > > > > Thank you! > > > > > > > > Troy Campano > > > > > > > > > > > > > > > __________________________________ > Do you Yahoo!? > New Yahoo! Photos - easier uploading and sharing. > http://photos.yahoo.com/ __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ |
From: Campano, T. <Tro...@Li...> - 2003-12-11 20:55:31
|
I was able to find out my problem, however this is my new problem. My Y-Axis is incrementing by 100. My highest data element only goes to 24. So I tried: try { dataAxisProperties.setUserDefinedScale( 0, 50 ); } catch( PropertyException propertyException ) { propertyException.printStackTrace(); } But It still goes 0, 100, 200, 300, 400. When I remove the code, it still does the same thing. Any Ideas? Thank you, once again. Troy Campano -----Original Message----- From: Nathaniel G. Auvil [mailto:nat...@ya...]=20 Sent: Thursday, December 11, 2003 3:31 PM To: Campano, Troy Cc: jCharts - Users Subject: Re: FW: Problem generating Bar Charts from Database I don't think your code is correct. Are you sure you want 'amount_of_rows' for each dimension of the data array? --- "Campano, Troy" <Tro...@Li...> wrote: > Is this the correct mailing list? >=20 > When I send to it I never get an email from the list? >=20 > =20 >=20 > Thank you! >=20 > =20 >=20 > Troy Campano=20 > =20 > =20 >=20 > -----Original Message----- > From: Campano, Troy=20 > Sent: Thursday, December 11, 2003 2:46 PM > To: 'jch...@li...' > Subject: Problem generating Bar Charts from Database >=20 > =20 >=20 > Hello,=20 >=20 > I'm trying to generate a bar graph from a database. >=20 > I define my labels and data like this: >=20 > =20 >=20 > String[] xAxisLabels =3D new String[amount_of_rows]; >=20 > double[][] data =3D new > double[amount_of_rows][amount_of_rows]; >=20 > =20 >=20 > =20 >=20 > ...and I scroll through my JDBC ResultSet like this: >=20 > =20 >=20 > xAxisLabels[i] =3D > rs.getString("engine_vrsn_nme").toLowerCase(); >=20 > data[i][i] =3D > rs.getDouble("version_count"); >=20 > =20 >=20 > =20 >=20 > ...but I get this error: >=20 > org.jCharts.chartData.ChartDataException: There is not an one to one > mapping of 'legend labels' to 'data sets'. >=20 > =20 >=20 > =20 >=20 > =20 >=20 > =20 >=20 > =20 >=20 > Any ideas? >=20 > =20 >=20 > Thank you! >=20 > =20 >=20 > Troy Campano >=20 > =20 >=20 > =20 >=20 >=20 __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ |
From: Nathaniel G. A. <nat...@ya...> - 2003-12-11 20:49:14
|
I don't think your code is correct. Are you sure you want 'amount_of_rows' for each dimension of the data array? --- "Campano, Troy" <Tro...@Li...> wrote: > Is this the correct mailing list? > > When I send to it I never get an email from the list? > > > > Thank you! > > > > Troy Campano > > > > -----Original Message----- > From: Campano, Troy > Sent: Thursday, December 11, 2003 2:46 PM > To: 'jch...@li...' > Subject: Problem generating Bar Charts from Database > > > > Hello, > > I'm trying to generate a bar graph from a database. > > I define my labels and data like this: > > > > String[] xAxisLabels = new String[amount_of_rows]; > > double[][] data = new > double[amount_of_rows][amount_of_rows]; > > > > > > ...and I scroll through my JDBC ResultSet like this: > > > > xAxisLabels[i] = > rs.getString("engine_vrsn_nme").toLowerCase(); > > data[i][i] = > rs.getDouble("version_count"); > > > > > > ...but I get this error: > > org.jCharts.chartData.ChartDataException: There is not an one to one > mapping of 'legend labels' to 'data sets'. > > > > > > > > > > > > Any ideas? > > > > Thank you! > > > > Troy Campano > > > > > > __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ |
From: Campano, T. <Tro...@Li...> - 2003-12-11 19:49:52
|
Hello,=20 I'm trying to generate a bar graph from a database. I define my labels and data like this: =20 String[] xAxisLabels =3D new = String[amount_of_rows]; double[][] data =3D new double[amount_of_rows][amount_of_rows]; =20 =20 ...and I scroll through my JDBC ResultSet like this: =20 xAxisLabels[i] =3D rs.getString("engine_vrsn_nme").toLowerCase(); data[i][i] =3D rs.getDouble("version_count"); =20 =20 ...but I get this error: org.jCharts.chartData.ChartDataException: There is not an one to one mapping of 'legend labels' to 'data sets'. =20 =20 =20 =20 =20 Any ideas? =20 Thank you! =20 Troy Campano =20 =20 |
From: Joerg P. <jo...@pl...> - 2003-12-08 15:54:40
|
Hello Nathaniel, Nathaniel G. Auvil schrieb: > The main User Guide on the site is for what is currently in CVS under the krysalis-jcharts tree. > This ability is not available in 0.7.5 unless you want to change the source which is very simple. > > simply search for the following String in the source: RenderingHints.KEY_ANTIALIASING Thanks for the response. I think in that case I prefer waiting for the next official release. I don't want to create my own private branch of jCharts, just want to use it. :) Best regards, Jörg |
From: Nathaniel G. A. <nat...@ya...> - 2003-12-08 15:06:46
|
The main User Guide on the site is for what is currently in CVS under the krysalis-jcharts tree. This ability is not available in 0.7.5 unless you want to change the source which is very simple. simply search for the following String in the source: RenderingHints.KEY_ANTIALIASING --- Joerg Pleumann <jo...@pl...> wrote: > Hello, > > I am using jCharts 0.75. The user manual on the web page tells me > anti-aliasing can be turned off, but doesn't say exactly how. Is there > anybody on the list who can point me into the right direction? > > Best regards, > > Jörg > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ |
From: Joerg P. <jo...@pl...> - 2003-12-08 14:00:24
|
Hello, I am using jCharts 0.75. The user manual on the web page tells me anti-aliasing can be turned off, but doesn't say exactly how. Is there anybody on the list who can point me into the right direction? Best regards, Jörg |
From: Ducret, G. (MSCI) <Gil...@ms...> - 2003-12-08 09:52:10
|
I will try this, =20 System.setProperty("java.awt.headless", "true"); =20 This should solve the problem -----Original Message----- From: Ducret, Gilles (MSCI)=20 Sent: Monday, December 08, 2003 9:17 AM To: jch...@li... Subject: [jCharts-users] X11 Server =09 =09 Hello all, =20 I have written some code to display charts on a web page. Everything works fine in my development environement. I have then deployed this on my web site. I receive the following error: =20 java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:126) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnviron ment.java:62) at java.awt.Font.initializeFont(Font.java:310) at java.awt.Font.(Font.java:346) at org.jCharts.properties.util.ChartFont.(Unknown Source) at org.jCharts.properties.PieChart2DProperties.(Unknown Source) at com.training.ui.GraphGenerator.generatePieByeSportByNbSeance(GraphGenera tor =20 I have sent this information to my host provider and they asked me if jchart uses some third-parties font. =20 If yes could you tell me which ones so that we can add it, or do you thing the problem comes from something else. =20 Many thanks =20 Gilles _____ =20 NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.=20 -------------------------------------------------------- =20 NOTICE: If received in error, please destroy and notify sender. Sender = does not waive confidentiality or privilege, and use is prohibited.=20 =20 |
From: Ducret, G. (MSCI) <Gil...@ms...> - 2003-12-08 08:16:45
|
Hello all, =20 I have written some code to display charts on a web page. Everything works fine in my development environement. I have then deployed this on my web site. I receive the following error: =20 java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable. at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:126) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnviron ment.java:62) at java.awt.Font.initializeFont(Font.java:310) at java.awt.Font.(Font.java:346) at org.jCharts.properties.util.ChartFont.(Unknown Source) at org.jCharts.properties.PieChart2DProperties.(Unknown Source) at com.training.ui.GraphGenerator.generatePieByeSportByNbSeance(GraphGenera tor =20 I have sent this information to my host provider and they asked me if jchart uses some third-parties font. =20 If yes could you tell me which ones so that we can add it, or do you thing the problem comes from something else. =20 Many thanks =20 Gilles=20 -------------------------------------------------------- =20 NOTICE: If received in error, please destroy and notify sender. Sender = does not waive confidentiality or privilege, and use is prohibited.=20 =20 |
From: Nathaniel G. A. <nat...@ya...> - 2003-12-07 14:24:56
|
set the rounding to the nearest 0'th power on the ValueLabelRenderer Constructor. --- Parul GOYAL <par...@st...> wrote: > Could u tell me how to display Value labels as simple integers, i.e. without the decimal point. > By default, it shows all the labels as decimal numbers. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ |
From: Nathaniel G. A. <nat...@ya...> - 2003-12-07 14:18:02
|
No, this was good. I checked it into the current tree and am in the process of updating the site. Thanks. --- Christian Petersen <chr...@ip...> wrote: > Here goes - let me know if you would prefer the entire file (I just thought > I would spare the rest of the list :-) ). > > Source file: ClusteredBarChart.java > > Line 377: barChartProperties.firePostRender( axisValueRenderEvent ); > > I just moved this line up and inside the nearest closing bracket. > > Last but not least - great product. Really Great. Keep up the good work - > and please let me know if you need help. > > > Regards > Christian Petersen > Copenhagen, Denmark > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ |
From: Christian P. <chr...@ip...> - 2003-12-07 10:46:56
|
Here goes - let me know if you would prefer the entire file (I just thought I would spare the rest of the list :-) ). Source file: ClusteredBarChart.java Line 377: barChartProperties.firePostRender( axisValueRenderEvent ); I just moved this line up and inside the nearest closing bracket. Last but not least - great product. Really Great. Keep up the good work - and please let me know if you need help. Regards Christian Petersen Copenhagen, Denmark |
From: Nathaniel G. A. <nat...@ya...> - 2003-12-06 15:41:23
|
Wow. Yes this is a bug; good find. Can you post your fix, and I will include it in the source? --- Christian Petersen <chr...@ip...> wrote: > I see your problem, and in fact I have had it as well. It seems to me that > there is a minor bug which causes the values to be rendered on top of the > last one but only when the value is 0.0. I have fixed this by changing the > source to only render values larger than 0.0. (Very easy - I just moved one > line inside an already present if). If you want I can email you either the > altered source file, or the recompiled jchart jar. > > Regards > Christian Petersen > > -----Original Message----- > From: jch...@li... > [mailto:jch...@li...] On Behalf Of Parul GOYAL > Sent: 6. december 2003 08:47 > To: jch...@li... > Cc: chr...@ip... > Subject: RE: [jCharts-users] How to show Value labels, with clustered Bar > charts > > Hello, > > Thanks for the code snippet. > I tried it, but it gives wrong labels. In fact it looks like all the labels > in one cluster are being overwritten on top of each other, instead of being > shown seperately, on each bar. > > Please suggest whats wrong. > > Thank you > > -----Original Message----- > From: jch...@li... > [mailto:jch...@li...] On Behalf Of Christian > Petersen > Sent: Friday, December 05, 2003 3:08 PM > To: jch...@li... > Subject: RE: [jCharts-users] How to show Value labels, with clustered Bar > charts > > > The following code snippet will do the trick: > > ValueLabelRenderer valueLabelRenderer=new > ValueLabelRenderer(false,false,true, -1 ); > valueLabelRenderer.setValueChartFont(chFont); //ChartFont chFont > valueLabelRenderer.setValueLabelPosition( ValueLabelPosition.ON_TOP); > valueLabelRenderer.setPixelValuePadding(paddingHeight); > valueLabelRenderer.useVerticalLabels(true); > clusteredBarChartProperties.addPostRenderEventListener(valueLabelRenderer); > > > Regards > Christian Petersen > > -----Original Message----- > From: jch...@li... > [mailto:jch...@li...] On Behalf Of Parul GOYAL > Sent: 5. december 2003 05:37 > To: jCh...@li... > Subject: [jCharts-users] How to show Value labels, with clustered Bar charts > > Hi, > > I have made a clustered bar chart using JCharts. Now I want Value Labels to > appear at the top of EACH bar of every cluster. > If I use the sample code(for Value Labels), that is given in examples, it > works fine with simple Bar chart, but doesn't work with Clustered bar chart. > > Can somebody help, please ? > > Thanks > Parul > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=ick > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=ick > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=ick > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ |
From: Parul G. <par...@st...> - 2003-12-06 09:58:31
|
Please send me the altered source file thanks parul -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of = Christian Petersen Sent: Saturday, December 06, 2003 1:58 PM To: jch...@li... Subject: RE: [jCharts-users] How to show Value labels, with clustered = Bar charts I see your problem, and in fact I have had it as well. It seems to me = that there is a minor bug which causes the values to be rendered on top of = the last one but only when the value is 0.0. I have fixed this by changing = the source to only render values larger than 0.0. (Very easy - I just moved = one line inside an already present if). If you want I can email you either = the altered source file, or the recompiled jchart jar.=20 Regards Christian Petersen -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of Parul = GOYAL Sent: 6. december 2003 08:47 To: jch...@li... Cc: chr...@ip... Subject: RE: [jCharts-users] How to show Value labels, with clustered = Bar charts Hello, Thanks for the code snippet.=20 I tried it, but it gives wrong labels. In fact it looks like all the = labels in one cluster are being overwritten on top of each other, instead of = being shown seperately, on each bar.=20 Please suggest whats wrong. Thank you -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of = Christian Petersen Sent: Friday, December 05, 2003 3:08 PM To: jch...@li... Subject: RE: [jCharts-users] How to show Value labels, with clustered = Bar charts The following code snippet will do the trick: ValueLabelRenderer valueLabelRenderer=3Dnew ValueLabelRenderer(false,false,true, -1 ); valueLabelRenderer.setValueChartFont(chFont); //ChartFont chFont valueLabelRenderer.setValueLabelPosition( ValueLabelPosition.ON_TOP); valueLabelRenderer.setPixelValuePadding(paddingHeight); valueLabelRenderer.useVerticalLabels(true); clusteredBarChartProperties.addPostRenderEventListener(valueLabelRenderer= ); Regards Christian Petersen -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of Parul = GOYAL Sent: 5. december 2003 05:37 To: jCh...@li... Subject: [jCharts-users] How to show Value labels, with clustered Bar = charts Hi, I have made a clustered bar chart using JCharts. Now I want Value Labels = to appear at the top of EACH bar of every cluster.=20 If I use the sample code(for Value Labels), that is given in examples, = it works fine with simple Bar chart, but doesn't work with Clustered bar = chart. Can somebody help, please ? Thanks Parul ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users |
From: Parul G. <par...@st...> - 2003-12-06 08:56:14
|
Could u tell me how to display Value labels as simple integers, i.e. = without the decimal point.=20 By default, it shows all the labels as decimal numbers. |
From: Parul G. <par...@st...> - 2003-12-06 08:49:18
|
Hi Christian, It would be great if you could send both the the altered source file and = the recompiled jar. Thanks Parul -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of = Christian Petersen Sent: Saturday, December 06, 2003 1:58 PM To: jch...@li... Subject: RE: [jCharts-users] How to show Value labels, with clustered = Bar charts I see your problem, and in fact I have had it as well. It seems to me = that there is a minor bug which causes the values to be rendered on top of = the last one but only when the value is 0.0. I have fixed this by changing = the source to only render values larger than 0.0. (Very easy - I just moved = one line inside an already present if). If you want I can email you either = the altered source file, or the recompiled jchart jar.=20 Regards Christian Petersen -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of Parul = GOYAL Sent: 6. december 2003 08:47 To: jch...@li... Cc: chr...@ip... Subject: RE: [jCharts-users] How to show Value labels, with clustered = Bar charts Hello, Thanks for the code snippet.=20 I tried it, but it gives wrong labels. In fact it looks like all the = labels in one cluster are being overwritten on top of each other, instead of = being shown seperately, on each bar.=20 Please suggest whats wrong. Thank you -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of = Christian Petersen Sent: Friday, December 05, 2003 3:08 PM To: jch...@li... Subject: RE: [jCharts-users] How to show Value labels, with clustered = Bar charts The following code snippet will do the trick: ValueLabelRenderer valueLabelRenderer=3Dnew ValueLabelRenderer(false,false,true, -1 ); valueLabelRenderer.setValueChartFont(chFont); //ChartFont chFont valueLabelRenderer.setValueLabelPosition( ValueLabelPosition.ON_TOP); valueLabelRenderer.setPixelValuePadding(paddingHeight); valueLabelRenderer.useVerticalLabels(true); clusteredBarChartProperties.addPostRenderEventListener(valueLabelRenderer= ); Regards Christian Petersen -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of Parul = GOYAL Sent: 5. december 2003 05:37 To: jCh...@li... Subject: [jCharts-users] How to show Value labels, with clustered Bar = charts Hi, I have made a clustered bar chart using JCharts. Now I want Value Labels = to appear at the top of EACH bar of every cluster.=20 If I use the sample code(for Value Labels), that is given in examples, = it works fine with simple Bar chart, but doesn't work with Clustered bar = chart. Can somebody help, please ? Thanks Parul ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users |
From: Christian P. <chr...@ip...> - 2003-12-06 08:27:50
|
I see your problem, and in fact I have had it as well. It seems to me = that there is a minor bug which causes the values to be rendered on top of = the last one but only when the value is 0.0. I have fixed this by changing = the source to only render values larger than 0.0. (Very easy - I just moved = one line inside an already present if). If you want I can email you either = the altered source file, or the recompiled jchart jar.=20 Regards Christian Petersen -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of Parul = GOYAL Sent: 6. december 2003 08:47 To: jch...@li... Cc: chr...@ip... Subject: RE: [jCharts-users] How to show Value labels, with clustered = Bar charts Hello, Thanks for the code snippet.=20 I tried it, but it gives wrong labels. In fact it looks like all the = labels in one cluster are being overwritten on top of each other, instead of = being shown seperately, on each bar.=20 Please suggest whats wrong. Thank you -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of = Christian Petersen Sent: Friday, December 05, 2003 3:08 PM To: jch...@li... Subject: RE: [jCharts-users] How to show Value labels, with clustered = Bar charts The following code snippet will do the trick: ValueLabelRenderer valueLabelRenderer=3Dnew ValueLabelRenderer(false,false,true, -1 ); valueLabelRenderer.setValueChartFont(chFont); //ChartFont chFont valueLabelRenderer.setValueLabelPosition( ValueLabelPosition.ON_TOP); valueLabelRenderer.setPixelValuePadding(paddingHeight); valueLabelRenderer.useVerticalLabels(true); clusteredBarChartProperties.addPostRenderEventListener(valueLabelRenderer= ); Regards Christian Petersen -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of Parul = GOYAL Sent: 5. december 2003 05:37 To: jCh...@li... Subject: [jCharts-users] How to show Value labels, with clustered Bar = charts Hi, I have made a clustered bar chart using JCharts. Now I want Value Labels = to appear at the top of EACH bar of every cluster.=20 If I use the sample code(for Value Labels), that is given in examples, = it works fine with simple Bar chart, but doesn't work with Clustered bar = chart. Can somebody help, please ? Thanks Parul ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users |
From: Parul G. <par...@st...> - 2003-12-06 07:47:41
|
Hello, Thanks for the code snippet.=20 I tried it, but it gives wrong labels. In fact it looks like all the = labels in one cluster are being overwritten on top of each other, instead of = being shown seperately, on each bar.=20 Please suggest whats wrong. Thank you -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of = Christian Petersen Sent: Friday, December 05, 2003 3:08 PM To: jch...@li... Subject: RE: [jCharts-users] How to show Value labels, with clustered = Bar charts The following code snippet will do the trick: ValueLabelRenderer valueLabelRenderer=3Dnew ValueLabelRenderer(false,false,true, -1 ); valueLabelRenderer.setValueChartFont(chFont); //ChartFont chFont valueLabelRenderer.setValueLabelPosition( ValueLabelPosition.ON_TOP); valueLabelRenderer.setPixelValuePadding(paddingHeight); valueLabelRenderer.useVerticalLabels(true); clusteredBarChartProperties.addPostRenderEventListener(valueLabelRenderer= ); Regards Christian Petersen -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of Parul = GOYAL Sent: 5. december 2003 05:37 To: jCh...@li... Subject: [jCharts-users] How to show Value labels, with clustered Bar = charts Hi, I have made a clustered bar chart using JCharts. Now I want Value Labels = to appear at the top of EACH bar of every cluster.=20 If I use the sample code(for Value Labels), that is given in examples, = it works fine with simple Bar chart, but doesn't work with Clustered bar = chart. Can somebody help, please ? Thanks Parul ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users |
From: Christian P. <chr...@ip...> - 2003-12-05 10:12:04
|
The following code snippet will do the trick: ValueLabelRenderer valueLabelRenderer=3Dnew ValueLabelRenderer(false,false,true, -1 ); valueLabelRenderer.setValueChartFont(chFont); //ChartFont chFont valueLabelRenderer.setValueLabelPosition( ValueLabelPosition.ON_TOP); valueLabelRenderer.setPixelValuePadding(paddingHeight); valueLabelRenderer.useVerticalLabels(true); clusteredBarChartProperties.addPostRenderEventListener(valueLabelRenderer= ); Regards Christian Petersen -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of Parul = GOYAL Sent: 5. december 2003 05:37 To: jCh...@li... Subject: [jCharts-users] How to show Value labels, with clustered Bar = charts Hi, I have made a clustered bar chart using JCharts. Now I want Value Labels = to appear at the top of EACH bar of every cluster.=20 If I use the sample code(for Value Labels), that is given in examples, = it works fine with simple Bar chart, but doesn't work with Clustered bar = chart. Can somebody help, please ? Thanks Parul ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for = IBM's Free Linux Tutorials. Learn everything from the bash shell to sys = admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=3Dick _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users |
From: Parul G. <par...@st...> - 2003-12-05 04:37:51
|
Hi, I have made a clustered bar chart using JCharts. Now I want Value Labels = to appear at the top of EACH bar of every cluster.=20 If I use the sample code(for Value Labels), that is given in examples, = it works fine with simple Bar chart, but doesn't work with Clustered bar = chart. Can somebody help, please ? Thanks Parul |
From: Parul G. <par...@st...> - 2003-12-05 04:30:08
|
Hi, I have made a clustered bar chart using JCharts. Now I want Value Labels = to appear at the top of EACH bar of every cluster.=20 If I use the sample code(for Value Labels), that is given in examples, = it works fine with simple Bar chart, but doesn't work with Clustered bar = chart. Can somebody help, please ? Thanks Parul |
From: Nathaniel G. A. <nat...@ya...> - 2003-12-04 19:03:55
|
hi Carlos. You should just use one AxisChartDataSet with a multi-dimensional array holding all the data for each line. --- Carlos D Bermudez <cdb...@us...> wrote: > I have various data sets that use the same scale so i would like to create > one graph that has mulitple lines (each line representing system usage as > a function of time). The closest example I have seen is the > ComboChartServlet, except that I would like to have multiple line graphs > rather than a line and bar graph. Perhaps there is another graph type > that better suits my needs? I also have a working servlet modeled after > the ScatterPlotServlet example but I likewise can't find a way to get it > to display multiple lines. > > > i think the relevant code is the following few lines where I create the > dataSeries, add the two datasets to it and create the chart. Perhaps > noteworthy is that all the parameters i'm using for the > addIAxisPlotDataSet method are the same except for the data portion, as I > will work on creating appropriate legends and colors later. > > IAxisDataSeries dataSeries = new DataSeries( xAxisLabels, xAxisTitle, yAxisTitle, title ); > > dataSeries.addIAxisPlotDataSet( new AxisChartDataSet( data, legendLabels, linePaints, > ChartType.LINE, this.lineChartProperties ) ); > > dataSeries.addIAxisPlotDataSet( new AxisChartDataSet( data2, legendLabels, linePaints, > ChartType.LINE, this.lineChartProperties ) ); > > AxisChart axisChart = new AxisChart( dataSeries, this.chartProperties, this.axisProperties, > this.legendProperties, this.width, this.height ); > > ServletEncoderHelper.encodeJPEG13( axisChart, 1.0f, resp ); > > This results in just displaying the results for the last data set. > > Any help would be greatly appreciated. > > thanks, > > Carlos Bermudez > Rochester, Minnesota > email: cdb...@us... > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ |
From: Carlos D B. <cdb...@us...> - 2003-12-04 18:55:36
|
I have various data sets that use the same scale so i would like to create one graph that has mulitple lines (each line representing system usage as a function of time). The closest example I have seen is the ComboChartServlet, except that I would like to have multiple line graphs rather than a line and bar graph. Perhaps there is another graph type that better suits my needs? I also have a working servlet modeled after the ScatterPlotServlet example but I likewise can't find a way to get it to display multiple lines. i think the relevant code is the following few lines where I create the dataSeries, add the two datasets to it and create the chart. Perhaps noteworthy is that all the parameters i'm using for the addIAxisPlotDataSet method are the same except for the data portion, as I will work on creating appropriate legends and colors later. IAxisDataSeries dataSeries = new DataSeries( xAxisLabels, xAxisTitle, yAxisTitle, title ); dataSeries.addIAxisPlotDataSet( new AxisChartDataSet( data, legendLabels, linePaints, ChartType.LINE, this.lineChartProperties ) ); dataSeries.addIAxisPlotDataSet( new AxisChartDataSet( data2, legendLabels, linePaints, ChartType.LINE, this.lineChartProperties ) ); AxisChart axisChart = new AxisChart( dataSeries, this.chartProperties, this.axisProperties, this.legendProperties, this.width, this.height ); ServletEncoderHelper.encodeJPEG13( axisChart, 1.0f, resp ); This results in just displaying the results for the last data set. Any help would be greatly appreciated. thanks, Carlos Bermudez Rochester, Minnesota email: cdb...@us... |
From: Ducret, G. (MSCI) <Gil...@ms...> - 2003-12-04 14:20:57
|
Yes why not. Or something like: I the legend name already exist with the same color, when do not display It. Regards Gilles -----Original Message----- From: Nathaniel G. Auvil [mailto:nat...@ya...]=20 Sent: Thursday, December 04, 2003 3:17 PM To: jch...@li... Subject: Re: [jCharts-users] Multiple legends No this is not possible. So what you would like would be to set a flag on each dataset which indicates whether it is displayed on the legend? --- "Ducret, Gilles (MSCI)" <Gil...@ms...> wrote: > Hello, > =20 > I have a combo box containing: > =20 > - stacked bars > - lines > =20 > The lines represent the total for each of the items contained in the=20 > stacked bar The X axis contains dates > =20 > ex: the stacked bar contains X, Y, Z at dates d1, d2, d3. > The lines describes the sum of: > - X at d1, d2, d3 > - Y at d1, d2, d3 > - Z at d1, d2, d3 > =20 > So, the legends for the stacked bars and for the lines are the same. > =20 > My problems is as I had two datasets, with the same legend, the legend > appears twice. > =20 > Is there a way to avoid that? > =20 > Many thanks > =20 > Gilles > -------------------------------------------------------- > =20 > NOTICE: If received in error, please destroy and notify sender. =20 > Sender does not waive confidentiality or privilege, and use is=20 > prohibited. > =20 >=20 __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could win a $250 Gift Certificate. http://www.wrgsurveys.com/2003/osdntech03.php?site=3D8 _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users=20 -------------------------------------------------------- =20 NOTICE: If received in error, please destroy and notify sender. Sender = does not waive confidentiality or privilege, and use is prohibited.=20 =20 |
From: Nathaniel G. A. <nat...@ya...> - 2003-12-04 14:16:39
|
No this is not possible. So what you would like would be to set a flag on each dataset which indicates whether it is displayed on the legend? --- "Ducret, Gilles (MSCI)" <Gil...@ms...> wrote: > Hello, > > I have a combo box containing: > > - stacked bars > - lines > > The lines represent the total for each of the items contained in the > stacked bar > The X axis contains dates > > ex: the stacked bar contains X, Y, Z at dates d1, d2, d3. > The lines describes the sum of: > - X at d1, d2, d3 > - Y at d1, d2, d3 > - Z at d1, d2, d3 > > So, the legends for the stacked bars and for the lines are the same. > > My problems is as I had two datasets, with the same legend, the legend > appears twice. > > Is there a way to avoid that? > > Many thanks > > Gilles > -------------------------------------------------------- > > NOTICE: If received in error, please destroy and notify sender. Sender does not waive > confidentiality or privilege, and use is prohibited. > > __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ |