Hi,
The TPointSeries event 'OnGetPointerStyle' is very useful for distinguishing between points on the basis of some other attribute of the data. But why only pointer style? I'd like to be able to change other attributes such as the border or fill pattern. Is this possible?
Thanks
TPointSeries symbol styles
Hi,
yes, you can do something like :
Or access directly to the Color of each point using the ValueColor property.
yes, you can do something like :
Code: Select all
function TForm1.Series1GetPointerStyle(Sender: TChartSeries;
ValueIndex: Integer): TSeriesPointerStyle;
begin
if (Sender = Series1) and (ValueIndex= 0 ) then begin
Series1.pointer.HorizSize := 25;
Series1.Pointer.VertSize := 25;
Result := psCross
end
else begin
Result := psCircle;
Series1.pointer.HorizSize := 5;
Series1.pointer.VertSize := 5;
end;
end;
Pep Jorge
http://support.steema.com
http://support.steema.com