Search found 11188 matches

by david.gilbert
Mon Jul 27, 2020 5:10 am
Forum: JFreeChart
Topic: Customize Gantt Chart
Replies: 1
Views: 55

Re: Customize Gantt Chart

To be honest, the Gantt chart support in JFreeChart is pretty basic. If you need something more industrial strength, I can recommend the libraries from DLSC:

https://dlsc.com/products/
by david.gilbert
Sun Jul 26, 2020 7:35 pm
Forum: JFreeSVG
Topic: Bug with fonts containing spaces in family name
Replies: 3
Views: 1283

Re: Bug with fonts containing spaces in family name

I was just trying this out, and I don't get any issue in Chrome, Safari or Firefox on a Mac. Which browser gives you the font not found error? Or is it some other SVG viewer?
by david.gilbert
Sat May 02, 2020 6:35 am
Forum: FXGraphics2D
Topic: FXGraphics2D 2.0
Replies: 0
Views: 2855

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

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

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

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

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

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

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

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

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

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

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?