mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Merge pull request #16356 from gisinc/feature/add-scrollbaroptions-to-axisoptions
[highcharts] Add the scrollbar property to the xAxis and yAxis to optionally enable scrolling in charts
This commit is contained in:
Vendored
+6
@@ -81,10 +81,16 @@ declare namespace Highstock {
|
||||
trackBorderWidth?: number;
|
||||
}
|
||||
|
||||
interface AxisOptions extends Highcharts.AxisOptions {
|
||||
scrollbar?: ScrollbarOptions;
|
||||
}
|
||||
|
||||
interface Options extends Highcharts.Options {
|
||||
navigator?: NavigatorOptions;
|
||||
rangeSelector?: RangeSelectorOptions;
|
||||
scrollbar?: ScrollbarOptions;
|
||||
xAxis?: AxisOptions[] | AxisOptions;
|
||||
yAxis?: AxisOptions[] | AxisOptions;
|
||||
}
|
||||
|
||||
interface Chart {
|
||||
|
||||
@@ -9,6 +9,10 @@ $(() => {
|
||||
type: "arearange"
|
||||
},
|
||||
|
||||
xAxis: {
|
||||
scrollbar: { enabled: true }
|
||||
},
|
||||
|
||||
navigator: {
|
||||
height: 80,
|
||||
maskFill: 'rgba(255, 198, 220, 0.75)',
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"ban-types": false,
|
||||
"unified-signatures": false,
|
||||
"no-empty-interface": false,
|
||||
"dt-header": false
|
||||
"dt-header": false,
|
||||
"no-object-literal-type-assertion": false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user