mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-08 19:52:32 +08:00
Merge pull request #21341 from basix86/master
add missing plotly properties
This commit is contained in:
2
types/plotly.js/index.d.ts
vendored
2
types/plotly.js/index.d.ts
vendored
@@ -123,6 +123,7 @@ export interface Layout {
|
||||
dragmode: "lasso" | "pan" | "select" | "zoom";
|
||||
shapes: Array<Partial<Shape>>;
|
||||
legend: Partial<Legend>;
|
||||
font: Partial<Font>;
|
||||
}
|
||||
|
||||
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<RangeSlider>;
|
||||
rangeselector: Partial<RangeSelector>;
|
||||
range: [Datum, Datum];
|
||||
|
||||
Reference in New Issue
Block a user