ZoomSyncer

class ZoomSyncer

This class can be used to synchronize the zoom level across different Charts.

Constructors

(): ZoomSyncer

Properties

charts

charts: Chart <any> []

A list of Charts that the Plugin will pay attention to.

Methods

add

add(chart: Chart | Chart <any> []): void

This method registers a Chart or list of Charts with the Plugin.

Parameters

  • chart: Chart | Chart <any> []

Returns: void

addChart

addChart(chart: Chart <any>): void

Add a Chart to the observer.

Parameters

  • chart: Chart <any>

Returns: void

alert

alert(caller: Chart <any>): void

The ZoomZyncer alert method synchronizes all of the Transforms on each of the Charts is is observing and fires the zooming functionality.

Parameters

  • caller: Chart <any>

Returns: void