mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-01 20:22:52 +00:00
Merge pull request #25977 from soorajpudiyadath/master
Added a new type surface for 3d surface plots @soorajpudiyadath
This commit is contained in:
commit
f9df87dd39
3
types/plotly.js/index.d.ts
vendored
3
types/plotly.js/index.d.ts
vendored
@ -7,6 +7,7 @@
|
||||
// Dadstart <https://github.com/Dadstart>
|
||||
// Jared Szechy <https://github.com/szechyjs>
|
||||
// Drew Diamantoukos <https://github.com/MercifulCode>
|
||||
// Sooraj Pudiyadath <https://github.com/soorajpudiyadath>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@ -356,7 +357,7 @@ export type Color = string | Array<string | undefined | null> | Array<Array<stri
|
||||
|
||||
// Bar Scatter
|
||||
export interface ScatterData {
|
||||
type: 'bar' | 'pointcloud' | 'scatter' | 'scattergl' | 'scatter3d';
|
||||
type: 'bar' | 'pointcloud' | 'scatter' | 'scattergl' | 'scatter3d' |'surface';
|
||||
x: Datum[] | Datum[][] | TypedArray;
|
||||
y: Datum[] | Datum[][] | TypedArray;
|
||||
z: Datum[] | Datum[][] | Datum[][][] | TypedArray;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user