Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

AllowPointRenderEvents Property

Office 2003

Set this property to True to enable the BeforeRender and AfterRender events to be called as each data point is rendered. The default value is False. Read/write Boolean.

expression.AllowPointRenderEvents

expression    Required. An expression that returns a ChartSpace object.

Example

This example enables all events for ChartSpace1.

Sub Window_Onload()

    ' Allow the AfterLayout event to be called.
    ChartSpace1.AllowLayoutEvents = True

    ' Allow BeforeRender and AfterRender events
    ' to be called as each data point is rendered.
    ChartSpace1.AllowPointRenderEvents = True

    ' Allow BeforeRender and AfterRender events
    ' to be called as each chart element is rendered.
    ' The AfterFinalRender event will fire after
    ' all chart elements have been rendered.
    ChartSpace1.AllowRenderEvents = True

    ' Allow the BeforeScreenTip event to be called.
    ChartSpace1.AllowScreenTipEvents = True

End Sub

		


Applies to | ChartSpace Object



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.