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 Events OnBeforeRenderChartItem | |||||||||
See also: TBeforeRenderCItemEvent, OnDataRendered, OnScalesRendered, OnBeforeRenderData, OnBeforeRenderText | |||||||||
OnBeforeRenderChartItem |
|||||||||
The OnBeforeRenderChartItem event provides a hook for adjusting the properties of a chart item before it is actually rendered. The chart item is accessible via the variable parameter ChartItem. In addition, you can directly access the corresponding container item using the parameters Index and IsAnnotation. Index is the index into the chart/annotation container, IsAnnotation indicates whether the item is an annotation element (IsAnnotation = TRUE) or a regular chart element (IsAnnotation = FALSE). Depending on the IsAnnotation parameter you can access and manipulate either DataContainer[Index] or AnnoContainer[Index].
|