Questions tagged [jfreereport]

JFreeReport is now Pentaho Classic Reporting Engine, an embeddable Java reporting library.

JFreeReport is now Pentaho Classic Reporting Engine, an embeddable Java reporting library.

17 questions
7
votes
3 answers

Java printing - Enlarged printouts on a small number of printers

On some printers, for whatever reason, the printouts are automatically enlarged with what seems to be default settings when printing through the Java JVM (Java 7). This seems to be with older printers, and it's pretty rare, but it is happening with…
Stephane Grenier
  • 15,527
  • 38
  • 117
  • 192
2
votes
1 answer

How to deal with SpiderWebPlot in JFreeChart?

Discovering JFreeChart, I hit a problem using SpiderWebPlot. This is what I have today My values are {2, 2, 1.5} By default max value is set to the max value of my dataset (here 2) but I want to set it to 5 which as you can see it did but it did…
Spredzy
  • 4,982
  • 13
  • 53
  • 69
2
votes
2 answers

Change the Chart point color according to value - JFreeChart

I have a CSV file which looks like this (the file can be be downloaded here) I want to graph this with time (first column in the spreadsheet) on the X axis and the names of the switches on the Y axis (column headings for all but the first column).…
Menuka Ishan
  • 5,164
  • 3
  • 50
  • 66
2
votes
1 answer

Java Report with charts made by JFreeChart

There is a Java library for creating report (PDF files) using the chart made by JFreeReport? Someone talk me about JFreeReport but I can't find any infos about it. Maybe the JFreeReport project is deprecated?
Alberto
  • 2,881
  • 7
  • 35
  • 66
1
vote
1 answer

How to remove slice section marker from jfree chart

i am using jfree chart in my report.I want to remove slice section from the piechart: Also,i want to make it center the slice value and mentioned below the script which i am using currently: import java.awt.Color; import…
sam140
  • 219
  • 1
  • 5
  • 27
1
vote
1 answer

Writing J Free chart with Chinese labels To pdf

I am trying to write a JFree chart with Chinese labels To PDf, I am able to see the chart in pdf without lables. But i need chart with lables. Below is the code snippet. Could someone please help on this. public static void main(String[] args)…
naveenR
  • 53
  • 4
1
vote
1 answer

Increase the length of line in legend in jfreechart

I am rendering a line chart using JFreechart. I need help to modify legend which is being rendered by the JFree. I need to increase the length of line in legend area. Below image shows the current output. Below images shows what I want to…
user1520277
  • 59
  • 2
  • 11
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

Jfree Using custom names to categories

I'm very new to Jfreechart, Please help me to get the solution for this, I'm using jfree to draw a graph for a categories which has specific code names like 563,258.855,etc... So i want to assign these values as labels to the domain axis, but by…
user1065490
  • 305
  • 6
  • 16
0
votes
3 answers

JFreeReport trying to dynamically set height of line item with a border around it

Using the JFreeReport classic engine, I have:
Stephane Grenier
  • 15,527
  • 38
  • 117
  • 192
0
votes
0 answers

Error compiling ChartUtilities.saveChartAsJPEG()

I get this error: ChartUtilities.saveChartAsJPEG(new File(path), chart, 300, 300); The method saveChartAsJPEG(java.io.File, org.jfree.chart.JFreeChart, int, int) in the type ChartUtilities is not applicable for the…
Manish
  • 19
  • 2
0
votes
2 answers

Using relative path for a static image in a Jfree report template

I have a JfreeReport Application which run under Tomcat inside a jar. In the report template (which exists outside the jar) I have the following: file:///var/lib/tomcat5.5/webapps/Reports/images/logo.gif But then I get…
rs1
0
votes
2 answers

java.awt.print.PrinterException: Invalid name of PrintService

I would ask it in the form of a question, but I have no idea why I'm getting this exception. I can't find any real documentation online either. To give you context although I don't think it's really relevant, I'm using it within the JFreeReport…
Stephane Grenier
  • 15,527
  • 38
  • 117
  • 192
0
votes
1 answer

Getting customizer class error in case using BarChart: BarRenderer cannot be cast to net.sf.jasperreports.engine.JRChartCustomizer

I am trying to use the customizer class BarRenderer from jFree charts to customize a bar chart, I have added the jar to the classpath and added the class to the customizer class section of the Bar Chart properties as…
0
votes
1 answer

How to set the custom tooltip label in Jfree PieChart?

In my JfreeChart, the label formats are {0}, {1}, {2}. Here {0} represents the pie section key, {1} represents the section value and {2} represents the percentage. I am setting the label in piechart by using the following code…
Davis
  • 1
  • 1
1
2