• Convenience function for synchronizing the intervals of n amount of ´Axis´.

     // Example, usage syntax.
    synchronizeAxisIntervals(
    chart1.getDefaultAxisX(),
    // Any number of Axis can be passed one after another.
    chart2.getDefaultAxisX()
    )

    synchronizeAxisIntervals uses Axis.onIntervalChange, Axis.onStoppedStateChanged and setInterval methods internally for its logic.

    The return value can be used for removing the synchronization logic at any time.

    Returns

    Handle for removing created side effects.

    Parameters

    • Rest ...axes: GenericAxis<AxisScale, AbstractAxisStrategy, _AbstractAxisTick, _GenericAxisInput, _GenericTickPlottingVariables, _GenericTickInfo, _GenericAxisOutput<_AbstractAxisTick, _GenericTickInfo>>[]

      List of Axis to synchronize. These can be Axis from ChartXY, Chart3D or PolarChart.

    Returns SynchronizeAxisIntervalsHandle