Page 1 of 1

Zoom on custom Axis

Posted: Mon Feb 27, 2017 9:03 am
by 15679710
I have a problem with series data being drawn outside of the boundaries of a custom axis after a zoom.
Your own Steema > Feature Demo > Axis grid zone example shows the same effect when you zoom on the top chart, the blue series data is drawn over the full canvas.
Is there a property that I am missing that stops this?

Re: Zoom on custom Axis

Posted: Mon Feb 27, 2017 2:01 pm
by 15679710
I seem to be able to cure this by setting a clip rectangle in my various Series.BeforeDrawValues events, and then clearing the clip rectangle in the various Series.AfterDrawValues events. Is this the only way to cure my issue?

Re: Zoom on custom Axis

Posted: Tue Feb 28, 2017 10:33 am
by Christopher
Hello,
Linkam wrote: Is this the only way to cure my issue?
It is the recommended way to work in these circumstances. There is a demo which shows the technique you mention - All Features -> Welcome !\Axes\Opaque zones