ChartDirector 5.1 (.NET Edition)

JsChartViewer.raiseViewPortChangedEvent


Usage

void raiseViewPortChangedEvent()

Description

Raises a JsChartViewer.ViewPortChanged event.

A ViewPortChanged event is automatically raised if the view port 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 view port to some default value, and then use this method to raise the ViewPortChanged event. This allows the button to manipulate the view port and update the chart.

Arguments

None

Return Value

None