ZValue on TContourSeries
Posted: Thu Dec 06, 2007 4:28 pm
Hi,
I use Teechart V8.02. AT my Tchart I have added a TContourSeries and a TCursorTool assigned to that series.
With the event
ChartTool1Change(Sender: TCursorTool; x, y: Integer;
const XValue, YValue: Double; Series: TChartSeries; ValueIndex: Integer);
I want to show x,y and z value. XValue and YValue are provided with this event, but how can I get the Z-Value ?
ValueIndex is alwas -1.
The function (Series as TContourSeries).GetCursorValueIndex returns only the LevelIndex.
Locate returns also -1.
What can I do ?
Best regards
Werner
I use Teechart V8.02. AT my Tchart I have added a TContourSeries and a TCursorTool assigned to that series.
With the event
ChartTool1Change(Sender: TCursorTool; x, y: Integer;
const XValue, YValue: Double; Series: TChartSeries; ValueIndex: Integer);
I want to show x,y and z value. XValue and YValue are provided with this event, but how can I get the Z-Value ?
ValueIndex is alwas -1.
The function (Series as TContourSeries).GetCursorValueIndex returns only the LevelIndex.
Locate returns also -1.
What can I do ?
Best regards
Werner