I have an application written with Embarcadero C++ Builder XE2 that uses a Steema Bar chart series component.
I wish to find the value of a particular bar when a mouse click is made on a particular bar.
Steema provide an event handler as follows and I can see that the ValueIndex parameter indicates the index of bar that has been clicked and the series parameter indicates the series. It is not obvious however, how to obtain the value from these two parameters.
Can anyone enlighten me ?
void __fastcall TForm1::Chart2ClickSeries(TCustomChart *Sender, TChartSeries *Series,
int ValueIndex, TMouseButton Button, TShiftState Shift, int X,