Hi,
I have a TChart and on it I draw a TLineSeries and a TAreaSeries. How can I make sure I get the ValueIndex of the TLineSeries in the OnClick event if the TAreaSeries overlaps the TLineSeries??
What happens currently is that the ValueIndex always returns 0 when I draw both the TAreaSeries and the TLinesSeries because the AreaSeries is drawn over the TLineSeries.
However if I only draw the TlineSeries I get the correct ValueIndex of 6. Any help would be much appreciated.
How to make sure TLineSeries ValueIndex is returned.
Re: How to make sure TLineSeries ValueIndex is returned.
Answered my own question. Draw the LineSeries as the last series and it will be on top.
Re: How to make sure TLineSeries ValueIndex is returned.
Hi swesty,
I'm happy to see that you found a solution yourself.
I'm happy to see that you found a solution yourself.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |