From: Jacco van den Berg Date: Thu, 6 Oct 2022 19:41:51 +0000 (+0200) Subject: Allow to configure X and Y axis ID in TS for bubble charts (#10739) X-Git-Tag: v4.0.0~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72b185afa610f9cb8c2f61bbe16a036741de8d7c;p=thirdparty%2FChart.js.git Allow to configure X and Y axis ID in TS for bubble charts (#10739) * Update namespace * Allow for x and y axisId to be passed to bubbledataset controller --- diff --git a/types/index.d.ts b/types/index.d.ts index 0c5f64c20..7154257ca 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -157,7 +157,16 @@ export declare const BarController: ChartComponent & { export interface BubbleControllerDatasetOptions extends ControllerDatasetOptions, ScriptableAndArrayOptions>, - ScriptableAndArrayOptions> {} + ScriptableAndArrayOptions> { + /** + * The ID of the x axis to plot this dataset on. + */ + xAxisID: string; + /** + * The ID of the y axis to plot this dataset on. + */ + yAxisID: string; +} export interface BubbleDataPoint extends Point { /**