EasyLanguage Object Reference
The XYPoint class is used to define a drawing object (Ellipse, Rectangle, or TextLabel) point based on a chart X and Y location (relative to the upper left corner of the chart). Drawing objects positioned with an XYPoint will not move with the bars when the chart scrolled.
The following creates an instance of a rectangle that will plot in a chart between a starting window point 150 pixels from the left edge and 50 pixels down from the top to a second point 250 from the left and 100 from the top:
myXYRectangle = Rectangle.create(XYPoint.Create(150,50),XYPoint.Create(250,100));
Similarly, a text object can be created that will plot at in a chart window 175 pixels from the left edge and 25 pixels down from the top:
myXYTextLabel = TextLabel.Create(XYPoint.Create(175,25),"Some text goes here.");
Namespace: elsystem.drawingobjects
Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).