TContourMap series causes TMarkTipsTool failure
Posted: Mon Mar 14, 2005 9:12 pm
I have a TContourMap series and a TMarkTipsTool (no Series assigned, i.e. works with all series). While the contour map is empty, everything is fine. Next I add data to the contour map. Everything is fine.
Now if I clear the contour map (Active := false; Clear;), subsequent mouse moves will attempt to show marks for the empty and inactive contour map. In effect, the following code in TeEngine fails:
ValueIndex is set to some values such as 4, 8, etc. but the value list is empty.
I need to load and clear the contour map series from time to time, but after the first clearing and deactivating, the above code causes access violation.[/code]
Now if I clear the contour map (Active := false; Clear;), subsequent mouse moves will attempt to show marks for the empty and inactive contour map. In effect, the following code in TeEngine fails:
Code: Select all
Function TChartSeries.GetMarkValue(ValueIndex:Integer):Double;
begin
result:=MandatoryValueList.Value[ValueIndex];
end;
I need to load and clear the contour map series from time to time, but after the first clearing and deactivating, the above code causes access violation.[/code]