Select fast line series when TChart is in 3D mode
Posted: Thu Jan 13, 2005 5:55 am
I use this code, to detect if a fast line series is being selected.
If it is selected then pop-up a new dialog.
void __fastcall TForm1::ChartClick(TObject *Sender)
{
int i;
int iIndex;
for(i = 0; i < aChart->SeriesCount; i++)
{
iIndex = aChart->Series->GetCursorValueIndex();
}
if(iIndex > -1)
{
//do something
}
}
Now, i adjust the depth of the chart and then rotate. But I can not click the line series, I mean, i click the line series but it doesn't pop-up anything. And when i click on a blank area near the series, it does pop-up something.
I have save the image about this condition. How to submit?
Thank you
Herman
If it is selected then pop-up a new dialog.
void __fastcall TForm1::ChartClick(TObject *Sender)
{
int i;
int iIndex;
for(i = 0; i < aChart->SeriesCount; i++)
{
iIndex = aChart->Series->GetCursorValueIndex();
}
if(iIndex > -1)
{
//do something
}
}
Now, i adjust the depth of the chart and then rotate. But I can not click the line series, I mean, i click the line series but it doesn't pop-up anything. And when i click on a blank area near the series, it does pop-up something.
I have save the image about this condition. How to submit?
Thank you
Herman