Search found 11145 matches

by david.gilbert
Mon Apr 16, 2018 8:06 pm
Forum: JFreeChart
Topic: Custom colors for scatter plots
Replies: 2
Views: 109

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: 271

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: 363

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: 386

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: 420

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: 742

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: 2
Views: 427

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?
by david.gilbert
Wed Jan 31, 2018 9:31 pm
Forum: JFreeChart
Topic: improve realtime chart performance
Replies: 2
Views: 597

Re: improve realtime chart performance

Each chart repaint will redraw everything, so it isn't the most efficient. There aren't any optimisations available to make it faster, unfortunately. There was a project that was optimising for realtime updates: https://sourceforge.net/projects/jrobin/ I don't think it is maintained anymore (I might...
by david.gilbert
Wed Jan 31, 2018 9:26 pm
Forum: JFreeChart
Topic: Density Plot Chart
Replies: 1
Views: 599

Re: Density Plot Chart

Yes, XYBlockRenderer would do the job. In the demos you can try XYBlockChartDemo1.java and also CrossSectionDemo1.java.

Image
by david.gilbert
Wed Jan 24, 2018 7:08 am
Forum: JFreeChart
Topic: Two shapes plotted on points of a linegraph
Replies: 2
Views: 581

Re: Two shapes plotted on points of a linegraph

If you are using XYLineAndShapeRenderer, the shape displayed for any particular data item is returned by the method: public Shape getItemShape(int row, int column) The default implementation for this just returns one shape per data series, but if you override it you can return a different shape for ...
by david.gilbert
Sat Dec 30, 2017 10:54 am
Forum: JFreeChart
Topic: JFreeChart-FX 1.0.1
Replies: 0
Views: 832

JFreeChart-FX 1.0.1

A new version of JFreeChart-FX (1.0.1) has been released. This project contains a set of extensions to allow JFreeChart to be used in JavaFX client applications:

https://github.com/jfree/jfreechart-fx
by david.gilbert
Sat Dec 16, 2017 8:41 am
Forum: JFreeChart
Topic: StandardLegend class in 1.0.12 version
Replies: 1
Views: 477

Re: StandardLegend class in 1.0.12 version

It was renamed LegendTitle because, if I recall correctly, the legend code was integrated into the title/subtitle mechanism for layout purposes.
by david.gilbert
Wed Dec 06, 2017 4:41 pm
Forum: JFreeChart
Topic: legend.setPosition()
Replies: 2
Views: 419

Re: legend.setPosition()

The setPosition() method is still there, it is just that the class used for the argument (RectangleEdge) has moved to a new package *within* JFreeChart (so the JCommon dependency could be dropped). So make sure you are not importing the old RectangleEdge class from JCommon.
by david.gilbert
Mon Nov 20, 2017 9:22 pm
Forum: JFreeChart
Topic: 1.5.0 Migration Issue
Replies: 7
Views: 904

Re: 1.5.0 Migration Issue

Will the new release on the 1.0 branch be functionally equivalent to 1.5? You mentioned that 2D charts display more cleanly in 1.5. Is this something that would be added to the 1.0 branch. I'm leaning towards moving on to 1.5, but want to understand what the next release on the 1.0 branch will incl...