Group Slices getting values
Posted: Wed Mar 23, 2016 5:15 pm
Hi,
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?
Thanks
Clive
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?
Thanks
Clive