jfreechart Questions

5

Solved

I'm using a library that has a dependency on jfreechart (v 1.0.9). When I try to run the .jar, I get: java.util.MissingResourceException: Can't find bundle for base name org.jfree.chart.Localiza...
Capitalist asked 17/1, 2010 at 23:52

2

Solved

A chart needs to be plotted with smooth shape, so XYSplineRenderer is used. Also, the NumberAxis needs to be autoranged to the segment of data. But in some cases when the spline is calculated, some...
Farra asked 18/11, 2021 at 14:27

1

I have a block of code that I surrounded with a try catch block with the most general exception, yet it never gets caught since the logic in my catch statement never executes and the program contin...

5

Solved

What's the best way to create great looking charts in Java? It looks like the main option for charting is JFreeChart, but unfortunately by default they come out looking quite plain. Compare a samp...
Luting asked 25/11, 2011 at 4:30

3

Solved

We are using the jfreechart with Jasper reports and we are struggling to put the benchmark line on the bar chart. How can this be achieved using jasper reports?
Zamir asked 26/2, 2016 at 10:17

3

Solved

I create a lot of charts. In each of them I need to call renderer.setSeriesStroke( i, new BasicStroke( 2.0f ) ); for each series. (renderer is chart.getXYPlot().getRenderer()). I wonder if ther...
Torpedoman asked 19/10, 2018 at 10:2

3

Solved

I have created a JFreeChart in a ChartPanel and I want to save it programmatically. The functionality should exist as it is possible to do this manually (right click menu and PNG option from there)...
Flower asked 17/1, 2016 at 8:2

1

Solved

I want to create multiple ScatterPlot chart on JFreeChart and to do so I've used the function createCombinedChart(). With my current code I get multiple charts just like the CombinedXYPlotDemo1 tha...
Sterrett asked 23/10, 2020 at 15:22

4

I have made it possible for value labels to appear on top of the bar in JFreeChart. However, it would look better if the labels are inside the bars. How do I make this work? The image below shows w...
Springhead asked 23/8, 2011 at 1:9

1

Solved

I have used JFreeChart to represent my array of x and y. These arrays get plotted just fine, however theregression line is broken and never gets drawn. All the functions work such as plotting value...
Fortney asked 23/4, 2020 at 19:16

2

Solved

A very simple problem. I try to run a very simple demo to created and display a Window Frame from Eclipse, and nothing happens. No errors, no window, the code runs to completion. I added breakpoin...
Affinal asked 20/9, 2014 at 16:38

1

Solved

I want to connect X and Y coordinates by order which I inputed to make a circle . I found a program that draw X,Y coordinates in Java . Then I added my data of circle but program connected neare...
Homelike asked 30/5, 2019 at 14:38

1

I'm making an application in Java using JFreeChart which shows an XY line chart. The problem is that it shows every point of the dataset on the lines, and I don't want to display these points. Any ...
Outstanding asked 21/2, 2019 at 10:13

2

Solved

I am using JFreeChart to plot two series of data (XYSeries) using a linechart. The complicating factor is that one of the data series has y-values that are typically much higher than the y-values o...
Ian asked 7/4, 2015 at 14:46

3

Solved

On the JFreeChart web site it says that the library can output the chart in vector format. From the JFreeChart site: support for many output types, including Swing components, image files (i...
Apothegm asked 1/3, 2012 at 11:30

4

Solved

I am using JFreeCharts in java to create a bar chart. My question is fairly simple... how can I choose a custom color for all of the bars in a bar chart? I'm not sure if this customization would be...
Kester asked 3/7, 2014 at 13:44

2

Solved

I would like put text over each point I plotted in a line chart. This is what I can do: And this is what I need (names of point are in green):
Didi asked 22/1, 2013 at 12:19

4

Solved

I've added a JFreeChart to a JPanel (using a BorderLayout), and it's huge. Is there something I can do to make it smaller? public void generateChart() { DefaultCategoryDataset dataset = new Defau...
Timehonored asked 23/4, 2012 at 3:8

2

Solved

I am trying to change the background color of jfreechart. It is displaying in grey color and I want a white background. I have tried chart.setBackgroundPaint(Color.WHITE); However it does not...
Iverson asked 24/8, 2014 at 7:10

1

Solved

JFreeChart 1.0.19 contained the method ChartFactory.createBarChart3D. That method is not available in JFreeChart 1.5.0. Is there another 1.5.0 method that replaces createBarChart3D? Or is there a ...
Railroad asked 19/12, 2017 at 12:59

4

Solved

if i have a my Jpanel and a my JFreeChart. How can I add this Chart in to the JPanel? XYSeries series = new XYSeries("XYGraph"); series.add(1, 1); series.add(1, 2); series.add(2, 1); series.ad...
Inseverable asked 30/10, 2011 at 14:47

1

Solved

I wrote these 2 lines of code to create a chart using an XYDataset: final XYDataset dataset = new TimeSeriesCollection(myInfo.getSeries()); JFreeChart timechart = ChartFactory.createTimeSeriesChar...

2

I am developing an Eclipse RCP Application which includes JFreeChart. One of its features is to copy graphs to the clipboard in order to paste them into other applications but it does not work on L...
Harrier asked 3/10, 2012 at 11:4

3

Solved

I'm developing a web application which use JFreeChart to render chart. However, when server dose not have any Chinese font installed, JFreeChart dose not display Chinese character even if I have se...
Thorncombe asked 24/8, 2012 at 15:28

4

Solved

Currently, the PolarChart joins all the coordinates with lines creating a polygon. I just want it to plot each point with a dot and NOT join them together. Is this possible? I have tried using tra...
Jampacked asked 12/3, 2010 at 16:7

© 2022 - 2024 — McMap. All rights reserved.