Before Render

The BeforeRender event occurs before elements of a PivotChart view are drawn on the screen. Use this event to draw lines, text, and drawings on the chart before a specific chart element is drawn or to change the position and properties of the chart element before it is drawn on the screen. You can use

Event Programming in Forms and Reports the TypeName function to determine what type of object is about to be rendered.

The procedure in Hands-On 24-24 draws a red ellipse around each legend entry and cancels drawing of the gridlines.

0 0

Post a comment