Questions tagged [jfreechart]

JFreeChart is a free Java chart library with many available chart types and support for numerous output types. The latest version is 1.5.0 released on 2017-11-05. The license is LGPLv2 (or later).

JFreeChart is a free Java chart library with many available chart types and support for numerous output types. The project includes a gallery of sample charts and detailed examples of several basic chart types; click on the relevant link to see the corresponding source. In addition, older examples may be found here, and a list of frequently asked questions is available; addenda appear in the maintainer's support forum and discussions area.

Its source code is on GitHub. Current and previous versions of JFreeChart can be obtained from Maven.org. Releases are seen here. The online javadoc API are listed here. The creator also provides a Developer Guide document which can be purchased here.

Frequently asked questions are present here.

Requirements

JFreeChart requires the Java platform. Note that JFreeChart is a class library for use by developers, not an end user application.

Related Links:

2745 questions
1
vote
2 answers

XYPlot without vertical axis and horizontal line grid?

Can I draw only vertical data axis (without axis line( in XYPlot and only horizontal line in grid lines (I know the hack - draw them by white color, that is coincident with background color, may be, there is more pure way) ?
Eugene Shmorgun
  • 2,083
  • 12
  • 42
  • 67
1
vote
3 answers

Gradient fill under the line XYPlot chart in JFreeChart?

Can I add the gradient filling to the XYPlot chart in JFreeChart? Example below:
Eugene Shmorgun
  • 2,083
  • 12
  • 42
  • 67
1
vote
1 answer

Drawing blured shadow in JfreeChart?

That's is question is in the title of this post, but anyway: I use the JFreeChart to create chart in my app. And one of requirement is a soft blured shadow instead solid, which is presented by default. I know I can add my image instead the default…
Eugene Shmorgun
  • 2,083
  • 12
  • 42
  • 67
1
vote
1 answer

Is it possible to have two (X and Y) CategoryAxes in JFreeChart?

I am creating a correlation matrix in JFreeChart. I'm nearly done except that both axes have number values (i: say 1 to 20). I use DefaultXYZDataset and a customized BlockRenderer with a overridden PaintScale Class. The value z itself is represented…
Mika Prouk
  • 495
  • 5
  • 16
1
vote
1 answer

CombinedDomainXYPlot - does range panning work at all?

I've created CombinedDomainXYPlot and added a bunch of XYPlots there. Everything seems to be working as expected except vertical panning (move chart using mouse along with Y axis). Domain panning (along X axis) works fine. I've set…
Val
  • 381
  • 1
  • 3
  • 11
1
vote
1 answer

JFreeChart Performance

I'm trying to plot some graphs simultaneously: Each representing an attribute and displays the results for several objects each containing its own data items series. I encounter very bad performance using either add(...) or addOrUpdate(...) methods…
Guy Gaziv
  • 19
  • 5
1
vote
1 answer

Flickering XYImageAnnotation on JFreeChart with timer

I have difficulties drawing an image on a JFreeChart - XYLineChart. The main problem is the x and y coordinates of the annotation is updated dynamically in real time.So with my code adding the annotation and clearing it for the new one to be drawn…
1
vote
0 answers

How to display jfreechart at specified place in jsp

I have a jsp page where i need to display the chart at specified position .But With the following codes chart is getting loaded as png image and all other css design elements of the jsp page is not displaying.... Below is my code. …
vikas
  • 21
  • 4
1
vote
1 answer

JFreeChart - marker not showing up

I am trying to add a range market to th eplot, but whenever the marker value exceeds current maximum, it is not included in the chart, as chart does not seem to resize based on the range marker... Is there any workaround to this? BTW, I do not know…
Bober02
  • 15,034
  • 31
  • 92
  • 178
1
vote
2 answers

JFreeChart losing data in dynamic chart

I have dynamic chart for measuring CPU performance and I need my Java program to generate chart for a long period of time (for example: 24h). Problem is that as new data comes older ones disappear form chart. I don't want to lose that data. Can I…
bralek
  • 23
  • 6
1
vote
1 answer

How to Overcome the JFreeChart Issue?

I'm using the Jfree chart in my struts application. Y-Axis is Over Shipment Pieces and X-Axis is Supplier Code and secondary axis is used for the Over Shipment %. What the problem i faced here is , If the Over Shipment % values all comes to Zero it…
1
vote
1 answer

how to do partition of existing jfree pie Chart section on same chart

I am using Jfreechart to create a pie chart in Spring MVC. MY requirement is: i have to create two section,FOUND and LOST on pie chart.also in,LOST section i need to create more sections representing Count of different LOST items. here right now,i…
nidhi
  • 333
  • 2
  • 9
  • 17
1
vote
1 answer

fill the area with color in time series jfreechart

I am trying to generate a time series with the area underneath filled with color. Looking at examples of the jfreechart library there is this method: ChartFactory.createAreaChart(...) However the dataset required is a Category dataset, something…
George Pligoropoulos
  • 2,919
  • 3
  • 33
  • 65
1
vote
0 answers

JFreeChart customise axis range?

I would like to plot the average runs for each ball in a Twenty20 cricket match, on a JFreeChart. This means the X-Axis would need to start at 0.1 and go to 19.6. This I can do fine, however using the standard tick units means I get: 0.1, 0.2, 0.3,…
Duane Allman
  • 531
  • 2
  • 6
  • 20
1
vote
1 answer

How to Change the JFree Chart without overlapping?

Hi I have attached the screen shot for your consideration. I'm using the Jfree chart for the bar diagram and using the percentage also. In some scenario the PERCENTAGE and the COUNT would be overlapped. So please give me the suggestion from…
Adalarasan_New
  • 313
  • 3
  • 5
  • 16
1 2 3
99
100