Hello, I hope that anyone can help me. I search a codesnippet for multiple Pies in one Chart. So far I can't find anything helpful. At this time I have one pie in my chart and now I want circa 6 pies in one chart. (with CeWolf) Is this possible and can I set the position of the pies in the ... |
Hello everyone, I encountered a feature I needed and could not (In an ellegant manner) achieve, as I usually can with JFree. Im trying to create Pie charts (Doesn't matter if PieChart or PieChart3D) using the MultiplePiePlot plot. For each of the sub charts, though, I want to set a different Label / URL / Legend generator, depending on its data. ... |
|
hi, I am working with MultiplePiePlot, I am now showing more than 3 pie charts at a time, but the pie chart will be too small when the number of pie was too much, and I can't find the way to change the size of each pie plot. how to set the height and width of each pie plot to be ... |
|
|
|
|
I didn't write this class, but it looks like the layout logic is embedded in the draw method and doesn't allow a single row of charts. It would be nice to support more configurable layout options, so if someone feels like refactoring this class and submitting a patch, it will be much appreciated. |
HI Here goes my code for a multiple pie chart containing two charts. One individula and other whole. How can i customise the section colors inthis? String a[]={"section1","section2","section3","section4"}; String b[]={"Individual","Whole"}; final double[][] data = new double[][] { {3.0, 4.0}, {5.0, 7.0}, {5.0, 7.0}, {2.0, 3.0} }; final CategoryDataset dataset = DatasetUtilities.createCategoryDataset (a, b, data); final JFreeChart chart = ChartFactory.createMultiplePieChart( "Multiple Pie ... |
|
Hi, I have setup Renderer's for bar charts, line's etc BarRenderer renderer = new BarRenderer(); final String sRenderLink = request.getContextPath() + "/Display"; renderer.setItemURLGenerator(new StandardCategoryURLGenerator(sRenderLink,"Item","Points")); renderer.setToolTipGenerator(new StandardCategoryToolTipGenerator()); Plot plot = new CategoryPlot(categoryDataset, categoryAxis, valueAxis, renderer); chart = new JFreeChart("", JFreeChart.DEFAULT_TITLE_FONT, plot, true); I cannot find a Renderer for Multiple Pie Charts. Is there any available & if so could someone please post ... |
Hi, I have created pie chart using the method ChartFactory.createMultiplePieChart. The problem that I am facing here is when there is a lot of data to be displayed in which case the number of individual pie diagrams displayed are around 25.The size of each pie diagram is too small and hence not clearly visible as the diagrams are being adjusted depending ... |
Hi, I'm having a problem with code that I think used to work. It occurs in both 1.0.4 and 1.0.5. I'm trying to write a MultiplePieChart out to disk and this is the error I get. java.lang.ClassCastException: org.jfree.chart.plot.MultiplePiePlot at org.jfree.chart.plot.MultiplePiePlot.prefetchSectionPaints(MultiplePiePlot.java:456) at org.jfree.chart.plot.MultiplePiePlot.draw(MultiplePiePlot.java:368) at org.jfree.chart.JFreeChart.draw(JFreeChart.java:1175) at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1349) at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1329) at org.jfree.chart.ChartUtilities.writeChartAsPNG(ChartUtilities.java:171) at org.jfree.chart.ChartUtilities.saveChartAsPNG(ChartUtilities.java:308) at org.pentaho.plugin.jfreechart.JFreeChartEngine.saveChartAsPNG(JFreeChartEngine.java:664) at org.pentaho.plugin.jfreechart.JFreeChartEngine.saveChart(JFreeChartEngine.java:726) at org.pentaho.plugin.jfreechart.JFreeChartEngine.saveChart When I debug ... |
Hi! I want to do a multiple pie and set the colors of the sections, I created a piechart and set the colors, then set this pie chart in the multiple pie and got the colors in each section. but only when I use: plot.setDataExtractOrder(TableOrder.BY_ROW); when I try to use: plot.setDataExtractOrder(TableOrder.BY_COLUMN); this don't work. thanks |
|
|
|
final DefaultCategoryDataset dataset = new DefaultCategoryDataset(); dataset.addValue(10, "Alphabet", "X"); dataset.addValue(3, "Number", "1"); dataset.addValue(1, "Number", "2"); dataset.addValue(4, "Number", "3"); dataset.addValue(2, "Number", "4"); ... |
I wish to create a multiple pie chart which the slices of the pie chart are group by the bank.For example bank A is red,bank B is yellow,bank C is green..So when generate the 2 pie chart,the result of pie chart1 may be only contain bank B and C only and the pie chart2 may be contain bank A,B and C..Besides,I ... |
|
Too many labels showing up on multiple pie chart by a344254 Wed Jan 07, 2009 10:19 pm I'm creating a chart with createMultiplePieChart. I have 5 charts with 5 reasons per chart. As far as I can tell, I'm getting possibly up to 14 slice description labels per chart when I should only be getting 5 per chart. I'm not ... |
Hi, i'm trying to create a multiple pie chart jpeg image. I'm using the ChartFactory.createmultiplepiechart and Chartutilities.writechartasJPG functions and my charts draw correctly. What I'm trying to achive is, how to apply layouts to the generated image, as in i want only 1 chart per row and as i'm generating an image i cant use swings gridlayout class. Any help would ... |
|
Hi there, Here is my chart: First: why did the right side of the rectangles for each pie chart disappear for no apparent reason. Hopefully this is something temporary. Now to my real issue: I want to be able to click the titles just below each pie chart and know which one I clicked so I can do some action accordingly. ... |