From 8af03014e6b484ed1bdb13b7ffffa6a6a94f31b8 Mon Sep 17 00:00:00 2001 From: Jakub Kottnauer Date: Mon, 17 Dec 2018 13:19:43 +0100 Subject: [PATCH] Add missing plotly.js chart types --- types/plotly.js/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/plotly.js/index.d.ts b/types/plotly.js/index.d.ts index 8a8823ac8c..072c82c76d 100644 --- a/types/plotly.js/index.d.ts +++ b/types/plotly.js/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for plotly.js 1.41 +// Type definitions for plotly.js 1.42 // Project: https://plot.ly/javascript/ // Definitions by: Chris Gervang // Martin Duparc @@ -479,7 +479,9 @@ export type DataTransform = Partial; export type ScatterData = PlotData; // Bar Scatter export interface PlotData { - type: 'bar' | 'box' | 'heatmap' | 'histogram' | 'pointcloud' | 'scatter' | 'scattergl' | 'scatter3d' | 'surface'; + type: 'bar' | 'box' | 'candlestick' | 'choropleth' | 'contour' | 'heatmap' | 'histogram' | 'mesh3d' | + 'ohlc' | 'parcoords' | 'pointcloud' | 'scatter' | 'scatter3d' | 'scattergeo' | 'scattergl' | + 'scatterternary' | 'surface'; x: Datum[] | Datum[][] | TypedArray; y: Datum[] | Datum[][] | TypedArray; z: Datum[] | Datum[][] | Datum[][][] | TypedArray;