From 83d50e9a4cfe57c5763f3f713ff62ddb0ca565fa Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Wed, 23 May 2018 22:51:24 -0700 Subject: [PATCH] Update index.d.ts --- types/plotly.js/index.d.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/types/plotly.js/index.d.ts b/types/plotly.js/index.d.ts index 8e098a366c..c4cd97b0ba 100644 --- a/types/plotly.js/index.d.ts +++ b/types/plotly.js/index.d.ts @@ -386,7 +386,7 @@ export interface ScatterData { 'marker.colorbar': {}; // TODO mode: 'lines' | 'markers' | 'text' | 'lines+markers' | 'text+markers' | 'text+lines' | 'text+lines+markers' | 'none'; hoveron: 'points' | 'fills'; - hoverinfo: 'all' | 'name' | 'none' | 'skip' | 'text' | + hoverinfo: 'all' | 'name' | 'none' | 'skip' | 'text' | 'x' | 'x+text' | 'x+name' | 'x+y' | 'x+y+text' | 'x+y+name' | 'x+y+z' | 'x+y+z+text' | 'x+y+z+name' | @@ -403,12 +403,11 @@ export interface ScatterData { connectgaps: boolean; } -/* -Any combination of "x", "y", "z", "text", "name" joined with a "+" OR "all" or "none" or "skip". -examples: "x", "y", "x+y", "x+y+z", "all" -default: "all" -*/ - +/** + * Any combination of "x", "y", "z", "text", "name" joined with a "+" OR "all" or "none" or "skip". + * examples: "x", "y", "x+y", "x+y+z", "all" + * default: "all" + */ export interface ScatterMarker { symbol: string | string[]; // Drawing.symbolList color: Color | number[];