@barchart/chart-lib 2.279.0 → 2.279.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.
@@ -2267,7 +2267,7 @@ declare module "@barchart/chart-lib" {
2267
2267
  * @param config The quick way to load a template and set the main plot type (with lots of defaults).
2268
2268
  * @returns @see ChartAccessor
2269
2269
  */
2270
- addChart(renderTo: RenderTo, config?: ChartConfig | string): ChartAccessor;
2270
+ addChart(renderTo: RenderTo, config?: MainPlotApiModel | string | null): ChartAccessor;
2271
2271
  /** When you are completely tearing down the HTML of the chart on a page (assuming the page itself isn't being closed - if it is, nothing to do) you should call this method. If you are simply loading another chart's definition into the existing chart, there is no need to do this.
2272
2272
  * @param renderTo The id of the element (or the element itself) the chart was placed into.
2273
2273
  */