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

Update a plot in JFreeChart

I have a parabola plot, coefficients of parabola equation are stored in array a. In mouseDragged (mousemotionlistener), coefficients of parabola were changed and I want to update a parabola plot with new coefficients in realtime. How can I make this…
Denis
  • 503
  • 8
  • 32
1
vote
1 answer

JFreeChart Horizontal Charts

I'm using CombinedDomainXYPlot to plot the charts. I have another requirement where, I need to show the two charts horizontally. Currently i'm having only one chart. what i need is, i need two charts in the first row. like Chart1…
Mohan
  • 457
  • 6
  • 15
1
vote
1 answer

Crosshatched bar chart with JFreeChart

I need to plot a horizontal bar chart using JFreeChart. The problem is that some specific itens need to appear with a crosshatched fill (or any other visual style that makes clear that the item is different from the rest). Please see the piture…
guilhermecgs
  • 2,913
  • 11
  • 39
  • 69
1
vote
1 answer

Java - how to receive point coordinates after mouse button release (JFreeChart)

I wrote a simple parabola plot using JFreeChart. I get graphic point coordinates, when mouse button pressed and i also want to get graphic point coordinates, when mouse button released. But chartMouseMoved don't work while mouse button pressing. How…
Denis
  • 503
  • 8
  • 32
1
vote
2 answers

JFreeChart with shadow and circle nodes

I created a line chart: But I want it to make it looks like this. I also don't know what kind of chart is this. I want to make also have a shadow and circle nodes in it. Just like this: How can I do this? By the way I'm displaying the chart in the…
newbie
  • 1,884
  • 7
  • 34
  • 55
1
vote
1 answer

how to dissable x-axis line in jfreecharts

Im using jfreecharts for my application. I need to remove the x-axis line in the Line chart produced. How can i remove the axis line, Any help would be appreciated.
user2881322
1
vote
1 answer

Timing issue with plotting multiple graphs fast

In the code below I am conducting an experiment for which I need to plot almost 10 graphs per second ( time interval 100) for total of 50. However when I decrease the time interval TIME INTERVAL ( line 120 down to the bottom) from 200 msec to 100…
C graphics
  • 7,308
  • 19
  • 83
  • 134
1
vote
4 answers

Editable Java charting libraries

I have an application in which I want to display various charts, mostly bar graphs, pie graphs, etc. In the past, I've used JFreeChart, but (at least by default), JFreeChart does not allow an easy way of editing things like the bar colors. The…
Jeff Storey
  • 56,312
  • 72
  • 233
  • 406
1
vote
1 answer

How to give different gradient in horizontal bar chart in Pentaho report designer

Is there any way to give different gradient color in each bar of bar chart in pentaho report designer. I'm trying with BeanShall Script but unable to get the gradient top to bottom, also I'm getting same gradient color in all the other bars too. I'm…
Ankit
  • 502
  • 1
  • 4
  • 20
1
vote
1 answer

Display JFreeChart with spring MVC ( No mapping found )

I know that there is many similar post to this. But I didn't find any complete code of how to display JFreeChart to the tag. I'm displaying the image onload of the page. NOTE: The URL this page is: @RequestMapping( value = "/admin/student",…
1
vote
1 answer

how to dynamically update my scatter plot using jfreechart

I am supposed to simulate the movement of balls. The spots in the plot are my balls. For now, I have generated a random dataset, but later I will be reading an input file which continuously gives the ball positions. So my question is, how can I…
1
vote
1 answer

JFreeChart - Not fully visible line chart

I am using JFreeChart library to create Chart on website (library integrated with my application according to this tutorial). Everything looks great except one thing: for some reason, for some data line chart is not completly visible (please see…
PastorPL
  • 968
  • 3
  • 17
  • 36
1
vote
1 answer

JFreeChart how to draw dashed line with closely spaced points

I am attempting to plot smooth curves where the points are close together (-4.0, 0.01), (-4.1, .02), and so on. The plot will have multiple lines and I would like to use dashed lines for each curve. I am using JFreeChart and have written a custom…
meyerjp3
  • 197
  • 1
  • 3
  • 16
1
vote
0 answers

JFreeChart - remove vertical lines

I have a chart with a XYPlot. The chart uses dates on the X axis and values on the Y axis. The white vertical lines shown here are above the date labels (that are hidden). I've managed to hide the labels, but these vertical lines are a pain. Can…
Buffalo
  • 3,861
  • 8
  • 44
  • 69
1
vote
1 answer

Dynamically repaint ScatterPlot in jfreechart

I have a scatterplot which plots positions of agents. These positions change. I was wondering how can I repaint/redraw the scatterplot with the new positions my drawing method. I need to redraw in the updatePositions function. Is there any way to…
MayTheSchwartzBeWithYou
  • 1,181
  • 1
  • 16
  • 32