Search found 28 matches

by plusik
Sun Feb 14, 2016 4:21 am
Forum: JFreeChart
Topic: Getting a reference to ChartCanvas (JavaFX)
Replies: 11
Views: 10115

Getting a reference to ChartCanvas (JavaFX)

Hi,

It seems there is no way to get a reference to ChartCanvas from the corresponding ChartViewer node. I need the reference to manipulate the mouse listeners, which are properties of the canvas, not of the ChartViewer.

Perhaps this is an easy thing to add to version 1.0.20?

Tomas
by plusik
Thu Jan 28, 2016 5:29 pm
Forum: JFreeChart
Topic: Stacked line charts
Replies: 2
Views: 3360

Re: Stacked line charts

That looks great, thanks.
by plusik
Thu Jan 28, 2016 3:49 pm
Forum: JFreeChart
Topic: Stacked line charts
Replies: 2
Views: 3360

Stacked line charts

Hi, Is it possible to use JFreeChart to produce a stacked (3D-like) plot of multiple line charts, such as shown below? https://i.imgsafe.org/b3174ed.png I imagine modifying the LineAndShapeRenderer might be the right starting direction. But I am worried about the zooming functions, axes, etc. Thanks...
by plusik
Tue Jan 19, 2016 4:01 pm
Forum: JFreeChart
Topic: Using ChartViewer in FXML
Replies: 1
Views: 2851

Using ChartViewer in FXML

Hi, Currently the ChartViewer node cannot be used in FXML. I think the only reason is because it does not have a constructor without arguments (when I extended the ChartViewer class and added a simple constructor without arguments, I could add my wrapper class into FXML and it works). By the way, th...
by plusik
Wed Jan 06, 2016 7:46 pm
Forum: JFreeChart
Topic: JavaFX support
Replies: 7
Views: 14630

Re: JavaFX support

Yes, we can compile the javafx-enabled jar using ant, but it would be nice to have it in Maven Central so mavenized projects can directly add it as a dependency.

David, *please*.
by plusik
Fri Jan 01, 2016 7:01 pm
Forum: JFreeChart
Topic: JavaFX support
Replies: 7
Views: 14630

JavaFX support

Hi,

There has been no new release of JFreeChart since July 2014. Would it be possible to release an updated version including the JavaFX support classes, and deploy it in Maven Central? I think more and more people are working in JavaFX now, so it would be helpful.

Happy New Year!

Tomas
by plusik
Mon Dec 02, 2013 4:03 am
Forum: JFreeChart
Topic: JFreeChart 1.0.17
Replies: 9
Views: 14659

Re: JFreeChart 1.0.17

Thanks a lot!
Is this going to be uploaded also to Maven repository?
by plusik
Tue Nov 12, 2013 4:07 am
Forum: JFreeChart
Topic: JFreeChart 1.0.16
Replies: 3
Views: 5964

Re: JFreeChart 1.0.16

It seems version 1.0.16 is not available at the Maven Central, or am I missing something?
Best regards,
Tomas
by plusik
Fri Aug 16, 2013 4:39 am
Forum: JFreeChart
Topic: ParamChecks.nullNotPermitted()
Replies: 6
Views: 5788

Re: ParamChecks.nullNotPermitted()

Indeed it is useful. What I meant was that it is not useful for semantic analysis.
Annotations can be added to return values as well:

Code: Select all

@Nonnull Axis getAxis() { ... } 
This way the IDE can keep track of what can be null and what cannot be null, saving a lot of time for the developer.
by plusik
Tue Aug 13, 2013 3:45 am
Forum: JFreeChart
Topic: ParamChecks.nullNotPermitted()
Replies: 6
Views: 5788

Re: ParamChecks.nullNotPermitted()

ParamChecks.nullNotPermitted() is good for internal control within JFreeChart, but it is not useful for JFreeChart users. On the other hand, adding @Nonnull annotations would allow the users to use these in their semantic analysis - e.g. getting IDE warnings where nulls are not properly checked etc....
by plusik
Sun Aug 04, 2013 6:29 am
Forum: JFreeChart
Topic: ParamChecks.nullNotPermitted()
Replies: 6
Views: 5788

ParamChecks.nullNotPermitted()

Hi, I noticed the use of ParamChecks.nullNotPermitted() in the new JFreeChart code. Just wondering - wouldn't it be better to use annotations such as @NonNull, @Nullable etc for this purpose? Modern IDEs have pretty good support for semantic analysis using these annotations. (this is not a criticism...
by plusik
Mon Apr 09, 2007 6:45 am
Forum: JFreeChart
Topic: XYSeries not synchronized
Replies: 3
Views: 3817

still not fixed...

Hi,

this bug is still not fixed in JFreeChart 1.0.5.

Tomas
by plusik
Tue May 16, 2006 3:40 am
Forum: JFreeChart
Topic: XYSeries not synchronized
Replies: 3
Views: 3817

XYSeries not synchronized

Hello, I'm using JFreeChart 1.0.1. I was often getting NullPointerExceptions when updating the XYSeries at the same time while the chart (XYPlot) was being drawn. When I changed the XYSeries.java source constructor from this.data = new java.util.ArrayList(); to this.data = Collections.synchronizedLi...