Search found 11197 matches

by david.gilbert
Sun Jan 10, 2021 7:04 pm
Forum: JFreeChart
Topic: How Do You Use jfreechart In A Java Program?
Replies: 1
Views: 57

Re: How Do You Use jfreechart In A Java Program?

There's some step-by-step instructions here: https://jfree.github.io/jfreechart-and-opencsv/ And also the JFreeChart Developer Guide is useful for getting started - we sell that to support the project, it comes with source code for all the JFreeChart demos as well (you can run the demos by downloadi...
by david.gilbert
Sun Jan 03, 2021 9:04 pm
Forum: JFreeChart
Topic: Changing the depth of the bars in a 3D barchart
Replies: 1
Views: 194

Re: Changing the depth of the bars in a 3D barchart

The BarRenderer3D class (in older versions of JFreeChart) has the following constructor where you can set the offsets for the 3D effect: public BarRenderer3D(double xOffset, double yOffset) But you should note that these "3D" renderers have been removed from JFreeChart in more recent releases - you ...
by david.gilbert
Thu Dec 31, 2020 6:14 pm
Forum: JFreeChart
Topic: JFreeChart 1.5.2
Replies: 0
Views: 224

JFreeChart 1.5.2

JFreeChart 1.5.2 is now available to download: https://github.com/jfree/jfreechart/releases/tag/v1.5.2 Version 1.5.2 (31 December 2020) - observe series visibility flag in ClusteredXYBarRenderer (#89); - apply rendering hints to overlays (#187); - don't draw disabled outlines on crosshair labels (#1...
by david.gilbert
Wed Dec 23, 2020 6:02 am
Forum: JFreeChart
Topic: How to draw discontinuous timeseries chart
Replies: 1
Views: 151

Re: How to draw discontinuous timeseries chart

If you add an observation to the time series with a null value, this will cause the line to be interrupted as you require it.
by david.gilbert
Sat Dec 19, 2020 2:06 pm
Forum: JFreeSVG
Topic: Can JFreeSVG create square icons containing text?
Replies: 2
Views: 315

Re: Can JFreeSVG create square icons containing text?

Here is a sample - you would probably want to add some code to compute the string bounds and align the text accordingly, but the hard-coded positions here worked OK for me: public static void main(String[] args) throws IOException { SVGGraphics2D g2 = new SVGGraphics2D(200, 200); g2.setPaint(Color.R...
by david.gilbert
Sat Dec 19, 2020 1:25 pm
Forum: JFreeSVG
Topic: Can JFreeSVG create square icons containing text?
Replies: 2
Views: 315

Re: Can JFreeSVG create square icons containing text?

Yes, in fact JFreeSVG is able to create SVG output for anything you can "draw" via Java's Graphics2D API. It's not limited to charts. When I get time I'll post a small sample program.
by david.gilbert
Sat Dec 19, 2020 1:20 pm
Forum: JFreeChart
Topic: 1.5.1 PeriodAxis.draw() does not honor axis.isVisible()
Replies: 3
Views: 237

Re: 1.5.1 PeriodAxis.draw() does not honor axis.isVisible()

Thanks for the report. I committed the fix this morning - it will be included in the next release (1.5.2).
by david.gilbert
Sat Oct 31, 2020 11:19 am
Forum: JFreeChart
Topic: JFreeChart-FX 2.0
Replies: 0
Views: 1003

JFreeChart-FX 2.0

JFreeChart-FX 2.0 is now available! https://github.com/jfree/jfreechart-fx This release is a Java module and requires Java 11 or later. Version 2.0 (30 October 2020) - created a Java module org.jfree.chart.fx (requires Java 11 or later); - fixed a bug in ChartViewer (#7); - fixed a bug in ZoomHandle...
by david.gilbert
Fri Oct 30, 2020 9:25 pm
Forum: JFreeChart
Topic: JFreeChart 1.5.1
Replies: 0
Views: 980

JFreeChart 1.5.1

JFreeChart 1.5.1 is now available for download: https://github.com/jfree/jfreechart/releases/tag/v1.5.1 Version 1.5.1 (29 October 2020) - add DeviationStepRenderer (PR #173) - modify buffer in ChartPanel to handle high DPI displays (bug #170); - fix for exception on extreme zoom on NumberAxis (bug #...
by david.gilbert
Mon Jul 27, 2020 5:10 am
Forum: JFreeChart
Topic: Customize Gantt Chart
Replies: 1
Views: 1212

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

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

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

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 ...