diff --git a/types/plotly.js/index.d.ts b/types/plotly.js/index.d.ts index adf853af72..41cc48cdc1 100644 --- a/types/plotly.js/index.d.ts +++ b/types/plotly.js/index.d.ts @@ -479,7 +479,7 @@ export type DataTransform = Partial; export type ScatterData = PlotData; // Bar Scatter export interface PlotData { - type: 'bar' | 'histogram' | 'pointcloud' | 'scatter' | 'scattergl' | 'scatter3d' | 'surface'; + type: 'bar' | 'box' | 'heatmap' | 'histogram' | 'pointcloud' | 'scatter' | 'scattergl' | 'scatter3d' | 'surface'; x: Datum[] | Datum[][] | TypedArray; y: Datum[] | Datum[][] | TypedArray; z: Datum[] | Datum[][] | Datum[][][] | TypedArray; @@ -530,6 +530,12 @@ export interface PlotData { visible: boolean | 'legendonly'; transforms: DataTransform[]; orientation: 'v' | 'h'; + boxmean: boolean | 'sd'; + colorscale: string | Array<[number, string]>; + zsmooth: 'fast' | 'best' | false; + ygap: number; + xgap: number; + transpose: boolean; } /**