TChartShape.XYStyle

TChartShape.XYStyle
TChartShape

property XYStyle: TChartShapeXYStyle;

Unit
TeeShape

Description
Use pixels or Axis co-ordinates to set the X, Y bounds of the Shape.

The position ( Left, Top ) of a Shape can be specified as axis values, while the size of the Shape (Width and Height) could be specified in screen pixels:

Series1.XYStyle := xysAxisOrigin;
Series1.X0 := EncodeDate( 1998, 1,1 ); <-- in BottomAxis scales
Series1.Y0 := 1234.56; <--- in LeftAxis scales
Series1.X1:=100 ; <-- 100 pixels Width
Series1.Y1:=30 ; <--- 30 pixels Height