@barchart/chart-lib 2.392.0 → 2.392.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2536,6 +2536,10 @@ declare module "@barchart/chart-lib" {
2536
2536
  * @returns @see ChartAccessor or `null` if none was found
2537
2537
  */
2538
2538
  getChart(renderTo: RenderTo): ChartAccessor | null;
2539
+ /** Schedule a redraw of the chart already on the page. Redraws are batched per element using `requestAnimationFrame`, so calling this repeatedly is cheap.
2540
+ * @param renderTo The id of the element (or the element itself) the chart was placed into.
2541
+ */
2542
+ redraw(renderTo: RenderTo): void;
2539
2543
  /** Returns the version of the chart engine. The version is always traced to the JS console on startup. */
2540
2544
  version: string;
2541
2545
  /** Returns the configuration passed to the data feed on construction merged with the default values. */