Hilighting pointrs on Tlineseries
Posted: Sun Feb 20, 2005 5:08 pm
D6 with TChart 7, chart with about 20 Tlineseries, drawn as lines with distinct points. User can click on any point and pull up information about that point using the method below-
procedure TMainForm.series2Click(Sender: TChartSeries; ValueIndex: Integer;
Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
//do something with valueindex here
Chart.CancelMouse:=True;
end;
What I need to be able to do is to highlight the selected point, it could take on another colour or it could become a different size to the other points in that series. Is there a way to do this please?
thanks
Sean.
procedure TMainForm.series2Click(Sender: TChartSeries; ValueIndex: Integer;
Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
//do something with valueindex here
Chart.CancelMouse:=True;
end;
What I need to be able to do is to highlight the selected point, it could take on another colour or it could become a different size to the other points in that series. Is there a way to do this please?
thanks
Sean.