Search found 11213 matches

by david.gilbert
Sat Jun 09, 2018 12:01 pm
Forum: JFreeChart
Topic: hi guy,i have a question,please help me!
Replies: 0
Views: 4029

Re: hi guy,i have a question,please help me!

I would take a look at SimpleHistogramDataset, it is a different dataset implementation that allows for updates.
by david.gilbert
Fri Jun 08, 2018 3:35 pm
Forum: JFreeChart
Topic: XYDataSeries does not update
Replies: 2
Views: 4597

Re: XYDataSeries does not update

At some point (I think version 1.0.14) I changed the getDataItem() method to return a clone of the object to make it harder for the XYSeries to have its data values changed without triggering a SeriesChangeEvent.
by david.gilbert
Thu Jun 07, 2018 6:41 pm
Forum: JCommon
Topic: J free Chart
Replies: 0
Views: 30123

Re: J free Chart

What is the exact error, because that message doesn't make a lot of sense. In any case, I would recommend updating to JFreeChart 1.0.19 or 1.5.0.
by david.gilbert
Thu Jun 07, 2018 6:39 pm
Forum: JCommon
Topic: hi guy,i have a question,please help me!
Replies: 1
Views: 30809

Re: hi guy,i have a question,please help me!

Better is to make the jump to JFreeChart 1.5.0, then you don't need JCommon at all. But if you must use JFreeChart 1.0.x, then you'll see the JCommon dependency in the pom.xml <dependency> <groupId>org.jfree</groupId> <artifactId>jcommon</artifactId> <version>1.0.24</version> </dependency>
by david.gilbert
Mon Jun 04, 2018 7:33 pm
Forum: JFreeChart
Topic: I am a new member and I need help from everyone.
Replies: 0
Views: 4285

Re: I am a new member and I need help from everyone.

It's possible there was a bug somewhere along the way. The latest version is working, you should try to upgrade to the latest version of JFreeChart or compare the XYSeries and DatasetUtilities classes between the two versions to see what has changed.
by david.gilbert
Fri Jun 01, 2018 4:54 am
Forum: JFreeChart
Topic: JFreeChart forum link broken
Replies: 1
Views: 4221

Re: JFreeChart forum link broken

Fixed now, thanks for letting me know.
by david.gilbert
Fri Jun 01, 2018 4:40 am
Forum: JFreeChart
Topic: hi guy,i have a question,please help me!
Replies: 1
Views: 3733

Re: hi guy,i have a question,please help me!

The item labels feature doesn't include any automatic way to avoid labels overlapping - sometimes there just isn't enough space. I would suggest that if you need to display data values for every single point in your chart, then perhaps you should just present the data in a table, maybe with a chart ...
by david.gilbert
Fri Jun 01, 2018 4:36 am
Forum: JFreeChart
Topic: JFreeChart for JavaFX - Moving Average takes VERY long time
Replies: 8
Views: 10004

Re: JFreeChart for JavaFX - Moving Average takes VERY long time

How is the source series defined? I think there might be a mismatch between the RegularTimePeriod instance used internally by the TimeSeries and the periodCount argument you are using in the call to the method creating the moving average, but it is hard to tell.
by david.gilbert
Mon Apr 16, 2018 8:06 pm
Forum: JFreeChart
Topic: Two 1.6 gpf water closets introduced at Builders Show ATLANTA
Replies: 2
Views: 5010

Re: Custom colors for scatter plots

This renderer uses a single color in order to maximise performance - once you start changing the color for each data item, you'll have to bear the cost of that state change.
by david.gilbert
Sun Apr 01, 2018 8:00 am
Forum: JFreeChart
Topic: Save as SVG by right click on chartpanel
Replies: 2
Views: 5108

Re: Save as SVG by right click on chartpanel

You need to ensure that the jfreesvg.jar file is on the class path. As long as that is the case, JFreeChart should automatically detect it and provide the option to export charts to SVG format.
by david.gilbert
Thu Feb 22, 2018 7:16 am
Forum: JFreeChart
Topic: Customizing Popup menu for PolarChartPanel
Replies: 2
Views: 5381

Re: Customizing Popup menu for PolarChartPanel

For the PDF and SVG export options, there is some code in ChartPanel that is auto-detecting if OrsonPDF and JFreeSVG are on the class path, and adding the menu items only if they are there. It looks like the PolarChartPanel class skips this code entirely, so there is some work to do to add these. I'...
by david.gilbert
Thu Feb 22, 2018 6:24 am
Forum: JFreeChart
Topic: Line Annotation does not draw
Replies: 1
Views: 3948

Re: Line Annotation does not draw

The coordinates that you pass to the XYLineAnnotation constructor need to be specified in data space (that is, values relative to the chart's axes) not in screen space.
by david.gilbert
Sat Feb 10, 2018 2:07 pm
Forum: JFreeChart
Topic: Chart Appears as red colour in android mobile acrobat Reader
Replies: 1
Views: 4537

Re: Chart Appears as red colour in android mobile acrobat Re

I would guess that this is a bug in the PDF viewer application, not something related to JFreeChart.
by david.gilbert
Fri Feb 09, 2018 7:34 am
Forum: JFreeChart
Topic: Crosshairs and multiple range axes
Replies: 4
Views: 8122

Re: Crosshairs and multiple range axes

Interesting, I will take a closer look at this.
by david.gilbert
Fri Feb 09, 2018 7:33 am
Forum: JFreeChart
Topic: Please help: tooltip stop working on rotated plot
Replies: 1
Views: 3924

Re: Please help: tooltip stop working on rotated plot

Can you post a demo that is self contained? That is, one that I can copy and paste, compile and run. Then I will have a better chance to debug the issue. Also, which version of JFreeChart do you see this issue with?