when the specified event occurs.
The dynamic layer (see BaseChart.initDynamicLayer
) is commonly used for drawing track cursors. For these type of usages, it is often necessary to clear the dynamic layer when the mouse cursor leaves the plot area. The removeDynamicLayer method can be used in the dynamic layer drawing code to automatically clear the dynamic layer when the specified event occurs. This avoids the need to set up a separate event handler to call BaseChart.removeDynamicLayer.
In the current version of ChartDirector, this method only supports the eventId CVN_MouseLeaveChart
This method only applies to the first occurrence of the specified event after calling this method. If this method is called multiple times before the event occurs, only the last call has effect. To cancel this method, use an empty string as the eventId
© 2017 Advanced Software Engineering Limited. All rights reserved.