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: Travis R. <tr...@gm...> - 2004-12-31 19:05:31
|
I would like to make a bar chart with 4 bars that is more for seeing the trend than the actual values so I don't want them to be drawn based on the same y-axis values. For example: A - 0-1000 B - 0-10 So if a B value were 90, I would like it to show as if it were 900 compared to A. Possible? |
From: Jiang, X. <jon...@pi...> - 2004-12-23 17:22:50
|
Where can I find a sample of dual Y axis? Thanks, Jon -----Original Message----- From: jch...@li... [mailto:jch...@li...]On Behalf Of jch...@li... Sent: Wednesday, December 22, 2004 8:14 PM To: jch...@li... Subject: jCharts-users digest, Vol 1 #288 - 1 msg Send jCharts-users mailing list submissions to jch...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/jcharts-users or, via email, send a message with subject or body 'help' to jch...@li... You can reach the person managing the list at jch...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of jCharts-users digest..." Today's Topics: 1. RE: jCharts-users digest, Vol 1 #286 - 1 msg (kar...@bt...) --__--__-- Message: 1 Date: Wed, 22 Dec 2004 10:12:54 -0000 From: <kar...@bt...> To: <jch...@li...> Subject: [jCharts-users] RE: jCharts-users digest, Vol 1 #286 - 1 msg Reply-To: jch...@li... It supports dual Y axis for sure .....am not sure if more than that...... Karan Oberai =3D20 BT Westside | Apsley | Hemel Hempstead Tel: +44 20 7322 4877 -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of jch...@li... Sent: 22 December 2004 04:15 To: jch...@li... Subject: jCharts-users digest, Vol 1 #287 - 1 msg Send jCharts-users mailing list submissions to jch...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/jcharts-users or, via email, send a message with subject or body 'help' to jch...@li... You can reach the person managing the list at jch...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of jCharts-users digest..." Today's Topics: 1. RE: jCharts-users digest, Vol 1 #286 - 1 msg (Jiang, Xihua) -- __--__--=20 Message: 1 Date: Tue, 21 Dec 2004 13:50:17 -0800 From: "Jiang, Xihua" <jon...@pi...> To: <jch...@li...> Subject: [jCharts-users] RE: jCharts-users digest, Vol 1 #286 - 1 msg Reply-To: jch...@li... Does jcharts support multiple Y axes in one chart? Thanks, Jon -----Original Message----- From: jch...@li... [mailto:jch...@li...]On Behalf Of jch...@li... Sent: Sunday, December 19, 2004 8:18 PM To: jch...@li... Subject: jCharts-users digest, Vol 1 #286 - 1 msg Send jCharts-users mailing list submissions to jch...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/jcharts-users or, via email, send a message with subject or body 'help' to jch...@li... You can reach the person managing the list at jch...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of jCharts-users digest..." Today's Topics: 1. Are dynamic update to swing panel possible? (int_80h .) -- __--__-- =3D20 Message: 1 From: "int_80h ." <in...@ho...> To: jch...@li... Date: Sun, 19 Dec 2004 23:29:24 +0000 Subject: [jCharts-users] Are dynamic update to swing panel possible? Reply-To: jch...@li... I am trying to create a bar chart that is updated at a specified interval. =3D3D S o maybe 10 bars with their values changing with an = =3D event and repainted. =3D3D W hat would be the best way to go about doing = this? Does jCharts lend itsel=3D3D f=3D3D20 well to this dynamic updating? If = so, would you mind pointing me in the=3D3D20 right direction or posting some sample code. Thanks, int -- __--__-- =3D20 _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users End of jCharts-users Digest This message contains confidential information and is intended only for the=3D3D individual named. If you are not the named addressee, you = should not disse=3D3D minate, distribute, alter or copy this e-mail. Please =3D notify the sender imm=3D3D ediately by e-mail if you have received this e-mail = by mistake and delete t=3D3D his e-mail from your system. E-mail =3D transmissions cannot be guaranteed to b=3D3D e secure or without error as information could be intercepted, corrupted, l=3D3D ost, destroyed, arrive late or incomplete, or=3D3D20 contain viruses. The sender, therefore, does not accept liability for any e=3D3D rrors or omissions in the contents of = this message which arise during or as=3D3D a result of e-mail transmission. = If verification is required, please reque=3D3D st a hard-copy version. This message is provided for information purposes a=3D3D nd should not be construed as a solicitation or offer to buy or sell any se=3D3D curities = =3D or related financial instruments in any jurisdiction. -- __--__--=20 _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users End of jCharts-users Digest --__--__-- _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users End of jCharts-users Digest |
From: <kar...@bt...> - 2004-12-22 10:11:48
|
It supports dual Y axis for sure .....am not sure if more than that...... Karan Oberai =20 BT Westside | Apsley | Hemel Hempstead Tel: +44 20 7322 4877 -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of jch...@li... Sent: 22 December 2004 04:15 To: jch...@li... Subject: jCharts-users digest, Vol 1 #287 - 1 msg Send jCharts-users mailing list submissions to jch...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/jcharts-users or, via email, send a message with subject or body 'help' to jch...@li... You can reach the person managing the list at jch...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of jCharts-users digest..." Today's Topics: 1. RE: jCharts-users digest, Vol 1 #286 - 1 msg (Jiang, Xihua) --__--__-- Message: 1 Date: Tue, 21 Dec 2004 13:50:17 -0800 From: "Jiang, Xihua" <jon...@pi...> To: <jch...@li...> Subject: [jCharts-users] RE: jCharts-users digest, Vol 1 #286 - 1 msg Reply-To: jch...@li... Does jcharts support multiple Y axes in one chart? Thanks, Jon -----Original Message----- From: jch...@li... [mailto:jch...@li...]On Behalf Of jch...@li... Sent: Sunday, December 19, 2004 8:18 PM To: jch...@li... Subject: jCharts-users digest, Vol 1 #286 - 1 msg Send jCharts-users mailing list submissions to jch...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/jcharts-users or, via email, send a message with subject or body 'help' to jch...@li... You can reach the person managing the list at jch...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of jCharts-users digest..." Today's Topics: 1. Are dynamic update to swing panel possible? (int_80h .) -- __--__--=20 Message: 1 From: "int_80h ." <in...@ho...> To: jch...@li... Date: Sun, 19 Dec 2004 23:29:24 +0000 Subject: [jCharts-users] Are dynamic update to swing panel possible? Reply-To: jch...@li... I am trying to create a bar chart that is updated at a specified interval. =3D S o maybe 10 bars with their values changing with an = event and repainted. =3D W hat would be the best way to go about doing this? Does jCharts lend itsel=3D f=3D20 well to this dynamic updating? If so, would you mind pointing me in the=3D20 right direction or posting some sample code. Thanks, int -- __--__--=20 _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users End of jCharts-users Digest This message contains confidential information and is intended only for the=3D individual named. If you are not the named addressee, you should not disse=3D minate, distribute, alter or copy this e-mail. Please = notify the sender imm=3D ediately by e-mail if you have received this e-mail by mistake and delete t=3D his e-mail from your system. E-mail = transmissions cannot be guaranteed to b=3D e secure or without error as information could be intercepted, corrupted, l=3D ost, destroyed, arrive late or incomplete, or=3D20 contain viruses. The sender, therefore, does not accept liability for any e=3D rrors or omissions in the contents of this message which arise during or as=3D a result of e-mail transmission. If verification is required, please reque=3D st a hard-copy version. This message is provided for information purposes a=3D nd should not be construed as a solicitation or offer to buy or sell any se=3D curities = or related financial instruments in any jurisdiction. --__--__-- _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users End of jCharts-users Digest |
From: Jiang, X. <jon...@pi...> - 2004-12-21 21:50:26
|
Does jcharts support multiple Y axes in one chart? Thanks, Jon -----Original Message----- From: jch...@li... [mailto:jch...@li...]On Behalf Of jch...@li... Sent: Sunday, December 19, 2004 8:18 PM To: jch...@li... Subject: jCharts-users digest, Vol 1 #286 - 1 msg Send jCharts-users mailing list submissions to jch...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/jcharts-users or, via email, send a message with subject or body 'help' to jch...@li... You can reach the person managing the list at jch...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of jCharts-users digest..." Today's Topics: 1. Are dynamic update to swing panel possible? (int_80h .) --__--__-- Message: 1 From: "int_80h ." <in...@ho...> To: jch...@li... Date: Sun, 19 Dec 2004 23:29:24 +0000 Subject: [jCharts-users] Are dynamic update to swing panel possible? Reply-To: jch...@li... I am trying to create a bar chart that is updated at a specified interval. = S o maybe 10 bars with their values changing with an event and repainted. = W hat would be the best way to go about doing this? Does jCharts lend itsel= f=20 well to this dynamic updating? If so, would you mind pointing me in the=20 right direction or posting some sample code. Thanks, int --__--__-- _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users End of jCharts-users Digest This message contains confidential information and is intended only for the= individual named. If you are not the named addressee, you should not disse= minate, distribute, alter or copy this e-mail. Please notify the sender imm= ediately by e-mail if you have received this e-mail by mistake and delete t= his e-mail from your system. E-mail transmissions cannot be guaranteed to b= e secure or without error as information could be intercepted, corrupted, l= ost, destroyed, arrive late or incomplete, or=20 contain viruses. The sender, therefore, does not accept liability for any e= rrors or omissions in the contents of this message which arise during or as= a result of e-mail transmission. If verification is required, please reque= st a hard-copy version. This message is provided for information purposes a= nd should not be construed as a solicitation or offer to buy or sell any se= curities or related financial instruments in any jurisdiction. |
From: int_80h . <in...@ho...> - 2004-12-19 23:31:16
|
I am trying to create a bar chart that is updated at a specified interval. So maybe 10 bars with their values changing with an event and repainted. What would be the best way to go about doing this? Does jCharts lend itself well to this dynamic updating? If so, would you mind pointing me in the right direction or posting some sample code. Thanks, int |
From: Travis R. <tr...@gm...> - 2004-12-18 00:21:05
|
The image maps on pie charts don't seem to work very well. Is this a known issue? |
From: Chris W. <cw...@go...> - 2004-12-08 19:28:46
|
Ok, I guess I get to answer my own question. You add data to a ScatterPlotDataSet. I finally figured out that the createScatterPlotDataSet method in the ScatterPlotTestDriver was not really set up to create multiple datasets. This change to that method will create random data for any numberOfDataSets. private ScatterPlotDataSet createScatterPlotDataSet( int numberOfDataSets, int numberOfValuesToCreate, int xMinValue, int xMaxValue, int yMinValue, int yMaxValue ) throws ChartDataException { ScatterPlotDataSet scatterPlotDataSet= new ScatterPlotDataSet( this.getScatterPlotProperties( numberOfDataSets ) ); Point2D.Double[] points; for( int i=0; i < numberOfDataSets; i++ ) { points= TestDataGenerator.getRandomPoints( numberOfValuesToCreate, xMinValue, xMaxValue, yMinValue, yMaxValue ); Paint paint = TestDataGenerator.getRandomPaint(); String[] legendLabels = TestDataGenerator.getRandomStrings( 1, 12, false ); scatterPlotDataSet.addDataPoints( points, paint, legendLabels[ 0 ] ); } return scatterPlotDataSet; } On Wednesday 08 December 2004 10:08 am, Chris Ward wrote: > What is the difference between a ScatterPlotDataSet, and a > ScatterPlotDataSeries. The ScatterPlotDataSet appears to have the methods > to add multiple lines to it I think. > > The ScatterPlotTestDriver creates one line with a ScatterPlotDataSet, then > creates a ScatterPlotDataSeries with that DataSet and the labels. If I want > multiple plotted lines, which class do I add the data for the line to? > > scatterPlotDataSet.addDataPoints( points, paint, legendLabel ); ? > scatterPlotDataSeries.addIAxisPlotDataSet( iScatterPlotDataSet ); ? > > chris |
From: Chris W. <cw...@go...> - 2004-12-08 16:08:02
|
What is the difference between a ScatterPlotDataSet, and a ScatterPlotDataSeries. The ScatterPlotDataSet appears to have the methods to add multiple lines to it I think. The ScatterPlotTestDriver creates one line with a ScatterPlotDataSet, then creates a ScatterPlotDataSeries with that DataSet and the labels. If I want multiple plotted lines, which class do I add the data for the line to? scatterPlotDataSet.addDataPoints( points, paint, legendLabel ); ? scatterPlotDataSeries.addIAxisPlotDataSet( iScatterPlotDataSet ); ? chris On Sunday 14 November 2004 07:41 am, Nathaniel G. Auvil wrote: > you need to use a ScatterPlotDataSet not an AxisChartDataSet |
From: Zelgadis <zel...@ya...> - 2004-12-03 09:57:34
|
I'm using jChart 0.7.5 and I've a problem with combo charts. If use a point chart with a legend I receive an index out of bounds exception. This is my code: public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { try { String[] xAxisLabels= { "1998", "1999", "2000", "2001", "2002", "2003", "2004" }; String xAxisTitle= null; String yAxisTitle= null; String title= null; DataSeries dataSeries = new DataSeries( xAxisLabels, xAxisTitle, yAxisTitle, title ); double[][] data1 = {{1,2,3,4,5,6,7}}; String[] legendLabels= {"test_area"}; Paint[] paints= { Color.blue}; AreaChartProperties areaChartProperties= new AreaChartProperties(); AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data1, legendLabels, paints, ChartType.AREA, areaChartProperties ); dataSeries.addIAxisPlotDataSet( axisChartDataSet ); double[][] data2 = {{1,2,3,4,5,6,7}}; legendLabels = new String[]{"test_point"}; paints = new Paint[]{ Color.red }; Shape[] shapes= { PointChartProperties.SHAPE_CIRCLE }; boolean[] fillPointFlags = {true}; PointChartProperties pointChartProperties= new PointChartProperties(shapes, fillPointFlags, paints); axisChartDataSet = new AxisChartDataSet( data2, legendLabels, paints, ChartType.POINT, pointChartProperties ); dataSeries.addIAxisPlotDataSet( axisChartDataSet ); ChartProperties chartProperties = new ChartProperties(); AxisProperties axisProperties = new AxisProperties(); LegendProperties legendProperties = new LegendProperties(); AxisChart axisChart= new AxisChart( dataSeries, chartProperties, axisProperties, legendProperties, 500, 360 ); ServletEncoderHelper.encodeJPEG13(axisChart, 1.0f, response); } catch (Throwable throwable) { throwable.getMessage(); throwable.printStackTrace(); } } When I encode I receive: java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 I have this problem only when I use a point chart. If I use a LineChart instead of point chart the code works well I think there is a problem with the legend, in fact if I use: LegendProperties legendProperties = null; instead of LegendProperties legendProperties = new LegendProperties(); the code works well Is it a bug or am I wrong? Can someone help me? Thank you. ___________________________________ Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica Scaricalo ora! http://it.messenger.yahoo.it |
From: Hassan, C. <Car...@aq...> - 2004-11-30 20:17:20
|
Hi, Is there a way to use a different color for each bar and reuse the same set of the bars for all the bar charts? For instance, first bar is blue, second bar is red, third bar is green for all the bar charts. Thanks, Carina |
From: Hassan, C. <Car...@aq...> - 2004-11-30 20:07:43
|
Hi, I wanted to create a bar chart without any legend but I got an index out of bound exception. To feed in the dataset the following code was used: dataset.addIAxisPlotDataSet( new AxisChartDataSet( data, null, paints, ChartType.BAR, barChartProperties ) ); Other code used was the same as the example. Anyone has any idea why the exception was thrown? Thanks, Carina java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:507) at java.util.ArrayList.get(ArrayList.java:324) at org.jCharts.Legend.render(Unknown Source) at org.jCharts.axisChart.AxisChart.renderChart(Unknown Source) at org.jCharts.Chart.render(Unknown Source) at org.jCharts.encoders.BinaryEncoderUtil.render(Unknown Source) at org.jCharts.encoders.JPEGEncoder13.encode(Unknown Source) at org.jCharts.encoders.ServletEncoderHelper.encodeJPEG13(Unknown Source) at gov.nih.nlm.sis.chart.BarChart.renderChart(BarChart.java:115) at gov.nih.nlm.sis.chart.servlet.ChartServlet.service(ChartServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica tionFilterChain.java:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt erChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv e.java:214) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardCon textValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv e.java:152) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java :137) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:104) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :118) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:102) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. java:109) at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveCo ntext.java:104) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:5 20) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java: 675) at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool .java:683) at java.lang.Thread.run(Thread.java:534) |
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 > |
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-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: 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: <kar...@bt...> - 2004-11-18 11:45:42
|
Hi Nathaniel , Thanks for your reply Did you mean adding multiple dimensions like this.... double[][] lineData =3D {d1,d2,d3}; ....blah blah axisChartDataSet =3D new AxisChartDataSet(lineData, lineLegendLabels, linePaints, ChartType.LINE, lineChartProperties); dataSeries.addIAxisPlotDataSet(axisChartDataSet); but the problem here is=20 1. The length of dataseries d2 and d3 may not be same 2. also they may represent diff times on the x axis , This is because they r transactions which occur sequentially And I don't want to insert a NAN value for all the missing values because that would put gaps in the lines of the line chart=20 Eg.. there is no value for point 4 on the x axis for D3 but there is one for point 5 which is just after 43 seconds . So they fit into the overchart but are a subset of the same X axis Y axis Time D1 D2 D3 1. 2004-11-15 23:15:00.343 33 =09 2. 2004-11-15 23:15:42.047 44 3. 2004-11-15 23:17:03.250 14=09 4. 2004-11-15 23:45:00.360 44 55 5. 2004-11-15 23:45:43.267 19=09 6. 2004-11-15 23:47:05.377 =09 7. 2004-11-16 00:15:00.343 55=09 8. 2004-11-16 00:15:43.563 22 9. 2004-11-16 00:17:06.077 22=09 10. 2004-11-16 00:45:00.360 66 11 Karan Oberai =20 BT Westside | Apsley | Hemel Hempstead Tel: +44 20 7322 4877 -----Original Message----- From: jch...@li... [mailto:jch...@li...] On Behalf Of jch...@li... Sent: 18 November 2004 04:16 To: jch...@li... Subject: jCharts-users digest, Vol 1 #279 - 2 msgs Send jCharts-users mailing list submissions to jch...@li... To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/jcharts-users or, via email, send a message with subject or body 'help' to jch...@li... You can reach the person managing the list at jch...@li... When replying, please edit your Subject line so it is more specific than "Re: Contents of jCharts-users digest..." Today's Topics: 1. Re: X Axis Label Question (Nathaniel G. Auvil) 2. Re: FW: Jcharts issue with multiple series in line charts (Nathaniel G. Auvil) --__--__-- Message: 1 Date: Wed, 17 Nov 2004 17:37:18 -0800 (PST) From: "Nathaniel G. Auvil" <nat...@ya...> Subject: Re: [jCharts-users] X Axis Label Question To: jch...@li... Reply-To: jch...@li... no. You could jsut pass empty Strings for the other labels --- Saminathan Palanivel <sa...@no...> wrote: > Hi, > String[] xAxisLabels =3D {"1995",=20 > "1996", "1997", "1998", "1999",=20 > "2000", "2001", "2002", "2003", "2004"}; >=20 > double[][] data =3D new double[][]{{1500, 6880, 4510, 2600,=20 > 1200, 1580, 8000, 4555, 4000, 6120}}; >=20 > I can use setNumItems method to limit the number labels in the Y-axis > For example, I want to display only 1996 and 1997 in x-axis. How can I > do that in X-axis? >=20 > Thank you very much. >=20 >=20 =09 __________________________________=20 Do you Yahoo!?=20 The all-new My Yahoo! - Get yours free!=20 http://my.yahoo.com=20 =20 --__--__-- Message: 2 Date: Wed, 17 Nov 2004 17:39:25 -0800 (PST) From: "Nathaniel G. Auvil" <nat...@ya...> Subject: Re: [jCharts-users] FW: Jcharts issue with multiple series in line charts To: jch...@li... Reply-To: jch...@li... just add multiple dimesntions to the line data in the AxisChartDataSet --- kar...@bt... wrote: > Hello All, >=20 > Please may I have you assistance with creating multiple series on the=20 > same Line chart? >=20 > I am returning data from a db with the following columns >=20 > Starttime(x axis) ,transaction Name , transaction id , elapsed time(y > axis) >=20 > 2004-11-15 23:15:00.343 OrderStage1 4 > 29.235000 > 2004-11-15 23:15:42.047 OrderStage2 (PPSR) 9 68.797000 > 2004-11-15 23:17:03.250 OrderStage3 3 > 25.265000 > 2004-11-15 23:45:00.360 OrderStage1 4 > 30.469000 > 2004-11-15 23:45:43.267 OrderStage2 (PPSR) 9 69.703000 > 2004-11-15 23:47:05.377 OrderStage3 3 > 28.500000 > 2004-11-16 00:15:00.343 OrderStage1 4 > 30.703000 > 2004-11-16 00:15:43.563 OrderStage2 (PPSR) 9 70.078000 > 2004-11-16 00:17:06.077 OrderStage3 3 > 30.875000 > 2004-11-16 00:45:00.360 OrderStage1 4 > 30.781000 > 2004-11-16 00:45:43.577 OrderStage2 (PPSR) 9 69.734000 > 2004-11-16 00:47:05.670 OrderStage3 3 > 28.391000 > 2004-11-16 01:15:00.343 OrderStage1 4 > 32.891000 >=20 >=20 > In this case I have three transaction id's 3, 4 and 9. > For each of these I am creating a line series where the x axis is the=20 > starttime and the y axis is the elapsed time. >=20 > The issue I have is each transaction id has a different data series > Eg Trans Id 4 has 5 plots, Trans Id 3 has 4 plots > Is there any way in Jcharts that I can plot multiple series in a line > chart=20 >=20 > Any ideas how I can get round this? > I need to able to display multiple lines on the time x axis and your=20 > help would be greatly appreciated >=20 >=20 > Thanks >=20 >=20 >=20 >=20 > Karan Oberai > BT Westside | Apsley | Hemel Hempstead > Tel: +44 20 7322 4877 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: InterSystems CACHE > FREE OODBMS DOWNLOAD - A multidimensional database that combines=20 > robust object and relational technologies, making it a perfect match=20 > for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8=20 > _______________________________________________ > jCharts-users mailing list jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users >=20 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around=20 http://mail.yahoo.com=20 --__--__-- _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users End of jCharts-users Digest |
From: Nathaniel G. A. <nat...@ya...> - 2004-11-18 01:39:32
|
just add multiple dimesntions to the line data in the AxisChartDataSet --- kar...@bt... wrote: > Hello All, > > Please may I have you assistance with creating multiple series on the > same Line chart? > > I am returning data from a db with the following columns > > Starttime(x axis) ,transaction Name , transaction id , elapsed time(y > axis) > > 2004-11-15 23:15:00.343 OrderStage1 4 > 29.235000 > 2004-11-15 23:15:42.047 OrderStage2 (PPSR) 9 68.797000 > 2004-11-15 23:17:03.250 OrderStage3 3 > 25.265000 > 2004-11-15 23:45:00.360 OrderStage1 4 > 30.469000 > 2004-11-15 23:45:43.267 OrderStage2 (PPSR) 9 69.703000 > 2004-11-15 23:47:05.377 OrderStage3 3 > 28.500000 > 2004-11-16 00:15:00.343 OrderStage1 4 > 30.703000 > 2004-11-16 00:15:43.563 OrderStage2 (PPSR) 9 70.078000 > 2004-11-16 00:17:06.077 OrderStage3 3 > 30.875000 > 2004-11-16 00:45:00.360 OrderStage1 4 > 30.781000 > 2004-11-16 00:45:43.577 OrderStage2 (PPSR) 9 69.734000 > 2004-11-16 00:47:05.670 OrderStage3 3 > 28.391000 > 2004-11-16 01:15:00.343 OrderStage1 4 > 32.891000 > > > In this case I have three transaction id's 3, 4 and 9. > For each of these I am creating a line series where the x axis is the > starttime and the y axis is the elapsed time. > > The issue I have is each transaction id has a different data series > Eg Trans Id 4 has 5 plots, Trans Id 3 has 4 plots > Is there any way in Jcharts that I can plot multiple series in a line > chart > > Any ideas how I can get round this? > I need to able to display multiple lines on the time x axis and your > help would be greatly appreciated > > > Thanks > > > > > Karan Oberai > BT Westside | Apsley | Hemel Hempstead > Tel: +44 20 7322 4877 > > > > > ------------------------------------------------------- > 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!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Nathaniel G. A. <nat...@ya...> - 2004-11-18 01:37:26
|
no. You could jsut pass empty Strings for the other labels --- Saminathan Palanivel <sa...@no...> wrote: > Hi, > String[] xAxisLabels = {"1995", > "1996", "1997", "1998", "1999", > "2000", "2001", "2002", "2003", "2004"}; > > double[][] data = new double[][]{{1500, 6880, 4510, 2600, > 1200, 1580, 8000, 4555, 4000, 6120}}; > > I can use setNumItems method to limit the number labels in the Y-axis > For example, I want to display only 1996 and 1997 in x-axis. How can I do > that in X-axis? > > Thank you very much. > > __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com |
From: Saminathan P. <sa...@no...> - 2004-11-16 21:43:05
|
Hi, String[] xAxisLabels = {"1995", "1996", "1997", "1998", "1999", "2000", "2001", "2002", "2003", "2004"}; double[][] data = new double[][]{{1500, 6880, 4510, 2600, 1200, 1580, 8000, 4555, 4000, 6120}}; I can use setNumItems method to limit the number labels in the Y-axis For example, I want to display only 1996 and 1997 in x-axis. How can I do that in X-axis? Thank you very much. |
From: <kar...@bt...> - 2004-11-16 13:00:45
|
Can we use two Data Axis on a Line Chart Karan Oberai =20 BT Westside | Apsley | Hemel Hempstead Tel: +44 20 7322 4877 -----Original Message----- From: Oberai,K,Karan,XJH3C C=20 Sent: 16 November 2004 11:15 To: 'jch...@li...' Subject: Jcharts issue with multiple series in line charts Hello All, Please may I have you assistance with creating multiple series on the same Line chart?=20 I am returning data from a db with the following columns Starttime(x axis) ,transaction Name , transaction id , elapsed time(y axis) 2004-11-15 23:15:00.343 OrderStage1 4 29.235000 2004-11-15 23:15:42.047 OrderStage2 (PPSR) 9 68.797000 2004-11-15 23:17:03.250 OrderStage3 3 25.265000 2004-11-15 23:45:00.360 OrderStage1 4 30.469000 2004-11-15 23:45:43.267 OrderStage2 (PPSR) 9 69.703000 2004-11-15 23:47:05.377 OrderStage3 3 28.500000 2004-11-16 00:15:00.343 OrderStage1 4 30.703000 2004-11-16 00:15:43.563 OrderStage2 (PPSR) 9 70.078000 2004-11-16 00:17:06.077 OrderStage3 3 30.875000 2004-11-16 00:45:00.360 OrderStage1 4 30.781000 2004-11-16 00:45:43.577 OrderStage2 (PPSR) 9 69.734000 2004-11-16 00:47:05.670 OrderStage3 3 28.391000 2004-11-16 01:15:00.343 OrderStage1 4 32.891000 In this case I have three transaction id's 3, 4 and 9. For each of these I am creating a line series where the x axis is the starttime and the y axis is the elapsed time.=20 The issue I have is each transaction id has a different data series=20 Eg Trans Id 4 has 5 plots, Trans Id 3 has 4 plots Is there any way in Jcharts that I can plot multiple series in a line chart=20 Any ideas how I can get round this? I need to able to display multiple lines on the time x axis and your help would be greatly appreciated Thanks Karan Oberai =20 BT Westside | Apsley | Hemel Hempstead Tel: +44 20 7322 4877 |
From: <kar...@bt...> - 2004-11-16 13:00:27
|
Hello All, Please may I have you assistance with creating multiple series on the same Line chart?=20 I am returning data from a db with the following columns Starttime(x axis) ,transaction Name , transaction id , elapsed time(y axis) 2004-11-15 23:15:00.343 OrderStage1 4 29.235000 2004-11-15 23:15:42.047 OrderStage2 (PPSR) 9 68.797000 2004-11-15 23:17:03.250 OrderStage3 3 25.265000 2004-11-15 23:45:00.360 OrderStage1 4 30.469000 2004-11-15 23:45:43.267 OrderStage2 (PPSR) 9 69.703000 2004-11-15 23:47:05.377 OrderStage3 3 28.500000 2004-11-16 00:15:00.343 OrderStage1 4 30.703000 2004-11-16 00:15:43.563 OrderStage2 (PPSR) 9 70.078000 2004-11-16 00:17:06.077 OrderStage3 3 30.875000 2004-11-16 00:45:00.360 OrderStage1 4 30.781000 2004-11-16 00:45:43.577 OrderStage2 (PPSR) 9 69.734000 2004-11-16 00:47:05.670 OrderStage3 3 28.391000 2004-11-16 01:15:00.343 OrderStage1 4 32.891000 In this case I have three transaction id's 3, 4 and 9. For each of these I am creating a line series where the x axis is the starttime and the y axis is the elapsed time.=20 The issue I have is each transaction id has a different data series=20 Eg Trans Id 4 has 5 plots, Trans Id 3 has 4 plots Is there any way in Jcharts that I can plot multiple series in a line chart=20 Any ideas how I can get round this? I need to able to display multiple lines on the time x axis and your help would be greatly appreciated Thanks Karan Oberai =20 BT Westside | Apsley | Hemel Hempstead Tel: +44 20 7322 4877 |
From: <kar...@bt...> - 2004-11-16 12:12:35
|
Can we use two Data Axis on a Line Chart Karan Oberai =20 BT Westside | Apsley | Hemel Hempstead Tel: +44 20 7322 4877 -----Original Message----- From: Oberai,K,Karan,XJH3C C=20 Sent: 16 November 2004 11:15 To: 'jch...@li...' Subject: Jcharts issue with multiple series in line charts Hello All, Please may I have you assistance with creating multiple series on the same Line chart?=20 I am returning data from a db with the following columns Starttime(x axis) ,transaction Name , transaction id , elapsed time(y axis) 2004-11-15 23:15:00.343 OrderStage1 4 29.235000 2004-11-15 23:15:42.047 OrderStage2 (PPSR) 9 68.797000 2004-11-15 23:17:03.250 OrderStage3 3 25.265000 2004-11-15 23:45:00.360 OrderStage1 4 30.469000 2004-11-15 23:45:43.267 OrderStage2 (PPSR) 9 69.703000 2004-11-15 23:47:05.377 OrderStage3 3 28.500000 2004-11-16 00:15:00.343 OrderStage1 4 30.703000 2004-11-16 00:15:43.563 OrderStage2 (PPSR) 9 70.078000 2004-11-16 00:17:06.077 OrderStage3 3 30.875000 2004-11-16 00:45:00.360 OrderStage1 4 30.781000 2004-11-16 00:45:43.577 OrderStage2 (PPSR) 9 69.734000 2004-11-16 00:47:05.670 OrderStage3 3 28.391000 2004-11-16 01:15:00.343 OrderStage1 4 32.891000 In this case I have three transaction id's 3, 4 and 9. For each of these I am creating a line series where the x axis is the starttime and the y axis is the elapsed time.=20 The issue I have is each transaction id has a different data series=20 Eg Trans Id 4 has 5 plots, Trans Id 3 has 4 plots Is there any way in Jcharts that I can plot multiple series in a line chart=20 Any ideas how I can get round this? I need to able to display multiple lines on the time x axis and your help would be greatly appreciated Thanks Karan Oberai =20 BT Westside | Apsley | Hemel Hempstead Tel: +44 20 7322 4877 |
From: <kar...@bt...> - 2004-11-16 11:14:06
|
Hello All, Please may I have you assistance with creating multiple series on the same Line chart?=20 I am returning data from a db with the following columns Starttime(x axis) ,transaction Name , transaction id , elapsed time(y axis) 2004-11-15 23:15:00.343 OrderStage1 4 29.235000 2004-11-15 23:15:42.047 OrderStage2 (PPSR) 9 68.797000 2004-11-15 23:17:03.250 OrderStage3 3 25.265000 2004-11-15 23:45:00.360 OrderStage1 4 30.469000 2004-11-15 23:45:43.267 OrderStage2 (PPSR) 9 69.703000 2004-11-15 23:47:05.377 OrderStage3 3 28.500000 2004-11-16 00:15:00.343 OrderStage1 4 30.703000 2004-11-16 00:15:43.563 OrderStage2 (PPSR) 9 70.078000 2004-11-16 00:17:06.077 OrderStage3 3 30.875000 2004-11-16 00:45:00.360 OrderStage1 4 30.781000 2004-11-16 00:45:43.577 OrderStage2 (PPSR) 9 69.734000 2004-11-16 00:47:05.670 OrderStage3 3 28.391000 2004-11-16 01:15:00.343 OrderStage1 4 32.891000 In this case I have three transaction id's 3, 4 and 9. For each of these I am creating a line series where the x axis is the starttime and the y axis is the elapsed time.=20 The issue I have is each transaction id has a different data series=20 Eg Trans Id 4 has 5 plots, Trans Id 3 has 4 plots Is there any way in Jcharts that I can plot multiple series in a line chart=20 Any ideas how I can get round this? I need to able to display multiple lines on the time x axis and your help would be greatly appreciated Thanks Karan Oberai =20 BT Westside | Apsley | Hemel Hempstead Tel: +44 20 7322 4877 |
From: Liu, L. \(Exchange\) <LL...@Be...> - 2004-11-15 15:23:37
|
Hi, Nathaniel: I have a JFrame which holds several JPanels. One of these JPanels holds another JPanel (variable name jPanel_Graph) and this one displays my axisChart. I used the following code to show the chart and now wondering what is the right way to repaint the graph.=20 ... axisChart.setGraphics2D((Graphics2D)jPanel_Graph.getGraphics()); axisChart.render(); ... In order to ensure that the chart is repainted when it was hidden or resized, I overrode the JFrame (the top parent)'s paint() method as follows: Public void paint(Graphics graphics){ Super.paint(graphics); try{ =20 axisChart.setGraphics2D((Graphics2D)jPanel_Graph.getGraphics()); axisChart.render(); } ... } The above code works for purpose of repainting the graph but when other controls on frame needs repainting (such as combobox selection change), the chart was redrawn too unnecessarily. And this made the graph redraw itself so often and caused visual discomfort.=20 My question is: for a chart that renders itself on a JPanel which is part of JFrame, how to make sure that the chart is repainted only when needed? Can you suggest another way ? Thanks, Louis *********************************************************************** Bear Stearns is not responsible for any recommendation, solicitation, offer or agreement or any information about any transaction, customer account or account activity contained in this communication. *********************************************************************** |
From: Nathaniel G. A. <nat...@ya...> - 2004-11-14 13:43:04
|
I believe this is a bug in the JDK. There was discussion on this list a while back about it. Search and you will find it. A bug was logged with Sun about it. --- Nicolas Rossi <nr...@ce...> wrote: --------------------------------- Hello I'm working with ScatterPlotChart and It works fine, but in my log Isee this exception every time that it is rendered. sun.dc.pr.PRException: endPath: bad path at sun.dc.pr.Rasterizer.endPath(Rasterizer.java:537) atsun.java2d.pipe.DuctusRenderer.createShapeRasterizer(DuctusRenderer.java:374) atsun.java2d.pipe.DuctusShapeRenderer.renderPath(DuctusShapeRenderer.java:57) atsun.java2d.pipe.DuctusShapeRenderer.draw(DuctusShapeRenderer.java:45) at sun.java2d.SunGraphics2D.draw(SunGraphics2D.java:2128) atorg.jCharts.axisChart.ScatterPlotChart.render(ScatterPlotChart.java:185) at org.jCharts.axisChart.ScatterPlotAxisChart.overlayCharts(UnknownSource) at org.jCharts.axisChart.AxisChart.renderChart(Unknown Source) at org.jCharts.Chart.render(Unknown Source) at org.jCharts.encoders.BinaryEncoderUtil.render(Unknown Source) at org.jCharts.encoders.JPEGEncoder13.encode(Unknown Source) at org.jCharts.encoders.ServletEncoderHelper.encodeJPEG13(UnknownSource) Is it normal? How can I catch this exception? Thanks ! -- .nombre{ font-family: georgia; font-size: 12; font-weight: bold; color: #000000; line-height: 14px; } .empresa{ font-family: verdana; font-size: 11; font-weight: bold; color: #000000; line-height: 14px; } .texto{ font-family: tahoma; font-size: 11; color: #535353; line-height: 14px; } .url{ font-family: tahoma; font-size: 11; color: #0000FF; line-height: 14px; }Ing. Nicolás Rossi Certant S.A. Av. de Mayo 666 Piso 3 (C1084AAO) Buenos Aires Argentina Tel: +54 (11) 5219-0855/6 Int: 112 http://www.certant.com -------------------------------------------------------This SF.Net email is sponsored by:Sybase ASE Linux Express Edition - download now for FREELinuxWorld Reader's Choice Award Winner for best database on Linux.http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click_______________________________________________jCharts-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |