Search found 11182 matches

by david.gilbert
Tue Oct 01, 2019 4:23 am
Forum: JFreeChart
Topic: Waterfall Chart - Space between bars
Replies: 2
Views: 1337

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

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

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

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

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

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

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

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

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

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

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

Re: Need help?

by david.gilbert
Mon Jul 01, 2019 2:14 am
Forum: FXGraphics2D
Topic: java.lang.NoSuchMethodError using jfreechart-fx
Replies: 1
Views: 1861

Re: java.lang.NoSuchMethodError using jfreechart-fx

At first glance this appears to be a bug in JavaFX. Did you try running it on Java 9 for a comparison?
by david.gilbert
Tue Mar 05, 2019 9:52 pm
Forum: JFreeChart
Topic: Series curve labels are overlapping
Replies: 1
Views: 1302

Re: Series curve labels are overlapping

There isn't a general solution for this in JFreeChart. I don't know what might be possible within JasperReports.
by david.gilbert
Tue Mar 05, 2019 9:51 pm
Forum: JFreeChart
Topic: Problem while loading
Replies: 4
Views: 2005

Re: Problem while loading

First, please post the exact exception message you see. Second, perhaps try a more recent version of JFreeChart (1.0.14 is quite old).