@kanunilabs/pivotgrid / createChartSync
Function: createChartSync()
createChartSync(
controller,getLocale,options,onSync):ChartSync
Subscribe a chart to the pivot. Fires onSync with the transformed
result 150ms after the engine result, the expansion set or the LOCALE
changes (and once on start).
Parameters
controller
ChartSyncControllerLike
getLocale
() => string
options
VanillaChartIntegrationOptions
onSync
(result) => void
Returns
ChartSync