jfreechart Questions

1

Solved

First time poster, bear with me... I have two questions. First, I want to know how to add an image to a PDFBox 2.0 document using a BufferedImage. The question has been asked here: Add BufferedIma...
Magnetron asked 1/4, 2016 at 23:55

1

I'm trying to create a basic barchart and when I compile it gives an error like Exception in thread "main" java.lang.ClassCastException: org.jfree.data.category.DefaultCategoryDataset cannot be...
Chabot asked 23/3, 2016 at 7:0

3

Solved

I am converting my time calculations from self implemented code to Java 8 Time API. I need to have the start and end time in milliseconds from a java.time.Year or java.time.Month class, which I pl...
Antedate asked 23/12, 2015 at 9:45

2

I cannot get JFreeChart to work in IntelliJ. What I have done so far: Using Win 7, IntelliJ 13.1.4 and Java 1.7 I am relatively new to IntelliJ Started a new project in IntelliJ which creates th...
Riverhead asked 24/9, 2014 at 10:25

1

Solved

Here is code based on @trashgod's example about real time plotting: import java.awt.EventQueue; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.text.SimpleDate...
Fastback asked 9/8, 2015 at 8:34

3

I am looking for slide bars with two knobs for a user to move them separately or both together, similar to the one in the picture to use in Java. Any sidebar with two knobs (two indicators) would d...
Gaiseric asked 26/6, 2013 at 23:20

2

Solved

I am using JFreeChart to render a stacked area chart. By default, the chart legend is rendered below the plot with the elements laid out horizontally. I would like the legend to appear on the right...
Bacteriology asked 11/2, 2011 at 12:13

2

Solved

I'm trying to create a custom dynamic histogram type bar graph in Java. I've searched a lot but coudn't find a way to achieve this. I'm aware of the JFreeChart library but it doesn't meet my needs...
Lendlease asked 17/4, 2015 at 19:47

1

I am trying to plot a graph and graph should display when JButton is clicked. To create data set, I am taking some value through JTextField and then created a chart and plotted it. I've got 2 probl...
Pinter asked 13/4, 2015 at 18:29

2

Solved

I sometimes need to display a representation of image data in the form of a histogram. I'm especially interested in ways to access the image data. I'm familiar with JFreeChart, which includes histo...
Ragg asked 14/2, 2015 at 19:25

2

Can someone tell me how to change samples of series color in legend in jfreechart. What I have now is small line of series color eg: I would like to have square sample of those colors. Here is an e...
Detonator asked 5/9, 2011 at 10:42

7

Solved

I am building a web application who's interface includes a large scatter plot to give the user an overview of his data. The scatter plot has about 200,000 points. Currently I am using the JFr...
Olli asked 21/9, 2011 at 8:8

2

Solved

When rendering a chart with JFreeChart, I noticed a layout problem when the chart's category labels included Japanese characters. Although the text is rendered with the correct glyphs, the text was...
Chorion asked 26/9, 2014 at 16:8

3

Solved

I am using the JFreeChart API to generate some chart in my Java application. In one of my charts, I try to use the LogAxis object to make my y-axis a log-scale axis (A in the figure) by the followi...
Panelboard asked 27/4, 2012 at 8:54

3

Solved

I have created XY line chart using JFreeChart, having two datasets, I want both the lines to be in different colors. I tried using following code- XYPlot plot = chart.getXYPlot(); XYItemRenderer...
Puryear asked 12/4, 2012 at 13:0

2

Solved

We're migrating to JBoss AS7 from an older version of JBoss and we use JFreeChart in one part of our app: chart = ChartFactory.createStackedBarChart( "", "", "Data", dataset, PlotOrientation.HORI...
Fundament asked 26/4, 2012 at 21:13

1

Solved

I'm trying to make a chart in my application that returns me the temperature of days during the months. This chart is a JFreechart TimeSeriesCollection, and I am unable to have the graph read cor...
Sporangium asked 15/7, 2014 at 14:38

1

How can i draw scatter plot of datas in mysql database table using jfreechart in java. I have used swing library. Any link would be helpful. I searched google but couldnot find a understanding solu...
Quaternion asked 6/7, 2014 at 1:20

0

How can I do in order to show less values ​​on the X axis, to get the data organized? However I want the values ​​are all shown. One idea I had was to use the zoom so you can see all the records,...
Furmenty asked 20/6, 2014 at 14:45

5

Solved

I am writing a scientific experiment control program in java which includes a GUI. I help choosing a charting library for this task. The program will contain two types of charts: A line chart wi...
Sammer asked 12/5, 2012 at 15:32

1

I generate a chart using three data series (using XYSplineRenderer in JFreeChart) and for some reason the blue and red curves have an almost polynomial fit in some spots. The program seems to think...
Sturm asked 4/5, 2014 at 4:21

2

Solved

I'm creating XYPlot and I need to reverse the order on y-Axis (that is, I need lower numbers to be higher on the axis). I would appreciate any hints how to do that.
Glasser asked 1/11, 2011 at 18:42

2

Solved

Is there a way to hide a JFreeChart XYSeries yaxis? The yaxis is meaningless on logic analyzer display.
Organelle asked 19/10, 2010 at 22:5

2

I can't seem to set individual line colors for all four lines. When I use the lines: plot.getRenderer().setSeriesPaint(0, new Color(0x00, 0xFF, 0x00)); plot.getRenderer().setSeriesPaint(1, new Col...
Lorielorien asked 29/1, 2014 at 10:7

4

Solved

Friends, Atlast i just generate JFreeChart for the collected value from the database. But on that, i just use Second sec = new Second(); Series.add(sec.previous(), ExistingValue); Series.add(sec, ...
Clerestory asked 21/1, 2014 at 9:17

© 2022 - 2024 — McMap. All rights reserved.