|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home ChartPack RChart Class TRChart Properties ActiveLayer|
|See also: Using TRChart, JointLayers, LayerVisible, FindUsedLayers, Ellipse (RChart), RectFrame (RChart), Rectangle (RChart), Bar3D, MarkErrorBar, MarkAt (RChart), Arc (RChart)|
The property ActiveLayer controls the currently active layer and may assume values between 1 and MAXNUMRCLAYERS. In general, drawing elements are always drawn on the currently active layer (without regard to the visibility of the active layer). In addition, the grid of a chart is always corresponding to the coordinate system of the active layer. Thus switching the active layer changes the grid.
The following properties, events and methods return information from the active layer or apply to the active layer: TickposX, TickPosY, TickNumX, TickNumY, OnMouseMoveInChart, MouseBox, MousePosX, MousePosY, FindNearestItemScreen.