jfreechart

Integrate reports (jasper, Jfreechart) to existing spring mvc project

Please, i need to integrate report (Jasper, JfreeChart, or birt) with an existing web Spring mvc project ...

Setting label and value of the chart

I'm creating pie charts using JFreeChart, and I want to set the value and the label seperately like in iReport, how can I do this? In other words, I want the chart to show different results on the pie than in the legend. ...

Images are black in PDF

I'm creating piecharts using JFreeChart, use chart.createBufferedImage(width,height) and give the buffered image to IReport as an image parameter. In IReport I have an image and its image expression points to this parameter, so I can render the image. But when exported to PDF, images are covered with a black rectangle. Something about tr...

jfree charts sample tutorial

hi, is there any links where we can find sample source code/ tutorial / help to use jfreecharts?? thank you. ...

Inserting a JFreeChart chart into a TableRow.

I have a TableRow that is empty on compile time. The tablerow is supposed to be filled with a chart generated by JFreeChart during runtime. How do I add the chart into the tablerow? ...

Key colors are different from what is on graph in JFreeChart line graph.

I've created a graph with 3 sets of data. They display correctly, and have the coloring/shape that I've specified. However, in the key the shapes correspond to the data points but the colors are completely different. Has anyone run into this/have any thoughts? ...

Time Series chart X-axis Time display

Hi everyone, I am working on TimeSeries in jfreechart and in this chart time is represented as hh:mm:ss. But when I start time from 00:00:00, chart shows the start time 12:00:00 and it rotates after 24 hour, but I do not want rotation of time such I want to see 25:00:00 in place of 1:00:00. Is there any solution for these problems? Tha...

Help with JFreeChart overlay

I'm having an issue with a JFreeChart overlaid graph. I'm using JFreeChart 1.0.13. What I am trying to do seems like it was easier to do in earlier versions of JFreeChart? The graph shows a line chart and a bar chart. The data range plotted by the line chart for the Y axis is in the 0-100 range, and the axis for the bar chart is in the ...

Generating URL's for Pie Chart's Section Label using JFree Chart API.

How to generate URL's for labels for Pie Charts using JFree Chart package.We can extend the PieSectionLabelGenerator but i would need examples to show how. Please advice! Thanks in Advance! ...

How to get static range for X axis (Range axis) in JFreechart

Hello everyone. I am using Jfreechart in one of my projects. I have a peculiar problem with line chart. On X axis we have time as unit I want to have static range for lets say for 300 secs and after that it should switch into autorange mode. How to do this. ...

JFreeChart: is it possible to combine a stacked bars and line chart combined?

As in this mockup: I know it is possible to have charts display next to each other using org.jfree.chart.plot.CombinedDomainXYPlot, but is it possible to have them overlaid, possibly using different Y axes (one for the stacked bars to the left of the chart, and one for the line chart shown to the right of the chart)? ...

Tooltips for labels in jfreechart linechart

I have displayed a linechart consisting of 3 lines using Jfreechart in a jsp.I have converted the chart using ChartUtilities to jpeg and have displayed in the jsp.But the labels in these lines are overlapping, making them unreadable.How can i display tooltips for these labels when i am converting to jpeg format??? Please help me with a s...

Asian characters in JFreeChart get rendered as squares in IE 8 but not in Firefox

I'm generating a chart that contains Asian characters. The characters render fine in Firefox, but not in IE 8. If I debug in Eclipse, I can see that the characters are fine in both cases before getting rendered, so they're not getting screwed up before the server or by the server. The Content-Type of the server response header is the fol...

JFreeChart: Displaying data on a scatter plot on mouse click

I would like to display the x,y data for a given point on a scatter plot that I have created using JFreeChart. I have looked online and in the developer's guide as well and am still having trouble doing this. I create the scatter plot using ChartFactory chart = ChartFactory.createScatterPlot( title, xlabel, ylabel, data, plotOrientati...

using dynamic usemap in a4j:mediaOutput for jfreechart implimentation

i am generating pie chart using jfreechart and integrated the same to rich faces using a4j:mediaOutput , can any one advice , if i can have the tool tip enabled for the same. has anyone implemented drilldown charts with these two tech together? ...

How to display a JFreeChart in a JFrame JLabel

I have spent most of the day reading "The JFreeChart Class Library v1.0.13 Developer Guide" and associated examples. I believe I know how to create the chart, I am just not clear on how to display it in a JFrame JLabel. When I tried this LineChartDemo1 chart = new LineChartDemo1("Chart title"); jLabelChart.add(chart); chart.setVisible(t...

How to display a JFreeChart in a NetBeans project

This is similar to a question I asked yesterday but more specific to the problem. What is the correct method to add a JFreeChart to a NetBeans project which already contains various widgets? My updateChart() hides the entire JFrame. I'd like to add the JFreeChart to the JFrame. public class MyClass extends javax.swing.JFrame implements ...

How to hide JFreeChart XYSeries yaxis?

Is there a way to hide a JFreeChart XYSeries yaxis? The yaxis is meaningless on logic analyzer display. ...

How to plot a surface with JFreeChart?

I'd like to be able to set a colour of every point (addressed by x&y, where x is a DateTime (of joda-time, actually) and y is a double) on a chart to represent a z=f(x,y) value. Is it possible with JFreeChart? ...

JFreeChart: how to change XYPlot foreground color?

The JFreeChart XYPlot background color is changed using setBackgroundPaint() but there doesn't seem to be a corresponding setForegroundPaint(). XYPlot plot = (XYPlot) chart.getPlot(); plot.setBackgroundPaint(Color.BLACK); How is the foreground color (the plot) changed? ...