Search found 3 matches
- Mon Apr 09, 2007 7:18 am
- Forum: JFreeChart
- Topic: problem rendering piechart as svg
- Replies: 1
- Views: 2328
problem rendering piechart as svg
I'm creating a piechart using a piedataset, the data points have a big difference in values. The values being used are {9.0d, 10.0d, 886.0d and 2.0d} This is rendered fine in a chart panel, however when I generate the svg, there is only two distinct colors for the items and they are the wrong colors...
- Thu Mar 22, 2007 11:04 pm
- Forum: JFreeChart
- Topic: attempting to understand charts
- Replies: 3
- Views: 6657
Here is the code that is creating the chart, this is called from the done method in swingworker public void drawBarChart(DefaultCategoryDataset dataSet, int totalHosts, int totalVulns) { JFreeChart chart = ChartFactory.createStackedBarChart("Host Breakdown", "", "% of total", dataSet, PlotOrientatio...
- Thu Mar 22, 2007 9:42 pm
- Forum: JFreeChart
- Topic: attempting to understand charts
- Replies: 3
- Views: 6657
Lia, were you able to solve the problem. I am getting the exact same exception Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.jfree.chart.plot.XYPlot.drawQuadrants(XYPlot.java:2312) It seems like the code is being called twice by the event dispatch thread , and the firs...