ChartDirector 7.1 (.NET Edition)

JsChartViewer.raiseViewPortChangedEvent


Usage

raiseViewPortChangedEvent()

Description

Raises a JsChartViewer.ViewPortChanged event.

A ViewPortChanged event is automatically raised if the viewport is changed by mouse actions (see JsChartViewer.setMouseUsage). This method allows the event to be raised for other reasons.

For example, when a HTML button is pressed, the onclick handler can reset the viewport to some default value, and then use this method to raise the ViewPortChanged event. This allows the button to manipulate the viewport and update the chart.

Arguments

None

Return Value

None