Search found 12 matches

by DerPe
Fri Nov 24, 2017 4:15 pm
Forum: JFreeChart
Topic: Special typ of line diagramm
Replies: 5
Views: 6484

Re: Special typ of line diagramm

Hi, now I inserted the jars into my build path and I have it worked. I have a question about how to use orsonchart: I have 2000 of the below mentioned diagramms, stored as (X,Y) datapoints for a XYStepRenderer chart (in jFreeChart). Now I would like to have a such a diagramm for every z point in Ors...
by DerPe
Wed Nov 22, 2017 5:47 pm
Forum: JFreeChart
Topic: Special typ of line diagramm
Replies: 5
Views: 6484

Re: Special typ of line diagramm

Thanks david.gilbert for your answer, Can I just use Orson charts just like the JFreeChart classes and just adjust the type of diagramm in the code or do I have to set up completely new classes for my applications. If this is the case is there any example code for Orson Charts? And another question:...
by DerPe
Sun Nov 19, 2017 4:29 pm
Forum: JFreeChart
Topic: Special typ of line diagramm
Replies: 5
Views: 6484

Re: Special typ of line diagramm

Thanks david.gilbert for your answer,

Yes I was searching exactly for a XYStepRenderer. Now a follow up question: How can I display a barchart with 3 axis: X,Y,Z. This means I want to have a conventionale XY chart for every Z, making the chart 3 dimensional. How can this be done?
by DerPe
Fri Nov 17, 2017 11:36 am
Forum: JFreeChart
Topic: Special typ of line diagramm
Replies: 5
Views: 6484

Special typ of line diagramm

H guys, I would like to have a XY diagramm where the Y values are connected like the following sketch (sorry, i could not manage to upload a image here since I do not know how to do that). *--------------------------- ,,,,,,,,,,,,,,,,,,,,,,,,, - ,,,,,,,,,,,,,,,,,,,,,,,,, - ,,,,,,,,,,,,,,,,,,,,,,,,, ...
by DerPe
Fri Aug 25, 2017 9:07 am
Forum: JFreeChart
Topic: Creating bars in a XY Bar Chart
Replies: 8
Views: 13408

Re: Creating bars in a XY Bar Chart

Thanks John Matthews for your answers, now everything looks good 8) . I really appreciate your help. Good work:-)
by DerPe
Mon Aug 21, 2017 8:11 am
Forum: JFreeChart
Topic: Creating bars in a XY Bar Chart
Replies: 8
Views: 13408

Re: Creating bars in a XY Bar Chart

At a guess, you're seeing the highlight from the renderer's default GradientBarPainter like this. You can switch to the StandardBarPainter like this. Thanks John Matthews for your answer, I tried to insert the code from the linked page (I had to change the name of the variable plot into plot1, beca...
by DerPe
Fri Aug 18, 2017 8:47 am
Forum: JFreeChart
Topic: Creating bars in a XY Bar Chart
Replies: 8
Views: 13408

Re: Creating bars in a XY Bar Chart

hanks John Matthews for your answer, No it in fact looks like a bar diagramm. But there is one problem. The bars are separated with thin white lines. Meaning that if let's say we have (x=1, y=1) and (x=2, y=2) then there is a small white gap between x=1 and x=2. How can I eliminate this gap such tha...
by DerPe
Wed Aug 16, 2017 4:40 pm
Forum: JFreeChart
Topic: Creating bars in a XY Bar Chart
Replies: 8
Views: 13408

Re: Creating bars in a XY Bar Chart

Thanks John Matthews for your answer. I changed the plot to a XYBarChart but the chart looks exacty the same. It is still a Line Chart and not a BarChart. I have the following code: package testing; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Font; import javax.swing.BorderFa...
by DerPe
Tue Aug 15, 2017 4:16 pm
Forum: JFreeChart
Topic: Creating bars in a XY Bar Chart
Replies: 8
Views: 13408

Creating bars in a XY Bar Chart

Hi guys, I have the following modified example for creating a XY Bar chart: package testing; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Font; import javax.swing.BorderFactory; import javax.swing.JFrame; import javax.swing.SwingUtilities; import org.jfree.chart.ChartFactory; ...
by DerPe
Tue Aug 15, 2017 9:45 am
Forum: JFreeChart
Topic: Avoid filling the points in a XYLineChart
Replies: 5
Views: 5609

Re: Avoid filling the points in a XYLineChart

Thanks John Matthews for your answer, now it looks good :P . Nonetheless I have some further questions: 1)On the left and right side of your diagramm you can see an empty space within the chart. How can you eliminte those? (I am not talking about the border; I am talking about the empty space direct...
by DerPe
Mon Aug 14, 2017 3:53 pm
Forum: JFreeChart
Topic: Avoid filling the points in a XYLineChart
Replies: 5
Views: 5609

Re: Avoid filling the points in a XYLineChart

Hi John Matthews, thanks for your answer, When I try "renderer.setBaseShapesFilled(false);" nothing changes at all. The lines are still as thick as the used to be. After inserting "renderer.setSeriesShapesFilled(series, false);" I get either the error message that rederer cannot be resolved or that ...
by DerPe
Mon Aug 14, 2017 10:20 am
Forum: JFreeChart
Topic: Avoid filling the points in a XYLineChart
Replies: 5
Views: 5609

Avoid filling the points in a XYLineChart

Hi guys, I just began to use JFreeChart and I have two questions: 1) I use a XLChart for displaying a timeserie with 1440 entries. The problem is that the lines are quite fat. Changing the series stroke does not have an effect: XYLineAndShapeRenderer renderer = new XYLineAndShapeRenderer(); renderer...