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-11-10 14:26:11
|
Your chart is 1 pixel by 1 pixel, try increasing the size. --- Bent Are Melsom <me...@f1...> wrote: > Hi > > This is the code for my chart. I suppose that you are referring to the > line > > double[][] data= new double[][]{ { 250, 45, -36, 66, 145, 80, 55 } > }; > > If not, you can see the whole code here: > > String[] xAxisLabels= { "1998", "1999", "2000", "2001", "2002", "2003", > "2004" }; > String xAxisTitle= "Years"; > String yAxisTitle= "Problems"; > String title= "CIBER"; > DataSeries dataSeries = new DataSeries( xAxisLabels, xAxisTitle, > yAxisTitle, title ); > > double[][] data= new double[][]{ { 250, 45, -36, 66, 145, 80, 55 } > }; > String[] legendLabels= { "Bugs" }; > Paint[] paints=TestDataGenerator.getRandomPaints( 1 ); > > Stroke[] strokes= { LineChartProperties.DEFAULT_LINE_STROKE }; > Shape[] shapes= { PointChartProperties.SHAPE_CIRCLE }; > LineChartProperties lineChartProperties= new LineChartProperties( > strokes, shapes ); > AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, > legendLabels, paints, ChartType.LINE, lineChartProperties ); > dataSeries.addIAxisPlotDataSet( axisChartDataSet ); > > ChartProperties chartProperties= new ChartProperties(); > AxisProperties axisProperties= new AxisProperties(); > LegendProperties legendProperties= new LegendProperties(); > > AxisChart axisChart= new AxisChart( dataSeries, chartProperties, > axisProperties, legendProperties, 1,1 ); > > Thanks! > > regards > Bent Are Melsom > > --------------------------------------- > Bent Are Melsom > mobile: 950 22 874 > e-mail: me...@f1... > --------------------------------------- > > On Mon, 10 Nov 2003, Nathaniel G. Auvil wrote: > > > > > what are you sending as your data? > > > > > > --- Bent Are Melsom <me...@f1...> wrote: > > > Hi > > > > > > I am trying to export a chart to a JPEG image using the JPEGEncoder13 > > > class. This does not work, all I get is an IndexOutOfBoundsException. The > > > code is > > > > > > File file = new File("c:\\file.jpg"); > > > OutputStream out = new FileOutputStream(file); > > > JPEGEncoder13.encode(axisChart,0.5f,out); > > > > > > The exception is: > > > > > > java.lang.ArrayIndexOutOfBoundsException: -1 > > > int java.awt.font.LineBreakMeasurer.nextOffset(float, int, > > > boolean) > > > LineBreakMeasurer.java:334 > > > java.awt.font.TextLayout > > > java.awt.font.LineBreakMeasurer.nextLayout(float, int, boolean) > > > LineBreakMeasurer.java:408 > > > java.awt.font.TextLayout > > > java.awt.font.LineBreakMeasurer.nextLayout(float) > > > LineBreakMeasurer.java:382 > > > float org.jCharts.Chart.renderChartTitle(java.lang.String, > > > java.awt.font.FontRenderContext) > > > void org.jCharts.axisChart.AxisChart.renderChart() > > > void org.jCharts.Chart.render() > > > java.awt.image.BufferedImage > > > org.jCharts.encoders.BinaryEncoderUtil.render(org.jCharts.Chart) > > > void org.jCharts.encoders.JPEGEncoder13.encode(org.jCharts.Chart, > > > float, java.io.OutputStream) > > > void mypackage2.TestClass.generateLineChart() > > > TestClass.java:49 > > > void mypackage2.TestClass.main(java.lang.String[]) > > > TestClass.java:62 > > > > > > The chart is the coded using the example from the user documentation > > > of linechart from User's Guide 0.3.0 of jCharts 0.7. > > > > > > Does anybody have a hint? > > > > > > regards > > > Bent Are Melsom > > > --------------------------------------- > > > Bent Are Melsom > > > mobile: 950 22 874 > > > e-mail: me...@f1... > > > --------------------------------------- > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: ApacheCon 2003, > > > 16-19 November in Las Vegas. Learn firsthand the latest > > > developments in Apache, PHP, Perl, XML, Java, MySQL, > > > WebDAV, and more! http://www.apachecon.com/ > > > _______________________________________________ > > > jCharts-users mailing list > > > jCh...@li... > > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > > > __________________________________ > > Do you Yahoo!? > > Protect your identity with Yahoo! Mail AddressGuard > > http://antispam.yahoo.com/whatsnewfree > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: ApacheCon 2003, > > 16-19 November in Las Vegas. Learn firsthand the latest > > developments in Apache, PHP, Perl, XML, Java, MySQL, > > WebDAV, and more! http://www.apachecon.com/ > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree |
From: Bent A. M. <me...@f1...> - 2003-11-10 13:55:30
|
Hi This is the code for my chart. I suppose that you are referring to the line double[][] data= new double[][]{ { 250, 45, -36, 66, 145, 80, 55 } }; If not, you can see the whole code here: String[] xAxisLabels= { "1998", "1999", "2000", "2001", "2002", "2003", "2004" }; String xAxisTitle= "Years"; String yAxisTitle= "Problems"; String title= "CIBER"; DataSeries dataSeries = new DataSeries( xAxisLabels, xAxisTitle, yAxisTitle, title ); double[][] data= new double[][]{ { 250, 45, -36, 66, 145, 80, 55 } }; String[] legendLabels= { "Bugs" }; Paint[] paints=TestDataGenerator.getRandomPaints( 1 ); Stroke[] strokes= { LineChartProperties.DEFAULT_LINE_STROKE }; Shape[] shapes= { PointChartProperties.SHAPE_CIRCLE }; LineChartProperties lineChartProperties= new LineChartProperties( strokes, shapes ); AxisChartDataSet axisChartDataSet= new AxisChartDataSet( data, legendLabels, paints, ChartType.LINE, lineChartProperties ); dataSeries.addIAxisPlotDataSet( axisChartDataSet ); ChartProperties chartProperties= new ChartProperties(); AxisProperties axisProperties= new AxisProperties(); LegendProperties legendProperties= new LegendProperties(); AxisChart axisChart= new AxisChart( dataSeries, chartProperties, axisProperties, legendProperties, 1,1 ); Thanks! regards Bent Are Melsom --------------------------------------- Bent Are Melsom mobile: 950 22 874 e-mail: me...@f1... --------------------------------------- On Mon, 10 Nov 2003, Nathaniel G. Auvil wrote: > > what are you sending as your data? > > > --- Bent Are Melsom <me...@f1...> wrote: > > Hi > > > > I am trying to export a chart to a JPEG image using the JPEGEncoder13 > > class. This does not work, all I get is an IndexOutOfBoundsException. The > > code is > > > > File file = new File("c:\\file.jpg"); > > OutputStream out = new FileOutputStream(file); > > JPEGEncoder13.encode(axisChart,0.5f,out); > > > > The exception is: > > > > java.lang.ArrayIndexOutOfBoundsException: -1 > > int java.awt.font.LineBreakMeasurer.nextOffset(float, int, > > boolean) > > LineBreakMeasurer.java:334 > > java.awt.font.TextLayout > > java.awt.font.LineBreakMeasurer.nextLayout(float, int, boolean) > > LineBreakMeasurer.java:408 > > java.awt.font.TextLayout > > java.awt.font.LineBreakMeasurer.nextLayout(float) > > LineBreakMeasurer.java:382 > > float org.jCharts.Chart.renderChartTitle(java.lang.String, > > java.awt.font.FontRenderContext) > > void org.jCharts.axisChart.AxisChart.renderChart() > > void org.jCharts.Chart.render() > > java.awt.image.BufferedImage > > org.jCharts.encoders.BinaryEncoderUtil.render(org.jCharts.Chart) > > void org.jCharts.encoders.JPEGEncoder13.encode(org.jCharts.Chart, > > float, java.io.OutputStream) > > void mypackage2.TestClass.generateLineChart() > > TestClass.java:49 > > void mypackage2.TestClass.main(java.lang.String[]) > > TestClass.java:62 > > > > The chart is the coded using the example from the user documentation > > of linechart from User's Guide 0.3.0 of jCharts 0.7. > > > > Does anybody have a hint? > > > > regards > > Bent Are Melsom > > --------------------------------------- > > Bent Are Melsom > > mobile: 950 22 874 > > e-mail: me...@f1... > > --------------------------------------- > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: ApacheCon 2003, > > 16-19 November in Las Vegas. Learn firsthand the latest > > developments in Apache, PHP, Perl, XML, Java, MySQL, > > WebDAV, and more! http://www.apachecon.com/ > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > __________________________________ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfree > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > |
From: Nathaniel G. A. <nat...@ya...> - 2003-11-10 13:46:28
|
what are you sending as your data? --- Bent Are Melsom <me...@f1...> wrote: > Hi > > I am trying to export a chart to a JPEG image using the JPEGEncoder13 > class. This does not work, all I get is an IndexOutOfBoundsException. The > code is > > File file = new File("c:\\file.jpg"); > OutputStream out = new FileOutputStream(file); > JPEGEncoder13.encode(axisChart,0.5f,out); > > The exception is: > > java.lang.ArrayIndexOutOfBoundsException: -1 > int java.awt.font.LineBreakMeasurer.nextOffset(float, int, > boolean) > LineBreakMeasurer.java:334 > java.awt.font.TextLayout > java.awt.font.LineBreakMeasurer.nextLayout(float, int, boolean) > LineBreakMeasurer.java:408 > java.awt.font.TextLayout > java.awt.font.LineBreakMeasurer.nextLayout(float) > LineBreakMeasurer.java:382 > float org.jCharts.Chart.renderChartTitle(java.lang.String, > java.awt.font.FontRenderContext) > void org.jCharts.axisChart.AxisChart.renderChart() > void org.jCharts.Chart.render() > java.awt.image.BufferedImage > org.jCharts.encoders.BinaryEncoderUtil.render(org.jCharts.Chart) > void org.jCharts.encoders.JPEGEncoder13.encode(org.jCharts.Chart, > float, java.io.OutputStream) > void mypackage2.TestClass.generateLineChart() > TestClass.java:49 > void mypackage2.TestClass.main(java.lang.String[]) > TestClass.java:62 > > The chart is the coded using the example from the user documentation > of linechart from User's Guide 0.3.0 of jCharts 0.7. > > Does anybody have a hint? > > regards > Bent Are Melsom > --------------------------------------- > Bent Are Melsom > mobile: 950 22 874 > e-mail: me...@f1... > --------------------------------------- > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree |
From: Bent A. M. <me...@f1...> - 2003-11-10 13:28:29
|
Hi I am trying to export a chart to a JPEG image using the JPEGEncoder13 class. This does not work, all I get is an IndexOutOfBoundsException. The code is File file = new File("c:\\file.jpg"); OutputStream out = new FileOutputStream(file); JPEGEncoder13.encode(axisChart,0.5f,out); The exception is: java.lang.ArrayIndexOutOfBoundsException: -1 int java.awt.font.LineBreakMeasurer.nextOffset(float, int, boolean) LineBreakMeasurer.java:334 java.awt.font.TextLayout java.awt.font.LineBreakMeasurer.nextLayout(float, int, boolean) LineBreakMeasurer.java:408 java.awt.font.TextLayout java.awt.font.LineBreakMeasurer.nextLayout(float) LineBreakMeasurer.java:382 float org.jCharts.Chart.renderChartTitle(java.lang.String, java.awt.font.FontRenderContext) void org.jCharts.axisChart.AxisChart.renderChart() void org.jCharts.Chart.render() java.awt.image.BufferedImage org.jCharts.encoders.BinaryEncoderUtil.render(org.jCharts.Chart) void org.jCharts.encoders.JPEGEncoder13.encode(org.jCharts.Chart, float, java.io.OutputStream) void mypackage2.TestClass.generateLineChart() TestClass.java:49 void mypackage2.TestClass.main(java.lang.String[]) TestClass.java:62 The chart is the coded using the example from the user documentation of linechart from User's Guide 0.3.0 of jCharts 0.7. Does anybody have a hint? regards Bent Are Melsom --------------------------------------- Bent Are Melsom mobile: 950 22 874 e-mail: me...@f1... --------------------------------------- |
From: Nathaniel G. A. <nat...@ya...> - 2003-11-07 17:18:53
|
Unfortunately no one has. The Legend code is pretty much self contained. The only points of intersection will be in sizing the plot area for the Radar to allow enough space for the legend. I am not sure off the top of my head what the radar chart code does as far as sizing itself, but it should get the sizing required for the legend from the Legend Object, and then size itself accordingly. You should be able to pretty much cut and paste bits of the code from PieChart2D for the Legend. --- Jarle Liknes <jl...@do...> wrote: > Hi, > > I've just started to use jCharts, which looks very good so far! > > I need to generate a Radar chart, and built from CVS. The chart looks > fine, but legends is not implemented. > (RadarChart.java: //todo : render legend, use scale processor > classes,...) > > Has anyone implemented this? Thought I ask before I start to look deeper > into the code myself... > > Thanks, > -Jarle > > > __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree |
From: Jarle L. <jl...@do...> - 2003-11-07 16:43:09
|
Hi, I've just started to use jCharts, which looks very good so far! I need to generate a Radar chart, and built from CVS. The chart looks fine, but legends is not implemented. (RadarChart.java: //todo : render legend, use scale processor classes,...) Has anyone implemented this? Thought I ask before I start to look deeper into the code myself... Thanks, -Jarle |
From: Vikram R. <Vi...@PL...> - 2003-11-04 09:03:11
|
Try this .... axisProperties.getXAxisProperties().setAxisTitleChartFont( axisTitleFont ); axisProperties.getYAxisProperties().setAxisTitleChartFont( axisTitleFont ); - Vikram -----Original Message----- From: SangHeum Moon [mailto:san...@zi...] Sent: Tuesday, November 04, 2003 2:28 PM To: jch...@li... Subject: [jCharts-users] Trying to change Font for axis Title I'm trying to change font with sample chart.jsp. Every other fonts in sample is working fine. But I cannot make it to change the font for the axis Title. Anyone got an idea? Following is the part of the code I changed from chart.jsp ChartFont axisTitleFont = new ChartFont( new Font( "Arial Narrow", Font.PLAIN, 14 ), Color.red ); // I only changed Color.black to Color.red, but it doesn't work axisProperties.getXAxisProperties().setTitleChartFont( axisTitleFont ); axisProperties.getYAxisProperties().setTitleChartFont( axisTitleFont ); ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users |
From: SangHeum M. <san...@zi...> - 2003-11-04 08:54:10
|
I'm trying to change font with sample chart.jsp. Every other fonts in sample is working fine. But I cannot make it to change the font for the axis Title. Anyone got an idea? Following is the part of the code I changed from chart.jsp ChartFont axisTitleFont = new ChartFont( new Font( "Arial Narrow", Font.PLAIN, 14 ), Color.red ); // I only changed Color.black to Color.red, but it doesn't work axisProperties.getXAxisProperties().setTitleChartFont( axisTitleFont ); axisProperties.getYAxisProperties().setTitleChartFont( axisTitleFont ); |
From: <sco...@wg...> - 2003-11-03 12:50:34
|
Great! It's working now with the patch. Thahks for the quick response. > -----Original Message----- > From: jch...@li... > [mailto:jch...@li...]On Behalf Of Nathaniel > G. Auvil > Sent: Sunday, November 02, 2003 8:19 AM > To: jch...@li... > Subject: Re: [jCharts-users] ScatterPlotAxisChart and ImageMaps > > > > yes this is a bug. It is on line 90 of ScatterPlotChart. > > The code incorrectly uses the y-coordinate for bot the x and y. > The code should read: > > //---if we are generating an ImageMap, store the image coordinates > if( scatterPlotAxisChart.getGenerateImageMapFlag() ) > { > scatterPlotAxisChart.getImageMap().addImageMapArea( new CircleMapArea( > xAxisCoordinates[ dataSet ][ index ], > yAxisCoordinates[ dataSet ][ index ], > iScatterPlotDataSet.getValue( dataSet, index ), > iScatterPlotDataSet.getLegendLabel( dataSet ) ) ); > } > > > I hope to get a patch out today for this... > > > > > > --- Scott Bachman <sco...@wg...> wrote: > > I created a ScatterPlotAxisChart which is working fine, but > when I put an > > imagemap on it (renderWithImageMap()) the resulting imagemap is > wrong.... > > the hyperlink hotspots do not match up with the plotted points. > > > > Has anyone else tried this? Any ideas? > > > > Thanks, > > Scott > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > __________________________________ > Do you Yahoo!? > Exclusive Video Premiere - Britney Spears > http://launch.yahoo.com/promos/britneyspears/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users > |
From: Nathaniel G. A. <nat...@ya...> - 2003-11-02 13:45:27
|
jCharts 0.7.5 has been released. no new features just two bug fixes: * Line and Point charts no longer start their plots at the y-axis. * Fixed defect in ScatterPlot image map coordinate generation. __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ |
From: Nathaniel G. A. <nat...@ya...> - 2003-11-02 13:18:54
|
yes this is a bug. It is on line 90 of ScatterPlotChart. The code incorrectly uses the y-coordinate for bot the x and y. The code should read: //---if we are generating an ImageMap, store the image coordinates if( scatterPlotAxisChart.getGenerateImageMapFlag() ) { scatterPlotAxisChart.getImageMap().addImageMapArea( new CircleMapArea( xAxisCoordinates[ dataSet ][ index ], yAxisCoordinates[ dataSet ][ index ], iScatterPlotDataSet.getValue( dataSet, index ), iScatterPlotDataSet.getLegendLabel( dataSet ) ) ); } I hope to get a patch out today for this... --- Scott Bachman <sco...@wg...> wrote: > I created a ScatterPlotAxisChart which is working fine, but when I put an > imagemap on it (renderWithImageMap()) the resulting imagemap is wrong.... > the hyperlink hotspots do not match up with the plotted points. > > Has anyone else tried this? Any ideas? > > Thanks, > Scott > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ |
From: <sco...@wg...> - 2003-10-31 20:37:50
|
I created a ScatterPlotAxisChart which is working fine, but when I put an imagemap on it (renderWithImageMap()) the resulting imagemap is wrong.... the hyperlink hotspots do not match up with the plotted points. Has anyone else tried this? Any ideas? Thanks, Scott |
From: <pve...@ic...> - 2003-10-30 15:50:55
|
I had not seen the encoder methods. My problem is solved rigth now. Thanks ! ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |
From: Nathaniel G. A. <nat...@ya...> - 2003-10-30 01:48:35
|
The encoder methods take an OutputStream as an argument so you can pass any Implementation through them. Why not pass a FileOutputStream to it? --- pve...@ic... wrote: > > > Hi all. > > Well, I'm trying to export a jchart to a .png or .gif file. > > To achive that, all I need is the BufferedImage of the chart. > > I have an axisChart, and this is the code to generate it. > > axisChart= new AxisChart( dataSeries, chartProperties, axisProperties, > legendProperties, (int) dimension.getWidth(), > (int) dimension.getHeight() ); > > BufferedImage image = axisChart.getBufferedImage(); > > But always the image is null. So, I don't know where the problem is. Any > comments will be aprecciate. > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ |
From: <pve...@ic...> - 2003-10-29 21:11:56
|
Hi all. Well, I'm trying to export a jchart to a .png or .gif file. To achive that, all I need is the BufferedImage of the chart. I have an axisChart, and this is the code to generate it. axisChart= new AxisChart( dataSeries, chartProperties, axisProperties, legendProperties, (int) dimension.getWidth(), (int) dimension.getHeight() ); BufferedImage image = axisChart.getBufferedImage(); But always the image is null. So, I don't know where the problem is. Any comments will be aprecciate. ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |
From: Nathaniel G. A. <nat...@ya...> - 2003-10-21 04:33:27
|
The current 0.7.4 code does not support this; the user guide is incorrect. However, the code in CVS under the 0.7.4 tree does this as well as the new krysalis-jcharts tree. There could be a 0.7.5 release for this soon. --- Sudheer Guntuka <sgu...@ip...> wrote: > > Hi > The jcharts examples show the charts, where the x-axis values begin > away from the Y-axis and end before the right border. What needs to be > set in order for the chart to be like this. > > Thanks for your help > -Sudheer > > > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Sudheer G. <sgu...@ip...> - 2003-10-21 00:29:07
|
=20 Hi The jcharts examples show the charts, where the x-axis values begin away from the Y-axis and end before the right border. What needs to be set in order for the chart to be like this. =20 Thanks for your help -Sudheer =20 |
From: Nathaniel G. A. <nat...@ya...> - 2003-10-17 15:13:03
|
yeah, if you are running jdk 1.4.x you can pass a property to the jvm to run headless. Also, you can give the jar at http://www.eteks.com/pja/en/ a try. Take a look at the user guide section: http://jcharts.sourceforge.net/userGuide/exportingImages.html --- Steven M Sombar <sms...@us...> wrote: > > > > > An answer to the question > > RE: exception Cannot connect to X11 window server > at ChartProperties cp = new ChartProperties() throws exception (Unix) > when jCharts run from cron (disconnected virtual machine). > > It is not unusual for chart image generation software to > require access to an XServer when run under Unix. This is > because of Java, specifically graphical objects (i.e. charts). > In Unix, Java's graphics libraries (the Java AWT) are > implemented on top of XWindows/Motif graphics libraries. > These XWindows/Motif graphics libraries require an XServer. > > The need to make charts on Unix machines that do > not have Xservers on them is common. Some machines > are headless (a machine without a monitor/mouse/keyboard attached) > Or you may be wanting to generate charts automatically, > using cron, without haveing to specifically be logged-in. > > A solution to this problem is to run a virtual X Server. > A virtual X server can run on a machine without any display > hardware. It can also peacefully co-exist with other XServers > that may be running on the same computer. > > One common XServer is Xvfb "a virtual frame buffer XServer" from > the X consortium. > > > Regards, > Steven M Sombar/Austin/IBM@IBMUS W5OHM > smsombar@us..... > Phone 512-838-3353 > > > > > ------------------------------------------------------- > This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo > The Event For Linux Datacenter Solutions & Strategies in The Enterprise > Linux in the Boardroom; in the Front Office; & in the Server Room > http://www.enterpriselinuxforum.com > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Steven M S. <sms...@us...> - 2003-10-17 14:56:53
|
An answer to the question RE: exception Cannot connect to X11 window server at ChartProperties cp = new ChartProperties() throws exception (Unix) when jCharts run from cron (disconnected virtual machine). It is not unusual for chart image generation software to require access to an XServer when run under Unix. This is because of Java, specifically graphical objects (i.e. charts). In Unix, Java's graphics libraries (the Java AWT) are implemented on top of XWindows/Motif graphics libraries. These XWindows/Motif graphics libraries require an XServer. The need to make charts on Unix machines that do not have Xservers on them is common. Some machines are headless (a machine without a monitor/mouse/keyboard attached) Or you may be wanting to generate charts automatically, using cron, without haveing to specifically be logged-in. A solution to this problem is to run a virtual X Server. A virtual X server can run on a machine without any display hardware. It can also peacefully co-exist with other XServers that may be running on the same computer. One common XServer is Xvfb "a virtual frame buffer XServer" from the X consortium. Regards, Steven M Sombar/Austin/IBM@IBMUS W5OHM smsombar@us..... Phone 512-838-3353 |
From: Steven M S. <sms...@us...> - 2003-10-17 13:34:55
|
Hi, I have an example program which outputs a small LineChart as a *.jpg file. It works well. :-) On Windows and Unix. However, when I run the program on a Unix system under cron (which runs commands and shell scripts at predetermined times without having to be logged on) I get a "Cannot connect to X11 window server" exception early in the program, at ChartProperties chartProperties = new ChartProperties(); This is very repeatable. I am Using Sun Solaris 7 , Java Version 1.3.1, and jCharts 0.7.4. Any ideas? Being able to run charts on a disconnected machine with no console is a requirement for my application. I can append the source code for my program here if needed. And it's very similar to of one of the jCharts examples provided in the documentation. Regards, Steven M Sombar/Austin/IBM@IBMUS W5OHM smsombar@us..... Phone 512-838-3353 |
From: Christian C. <chr...@gr...> - 2003-10-16 20:42:47
|
Ah, great, thanks! ---------------------------------------------- Christian Cryder Internet Architect, ATMReports.com Project Chair, BarracudaMVC - http://barracudamvc.org ---------------------------------------------- "Coffee? I could quit anytime, just not today" > -----Original Message----- > From: jch...@li... > [mailto:jch...@li...]On Behalf Of Nathaniel > G. Auvil > Sent: Wednesday, October 15, 2003 3:41 PM > To: jch...@li... > Subject: RE: [jCharts-users] SVG Problems > > > > yeah, there is a plugin needed for SVG. The only one I have used > is Adobe's. > > > --- Christian Cryder <chr...@gr...> wrote: > > Ok, so here's what I've discovered. If I use the svg encoder to > write to a > > file, it works fine. So I know that my svg generation is functional. > > > > When I try to open that file in the IE, I get prompted once and > after that > > it seems to show up. So that prompt explains why the connection > was being > > reset, I assume. > > > > In Mozilla Firebird 0.6.1, I also get prompted to open with the default > > viewer - if I say Y, it launches IE and displays the image there. > > > > So the image seems to be generating correctly. The question seems to be > > then - how do I get the browser to automatically display it? Is there a > > plugin that must be manually downloaded and installed? > > > > Christian > > ---------------------------------------------- > > Christian Cryder > > Internet Architect, ATMReports.com > > Project Chair, BarracudaMVC - http://barracudamvc.org > > ---------------------------------------------- > > "Coffee? I could quit anytime, just not today" > > > > > > > -----Original Message----- > > > From: jch...@li... > > > [mailto:jch...@li...]On Behalf > Of Nathaniel > > > G. Auvil > > > Sent: Wednesday, October 15, 2003 9:09 AM > > > To: jch...@li... > > > Subject: Re: [jCharts-users] (no subject) > > > > > > > > > > > > Can you create a SVG formatted chart outside of thte Servlet > Container? > > > > > > > > > --- Christian Cryder <chr...@gr...> wrote: > > > > So I have taken the one example I have working (Pie Chart) > and tried to > > > > render it in SVG format. I took the SVG jars from > jCharts-0.7.4\lib and > > > > plunked them into Tomcat's shared/lib and now then changed > my call from: > > > > ServletEncoderHelper.encodePNG(chart, context.getResponse()); > > > > to: > > > > ServletEncoderHelper.encodeServlet(chart, > context.getResponse()); > > > > > > > > Kabowie: > > > > > > > > error encoding > chart:org.apache.batik.svggen.SVGGraphics2DIOException: > > > > Connection reset by peer: socket write error > > > > org.apache.batik.svggen.SVGGraphics2DIOException: Connection > > > reset by peer: > > > > socket write error > > > > at > org.apache.batik.svggen.XmlWriter.writeXml(Unknown Source) > > > > at > org.apache.batik.svggen.SVGGraphics2D.stream(Unknown Source) > > > > at > org.apache.batik.svggen.SVGGraphics2D.stream(Unknown Source) > > > > at > org.jCharts.encoders.SVGEncoder.encode(SVGEncoder.java:103) > > > > at > > > > > > > org.jCharts.encoders.ServletEncoderHelper.encodeServlet(ServletEnc > > > oderHelper > > > > .java:76) > > > > > > > > Anyone have any suggestions here? I am running on Win2k, > > > j2sdk1.4.2_01, with > > > > Tomcat 4.1. > > > > > > > > tia, > > > > Christian > > > > ---------------------------------------------- > > > > Christian Cryder > > > > Internet Architect, ATMReports.com > > > > Project Chair, BarracudaMVC - http://barracudamvc.org > > > > ---------------------------------------------- > > > > "Coffee? I could quit anytime, just not today" > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > > SourceForge.net hosts over 70,000 Open Source Projects. > > > > See the people who have HELPED US provide better services: > > > > Click here: http://sourceforge.net/supporters.php > > > > _______________________________________________ > > > > jCharts-users mailing list > > > > jCh...@li... > > > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > > > > > > __________________________________ > > > Do you Yahoo!? > > > The New Yahoo! Shopping - with improved product search > > > http://shopping.yahoo.com > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > SourceForge.net hosts over 70,000 Open Source Projects. > > > See the people who have HELPED US provide better services: > > > Click here: http://sourceforge.net/supporters.php > > > _______________________________________________ > > > jCharts-users mailing list > > > jCh...@li... > > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > SourceForge.net hosts over 70,000 Open Source Projects. > > See the people who have HELPED US provide better services: > > Click here: http://sourceforge.net/supporters.php > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users |
From: Nathaniel G. A. <nat...@ya...> - 2003-10-15 19:44:13
|
yeah, there is a plugin needed for SVG. The only one I have used is Adobe's. --- Christian Cryder <chr...@gr...> wrote: > Ok, so here's what I've discovered. If I use the svg encoder to write to a > file, it works fine. So I know that my svg generation is functional. > > When I try to open that file in the IE, I get prompted once and after that > it seems to show up. So that prompt explains why the connection was being > reset, I assume. > > In Mozilla Firebird 0.6.1, I also get prompted to open with the default > viewer - if I say Y, it launches IE and displays the image there. > > So the image seems to be generating correctly. The question seems to be > then - how do I get the browser to automatically display it? Is there a > plugin that must be manually downloaded and installed? > > Christian > ---------------------------------------------- > Christian Cryder > Internet Architect, ATMReports.com > Project Chair, BarracudaMVC - http://barracudamvc.org > ---------------------------------------------- > "Coffee? I could quit anytime, just not today" > > > > -----Original Message----- > > From: jch...@li... > > [mailto:jch...@li...]On Behalf Of Nathaniel > > G. Auvil > > Sent: Wednesday, October 15, 2003 9:09 AM > > To: jch...@li... > > Subject: Re: [jCharts-users] (no subject) > > > > > > > > Can you create a SVG formatted chart outside of thte Servlet Container? > > > > > > --- Christian Cryder <chr...@gr...> wrote: > > > So I have taken the one example I have working (Pie Chart) and tried to > > > render it in SVG format. I took the SVG jars from jCharts-0.7.4\lib and > > > plunked them into Tomcat's shared/lib and now then changed my call from: > > > ServletEncoderHelper.encodePNG(chart, context.getResponse()); > > > to: > > > ServletEncoderHelper.encodeServlet(chart, context.getResponse()); > > > > > > Kabowie: > > > > > > error encoding chart:org.apache.batik.svggen.SVGGraphics2DIOException: > > > Connection reset by peer: socket write error > > > org.apache.batik.svggen.SVGGraphics2DIOException: Connection > > reset by peer: > > > socket write error > > > at org.apache.batik.svggen.XmlWriter.writeXml(Unknown Source) > > > at org.apache.batik.svggen.SVGGraphics2D.stream(Unknown Source) > > > at org.apache.batik.svggen.SVGGraphics2D.stream(Unknown Source) > > > at org.jCharts.encoders.SVGEncoder.encode(SVGEncoder.java:103) > > > at > > > > > org.jCharts.encoders.ServletEncoderHelper.encodeServlet(ServletEnc > > oderHelper > > > .java:76) > > > > > > Anyone have any suggestions here? I am running on Win2k, > > j2sdk1.4.2_01, with > > > Tomcat 4.1. > > > > > > tia, > > > Christian > > > ---------------------------------------------- > > > Christian Cryder > > > Internet Architect, ATMReports.com > > > Project Chair, BarracudaMVC - http://barracudamvc.org > > > ---------------------------------------------- > > > "Coffee? I could quit anytime, just not today" > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: SF.net Giveback Program. > > > SourceForge.net hosts over 70,000 Open Source Projects. > > > See the people who have HELPED US provide better services: > > > Click here: http://sourceforge.net/supporters.php > > > _______________________________________________ > > > jCharts-users mailing list > > > jCh...@li... > > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > > > __________________________________ > > Do you Yahoo!? > > The New Yahoo! Shopping - with improved product search > > http://shopping.yahoo.com > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > SourceForge.net hosts over 70,000 Open Source Projects. > > See the people who have HELPED US provide better services: > > Click here: http://sourceforge.net/supporters.php > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Christian C. <chr...@gr...> - 2003-10-15 13:52:10
|
Ok, so here's what I've discovered. If I use the svg encoder to write to a file, it works fine. So I know that my svg generation is functional. When I try to open that file in the IE, I get prompted once and after that it seems to show up. So that prompt explains why the connection was being reset, I assume. In Mozilla Firebird 0.6.1, I also get prompted to open with the default viewer - if I say Y, it launches IE and displays the image there. So the image seems to be generating correctly. The question seems to be then - how do I get the browser to automatically display it? Is there a plugin that must be manually downloaded and installed? Christian ---------------------------------------------- Christian Cryder Internet Architect, ATMReports.com Project Chair, BarracudaMVC - http://barracudamvc.org ---------------------------------------------- "Coffee? I could quit anytime, just not today" > -----Original Message----- > From: jch...@li... > [mailto:jch...@li...]On Behalf Of Nathaniel > G. Auvil > Sent: Wednesday, October 15, 2003 9:09 AM > To: jch...@li... > Subject: Re: [jCharts-users] (no subject) > > > > Can you create a SVG formatted chart outside of thte Servlet Container? > > > --- Christian Cryder <chr...@gr...> wrote: > > So I have taken the one example I have working (Pie Chart) and tried to > > render it in SVG format. I took the SVG jars from jCharts-0.7.4\lib and > > plunked them into Tomcat's shared/lib and now then changed my call from: > > ServletEncoderHelper.encodePNG(chart, context.getResponse()); > > to: > > ServletEncoderHelper.encodeServlet(chart, context.getResponse()); > > > > Kabowie: > > > > error encoding chart:org.apache.batik.svggen.SVGGraphics2DIOException: > > Connection reset by peer: socket write error > > org.apache.batik.svggen.SVGGraphics2DIOException: Connection > reset by peer: > > socket write error > > at org.apache.batik.svggen.XmlWriter.writeXml(Unknown Source) > > at org.apache.batik.svggen.SVGGraphics2D.stream(Unknown Source) > > at org.apache.batik.svggen.SVGGraphics2D.stream(Unknown Source) > > at org.jCharts.encoders.SVGEncoder.encode(SVGEncoder.java:103) > > at > > > org.jCharts.encoders.ServletEncoderHelper.encodeServlet(ServletEnc > oderHelper > > .java:76) > > > > Anyone have any suggestions here? I am running on Win2k, > j2sdk1.4.2_01, with > > Tomcat 4.1. > > > > tia, > > Christian > > ---------------------------------------------- > > Christian Cryder > > Internet Architect, ATMReports.com > > Project Chair, BarracudaMVC - http://barracudamvc.org > > ---------------------------------------------- > > "Coffee? I could quit anytime, just not today" > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > SourceForge.net hosts over 70,000 Open Source Projects. > > See the people who have HELPED US provide better services: > > Click here: http://sourceforge.net/supporters.php > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users |
From: Nathaniel G. A. <nat...@ya...> - 2003-10-15 13:09:31
|
Can you create a SVG formatted chart outside of thte Servlet Container? --- Christian Cryder <chr...@gr...> wrote: > So I have taken the one example I have working (Pie Chart) and tried to > render it in SVG format. I took the SVG jars from jCharts-0.7.4\lib and > plunked them into Tomcat's shared/lib and now then changed my call from: > ServletEncoderHelper.encodePNG(chart, context.getResponse()); > to: > ServletEncoderHelper.encodeServlet(chart, context.getResponse()); > > Kabowie: > > error encoding chart:org.apache.batik.svggen.SVGGraphics2DIOException: > Connection reset by peer: socket write error > org.apache.batik.svggen.SVGGraphics2DIOException: Connection reset by peer: > socket write error > at org.apache.batik.svggen.XmlWriter.writeXml(Unknown Source) > at org.apache.batik.svggen.SVGGraphics2D.stream(Unknown Source) > at org.apache.batik.svggen.SVGGraphics2D.stream(Unknown Source) > at org.jCharts.encoders.SVGEncoder.encode(SVGEncoder.java:103) > at > org.jCharts.encoders.ServletEncoderHelper.encodeServlet(ServletEncoderHelper > .java:76) > > Anyone have any suggestions here? I am running on Win2k, j2sdk1.4.2_01, with > Tomcat 4.1. > > tia, > Christian > ---------------------------------------------- > Christian Cryder > Internet Architect, ATMReports.com > Project Chair, BarracudaMVC - http://barracudamvc.org > ---------------------------------------------- > "Coffee? I could quit anytime, just not today" > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com |
From: Christian C. <chr...@gr...> - 2003-10-15 12:40:52
|
Ah...right you are. I was doing something stupid ;-) Any suggestions regarding my SVG rendering questions? tia, Christian ---------------------------------------------- Christian Cryder Internet Architect, ATMReports.com Project Chair, BarracudaMVC - http://barracudamvc.org ---------------------------------------------- "Coffee? I could quit anytime, just not today" > -----Original Message----- > From: jch...@li... > [mailto:jch...@li...]On Behalf Of Nathaniel > G. Auvil > Sent: Tuesday, October 14, 2003 11:21 PM > To: jch...@li... > Subject: Re: [jCharts-users] getting started > > > > You are passing NULL in for the ChartProperties, AxisProperties, > LegendProperties, and > BarChartProperties > > > > > --- Christian Cryder <chr...@gr...> wrote: > > Hi folks, > > > > I'm obviously doing something stupid, so maybe you can help > me... Here's my > > code snippet, taken from the samples: > > ---------------------------------- > > BarChartProperties barChartProperties = null; > > LegendProperties legendProperties = null; > > AxisProperties axisProperties = null; > > ChartProperties chartProperties = null; > > int width = 550; > > int height = 360; > > > > try { > > String[] xAxisLabels = {"1995", "1996", "1997", "1998", > "1999", "2000", > > "2001", "2002", "2003", "2004"}; > > String xAxisTitle = "Years"; > > String yAxisTitle = "Problems"; > > String title = "Micro$oft At Work"; > > IAxisDataSeries dataSeries = new DataSeries( xAxisLabels, > xAxisTitle, > > yAxisTitle, title ); > > > > double[][] data = new double[][]{{1500, 6880, 4510, 2600, > 1200, 1580, > > 8000, 4555, 4000, 6120}}; > > String[] legendLabels = {"Bugs"}; > > Paint[] paints = new Paint[]{Color.blue.darker()}; > > dataSeries.addIAxisPlotDataSet( new AxisChartDataSet( data, > > legendLabels, paints, ChartType.BAR, barChartProperties ) ); > > AxisChart axisChart = new AxisChart( dataSeries, chartProperties, > > axisProperties, legendProperties, width, height); > > > > ... > > ServletEncoderHelper.encodePNG(axisChart, httpServletResponse); > > ... > > > > catch(ChartDataException chartDataException) { > > chartDataException.printStackTrace(); > > } > > ---------------------------------- > > > > Notice that I am _not_ calling renderWithImageMap(), > getImageMap(), etc the > > way the sample is. Instead, I'm trying to use the chart > normally, just as an > > image. > > > > The problem occurs within encodePNG()...it basically throws a > null pointer > > exception, and because the code was apparently compiled without line > > numbers, I don't get a whole lot for debugging... > > > > Now, I tried a simple pie chart example, and that _did_ > work...so obviously, > > I am doing something specifically wrong here. Does anyone have > any ideas? Or > > do I have to go build the project from source in order to get > line numbers > > and then track it down from there. > > > > Any suggestions would be greatly appreciated... > > > > tia, > > Christian > > ---------------------------------------------- > > Christian Cryder > > Internet Architect, ATMReports.com > > Project Chair, BarracudaMVC - http://barracudamvc.org > > ---------------------------------------------- > > "Coffee? I could quit anytime, just not today" > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > SourceForge.net hosts over 70,000 Open Source Projects. > > See the people who have HELPED US provide better services: > > Click here: http://sourceforge.net/supporters.php > > _______________________________________________ > > jCharts-users mailing list > > jCh...@li... > > https://lists.sourceforge.net/lists/listinfo/jcharts-users > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users |