RectFrame

Declaration: ChartBook.Charts[].RectFrame (x1,y1, x2, y2: double; FrameStyle: TFrameStyle; ShadowColor, HiLightColor: TColor);
The method RectFrame renders a framed rectangle. The lower left corner and the upper right corner are specified by the positions [x1, y1] and [x2, y2]. The frame may assume one of four styles (parameter FrameStyle): rbLowered, rbRaised, rbEmbossed, rbEngraved

The colors of the border are determined by the parameters ShadowColor, and HiLightColor, the color of the fill area is determined by the property FillColor. The line width of the border is always 1 pixel.