[BUG] OnSeriesClick called with the wrong Series
Posted: Tue Jan 22, 2008 2:09 pm
Hello,
I noticed a bug which occurs also in TeeChartOffice. I'm using TeeChart Pro 8.0.1.10787
Description : When 2 series are exactly at the same position, and one series is not visible, clicking on the Series sometimes calls OnSeriesClicked with the invisible Series.
How to do the bug in TeeChartOffice :
- create 2 FastLineSeries with the same points (Series1 and Series2)
- uncheck Series2 (set series.pen.visible to false)
- right-click on the Series1 which is still visible, change the color and you'll notice it's the Series2 which gets the new color
My opinion : I didn't check the source code of TChart, but I guess a test is missing when searching the series which is clicked.
Regards
I noticed a bug which occurs also in TeeChartOffice. I'm using TeeChart Pro 8.0.1.10787
Description : When 2 series are exactly at the same position, and one series is not visible, clicking on the Series sometimes calls OnSeriesClicked with the invisible Series.
How to do the bug in TeeChartOffice :
- create 2 FastLineSeries with the same points (Series1 and Series2)
- uncheck Series2 (set series.pen.visible to false)
- right-click on the Series1 which is still visible, change the color and you'll notice it's the Series2 which gets the new color
My opinion : I didn't check the source code of TChart, but I guess a test is missing when searching the series which is clicked.
Regards