RectangleRelPix

Declaration: ChartBook.Charts[].RectangleRelPix(centx,centy: double; dx, dy: integer);
Displays a rectangle which is centered around the point [centx, centy]. The size of the rectangle is controlled by the parameters dx and dy (measured in pixels):

Thus the size of the rectangle is independent of the scaling of the chart. The color of the border is determined by the property DataColor; the color of the fill area is specified by the property FillColor. The fill area of the rectangle may be either opaque or transparent, depending on the property TransparentItems. The line width may be adjusted by the property LineWidth.