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
DialPlot clipping issues
-
- Posts: 7
- Joined: Wed May 21, 2014 3:57 pm
- antibot: No, of course not.
DialPlot clipping issues
-- Bruce
-
- Posts: 7
- Joined: Wed May 21, 2014 3:57 pm
- antibot: No, of course not.
Re: DialPlot clipping issues
More info: if I set FXGraphics2D.setClippingDisabled(false), then the background and needle are clipped
, but the ArcDialFrame is not drawn (clipped?).

-- Bruce
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: DialPlot clipping issues
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.
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
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

