Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 644

Summary: ValueIndex at Legend OnDraw event
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: LegendAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: 140220   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?p=65319#p65319
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2014-03-18 08:37:09 EDT
There's a customer who would like the ValueIndex argument in the Legend OnDraw event to give index of series when the LegendStyle is lsSeries (or lsAuto with several series)
Comment 1 yeray alonso 2014-03-19 05:43:47 EDT
If we make this argument to give:
- The ValueIndex of the point in the series when LegendStyle is lsValues (or lsAuto with only one series).
- The SeriesIndex of the series when LegendStyle is lsSeries (or lsAuto with several series).

Instead of ValueIndex it could be named ItemIndex to be more consistent with the two possibilities it will cover.