[TSeriesBandTool] How to draw behind or in front of a serie
Posted: Thu Jul 26, 2007 3:07 pm
Hello,
I noticed that the drawing of the TSeriesBandTool is sometimes over series and sometimes behind.
I mean that
- if I create a serie AFTER having created the TSeriesBandTool, the serie will be drawn OVER the SeriesBandTool.
- if I create a serie BEFORE having created the TSeriesBandTool, the serie will be drawn BEHIND the SeriesBandTool.
I would like to allow a kind of "Bring to front" and "Send to back" so the user can choose if he wants the TSeriesBandTool to hide other curves or not.
Any tip how to do it ?
Here is an illustration of the 2 cases I'm describing :
On the left the series is hidden by the TSeriesBandTool, and on the right the series is in front of the tool.
I noticed that the drawing of the TSeriesBandTool is sometimes over series and sometimes behind.
I mean that
- if I create a serie AFTER having created the TSeriesBandTool, the serie will be drawn OVER the SeriesBandTool.
- if I create a serie BEFORE having created the TSeriesBandTool, the serie will be drawn BEHIND the SeriesBandTool.
I would like to allow a kind of "Bring to front" and "Send to back" so the user can choose if he wants the TSeriesBandTool to hide other curves or not.
Any tip how to do it ?
Here is an illustration of the 2 cases I'm describing :
On the left the series is hidden by the TSeriesBandTool, and on the right the series is in front of the tool.