DialPlot clipping issues

A discussion forum for FXGraphics2D (adds a Java2D API to the JavaFX Canvas).

DialPlot clipping issues

Postby bdschubert » Wed May 21, 2014 4:38 pm

In a DialPlot (like in Dial Demo 4) with the new FXGraphics2D and ChartCanvas, the DialPointer.Pin() and DialBackground(GradientPaint) layers are not clipped to the DialFrame. The DialPointer originates from the edge of the Canvas and the DialBackground fills the entire Canvas.
-- Bruce
-- Bruce
bdschubert
 
Posts: 7
Joined: Wed May 21, 2014 3:57 pm

Re: DialPlot clipping issues

Postby bdschubert » Wed May 21, 2014 5:03 pm

More info: if I set FXGraphics2D.setClippingDisabled(false), then the background and needle are clipped :) , but the ArcDialFrame is not drawn (clipped?).
-- Bruce
bdschubert
 
Posts: 7
Joined: Wed May 21, 2014 3:57 pm

Re: DialPlot clipping issues

Postby david.gilbert » Wed May 21, 2014 7:02 pm

Thanks for the report. Clipping was causing some trouble with the 3D charts (Orson Charts) so that's why I added the flag to enable/disable it (and left it disabled by default). Here's the bug report:

https://javafx-jira.kenai.com/browse/RT-36891

I hope that once that is resolved then things should work better. I'll take a look at the DialPlot case though, because I know DialPlot relies on clipping quite a lot.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Ask your company to buy the JFreeChart Developer Guide
:idea: Check out other products sold by my company Object Refinery Limited
david.gilbert
JFreeChart Project Leader
 
Posts: 11626
Joined: Fri Mar 14, 2003 10:29 am


Return to FXGraphics2D

Who is online

Users browsing this forum: No registered users and 1 guest