From cdd05393ecb4e814807cbea03e5b60869b5f079c Mon Sep 17 00:00:00 2001 From: mmatessi Date: Wed, 8 Nov 2017 12:11:38 +0100 Subject: [PATCH 1/2] add missing plotly properties --- types/plotly.js/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/plotly.js/index.d.ts b/types/plotly.js/index.d.ts index 863daf8085..bbcc38b65f 100644 --- a/types/plotly.js/index.d.ts +++ b/types/plotly.js/index.d.ts @@ -123,6 +123,7 @@ export interface Layout { dragmode: "lasso" | "pan" | "select" | "zoom"; shapes: Array>; legend: Partial; + font: Partial; } export interface Legend { @@ -150,6 +151,7 @@ export interface Axis { type: AxisType; tickformat: string; hoverformat: string; + exponentformat: "none" | "e" | "E" | "power" | "SI" | "B"; rangeslider: Partial; rangeselector: Partial; range: [Datum, Datum]; From cd979e26782e9eea4ba7b6309e5d4b3181346e38 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Thu, 9 Nov 2017 00:20:24 -0800 Subject: [PATCH 2/2] Use consistent indentation. Yes, me! Using tabs! I know! --- types/plotly.js/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/plotly.js/index.d.ts b/types/plotly.js/index.d.ts index bbcc38b65f..a34dbf2ab8 100644 --- a/types/plotly.js/index.d.ts +++ b/types/plotly.js/index.d.ts @@ -151,7 +151,7 @@ export interface Axis { type: AxisType; tickformat: string; hoverformat: string; - exponentformat: "none" | "e" | "E" | "power" | "SI" | "B"; + exponentformat: "none" | "e" | "E" | "power" | "SI" | "B"; rangeslider: Partial; rangeselector: Partial; range: [Datum, Datum];