From: Timothy Y. <wa...@ya...> - 2003-08-08 08:44:17
|
Hi, I have encountered a problem while generating a bar chart that has negative values. Every time the largest number in the set is negative, it returns the following exception. sun.dc.pr.PRException: endPath: bad path at sun.dc.pr.Rasterizer.endPath(Unknown Source) at sun.java2d.pipe.DuctusRenderer.createShapeRasterizer(Unknown Source) at sun.java2d.pipe.DuctusShapeRenderer.renderPath(Unknown Source) at sun.java2d.pipe.DuctusShapeRenderer.fill(Unknown Source) at sun.java2d.pipe.ValidatePipe.fill(Unknown Source) at sun.java2d.SunGraphics2D.fill(Unknown Source) at org.jCharts.axisChart.BarChart.verticalPlot(Unknown Source) at org.jCharts.axisChart.BarChart.render(Unknown Source) at org.jCharts.axisChart.AxisChart.overlayCharts(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 chartingEngine.ChartGenerator.exportImage(ChartGenerator.java:55) at chartingEngine.ChartGenerator.createBarChart(ChartGenerator.java:213) at chartingEngine.test.main(test.java:75) Hope that you would be able to help me out. Thanx so much Regards, Timothy --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software |