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 1480

Summary: Index of grouped slices in pie series
Product: VCL TeeChart Reporter: narcís calvet <narcis>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: 150901   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=16018&sid=da62f39e4f738f35e1fdbbc37e0a0a46
Chart Series: Pie Delphi / C++ Builder RAD IDE Version:

Description narcís calvet 2016-03-29 07:51:47 EDT
I have some Pie Charts (TDBChart) where I have grouped slices where the values are less than 5%. 

The chart displays just fine, but I want to be able to quickly get the 'X' values for the grouped slice, if the user clicks on the grouped slice. For the non-grouped slices, I get the clicked slice X value using Series.Labels[ValueIndex] in an OnClickSeries event. Obviously if I click on the grouped slice, this approach just gives me the 'Grouped Slices' 'Label' value.

I need the X values for building subsequent SQL statements.

Is there a simple way to get the X values that have been grouped?