Search found 11185 matches

by david.gilbert
Sat May 02, 2020 6:35 am
Forum: FXGraphics2D
Topic: FXGraphics2D 2.0
Replies: 0
Views: 1083

FXGraphics2D 2.0

FXGraphics2D 2.0 has been released. It is now a first-class Java module and requires Java 11 or later. From the README file: 27-Feb-2020 : Version 2.0 - converted to a module (org.jfree.fxgraphics2d); - now requires JDK 11 or later. FXGraphics2D is hosted at GitHub: https://github.com/jfree/fxgraphi...
by david.gilbert
Sat Feb 29, 2020 9:53 am
Forum: JFreeSVG
Topic: JFreeSVG 4.0
Replies: 1
Views: 3737

JFreeSVG 4.0

JFreeSVG 4.0 has been released. It is now a first-class Java module and requires Java 11 or later. From the README file: Version 4.0 (27-February-2020) - created a module for JFreeSVG: `org.jfree.svg`; - increased the minimum required Java version to 11; - changed the Maven artifact ID to match the ...
by david.gilbert
Tue Oct 01, 2019 4:23 am
Forum: JFreeChart
Topic: Waterfall Chart - Space between bars
Replies: 2
Views: 2936

Re: Waterfall Chart - Space between bars

That is a bit inconsistent, I guess because the original code was submitted by someone else and I never spotted it. I'll look and see what is required to fix it.
by david.gilbert
Tue Oct 01, 2019 4:19 am
Forum: JFreeChart
Topic: Help with font size please
Replies: 2
Views: 2819

Re: Help with font size please

You can use the setTickLabelFont() method: plot.getDomainAxis().setTickLabelFont(new Font(Font.DIALOG, Font.BOLD, 6)); Just note in the demo that the line ChartUtils.applyCurrentTheme(chart); will override any formatting changes you make, so you should either adjust the theme, or make your changes a...
by david.gilbert
Sat Sep 28, 2019 1:19 pm
Forum: JFreeChart
Topic: Problem with 1.5 Example Source DualAxisDemo2.java
Replies: 2
Views: 2316

Re: Problem with 1.5 Example Source DualAxisDemo2.java

I see this also. What is happening is that the range for the axes is determined by looking at the minimum and maximum data values. In this case, there is just a single value (429.6) so JFreeChart has to decide what should be the minimum and maximum values on the axis. It does this by looking at an a...
by david.gilbert
Sun Sep 08, 2019 1:49 pm
Forum: JFreeChart
Topic: Migrating to 1.5.0
Replies: 4
Views: 5682

Re: Migrating to 1.5.0

No, there are breaking API changes. The README on the GitHub project page provides an overview of the main changes:

https://github.com/jfree/jfreechart
by david.gilbert
Tue Jul 02, 2019 5:57 am
Forum: JFreeChart
Topic: Pert Chart support in jfreechart
Replies: 1
Views: 3147

Re: Pert Chart support in jfreechart

No, JFreeChart is more targeted at plotting numerical and time-series data.
by david.gilbert
Tue Jul 02, 2019 5:53 am
Forum: JFreeChart
Topic: A host of questions, two easy and one very hard
Replies: 6
Views: 5648

Re: A host of questions, two easy and one very hard

The getSeriesStroke() method will not return null if the autoPopulateSeriesStroke flag is set to true, which I think is the default:

http://www.jfree.org/jfreechart/api/jav ... e-boolean-
by david.gilbert
Mon Jul 01, 2019 6:59 am
Forum: JCommon
Topic: hi guys, i have a question please help me!
Replies: 1
Views: 3966

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

Which test fails? What are the results on newer JREs? Note that JCommon isn't used in the latest versions of JFreeChart, so another option would be to migrate to the latest release of JFreeChart.
by david.gilbert
Mon Jul 01, 2019 2:39 am
Forum: JFreeChart
Topic: AbstractDataSource
Replies: 1
Views: 3144

Re: AbstractDataSource

I'm not sure of the version numbers you are referring to, but AbstractDataSource became AbstractDataset way back in the history of JFreeChart.
by david.gilbert
Mon Jul 01, 2019 2:36 am
Forum: JFreeChart
Topic: A host of questions, two easy and one very hard
Replies: 6
Views: 5648

Re: A host of questions, two easy and one very hard

For your second question, could it be that the renderer is not an instance of DefaultCategoryItemRenderer?
by david.gilbert
Mon Jul 01, 2019 2:31 am
Forum: JFreeChart
Topic: A host of questions, two easy and one very hard
Replies: 6
Views: 5648

Re: A host of questions, two easy and one very hard

The first issue is cause by the drawing of the zero baseline for the domain axis - this is a vertical line drawn at the value 0 on the x-axis. You have this line in your code: xyp.setDomainZeroBaselineVisible(true); Remove it and the baseline won't be drawn anymore and that should solve your problem.
by david.gilbert
Mon Jul 01, 2019 2:19 am
Forum: JFreeChart
Topic: How to use/set LocalizationBundle.properties files correctly
Replies: 1
Views: 3006

Re: How to use/set LocalizationBundle.properties files correctly

The correct file will be picked up automatically based on the default locale of the user's runtime Java Virtual Machine.
by david.gilbert
Mon Jul 01, 2019 2:17 am
Forum: FXGraphics2D
Topic: Need help?
Replies: 1
Views: 14882

Re: Need help?