Page 1 of 1

Custom Drawing "On Top" of Series Lines...how to change...

Posted: Thu Jan 04, 2018 8:37 pm
by 13049545
I do custom drawing on the "afterdraw" event and the custom lines are drawing on top of the fastline series in my chart.
The series data is more important than the custom drawing lines so I want those on top.
Is there any way to have the custom drawn lines not overwrite the series data???
Thanks in advance...

Re: Custom Drawing "On Top" of Series Lines...how to change...

Posted: Mon Jan 08, 2018 8:46 am
by Christopher
Hello,

Yes, there's a good example of how to do this in the Feature Demo shipped with TeeChart:
2018-01-08_09-44-39.gif
2018-01-08_09-44-39.gif (3.04 MiB) Viewed 9192 times

Re: Custom Drawing "On Top" of Series Lines...how to change...

Posted: Sun Jan 14, 2018 10:35 am
by 13049545
BeforeDrawSeries event handle's it perfectly. So the way the events are named means this - "DrawCustomStuffBeforeDrawSeries"
Thanks so much!
joseph