Add missing selectedpoints field to PlotData to @types/plotly.js (#47877)

* Add missing selectedpoints field to PlotData

As defined in the docs (https://plotly.com/javascript/reference/scatter/#scatter-selectedpoints) there should be a selectedpoints array of ids.

* Change selectedpoints type to Datum[]
This commit is contained in:
Oliver Dudgeon 2020-09-22 20:09:00 +01:00 committed by GitHub
parent 007785b542
commit ff4dfa28ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1201,6 +1201,7 @@ export interface PlotData {
theta: Datum[];
r: Datum[];
customdata: Datum[];
selectedpoints: Datum[];
domain: Partial<{
rows: number;
columns: number;