mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Adding xaxis/yaxis options
This commit is contained in:
33
types/highcharts/highstock.d.ts
vendored
33
types/highcharts/highstock.d.ts
vendored
@@ -1,4 +1,4 @@
|
||||
// Type definitions for Highstock 2.1.5
|
||||
// Type definitions for Highstock 2.1.6
|
||||
// Project: http://www.highcharts.com/
|
||||
|
||||
// Definitions by: David Deutsch <http://github.com/DavidKDeutsch>
|
||||
@@ -87,12 +87,39 @@ declare namespace Highstock {
|
||||
scrollbar?: ScrollbarOptions;
|
||||
}
|
||||
|
||||
interface XAxisOptions extends AxisOptions {
|
||||
ordinal?: boolean;
|
||||
overscroll?: number;
|
||||
}
|
||||
|
||||
interface YAxisOptions extends AxisOptions {
|
||||
height?: number | string;
|
||||
maxLength?: number | string;
|
||||
minLength?: number | string;
|
||||
resize?: {
|
||||
controlledAxis?: {
|
||||
next?: Array<number | string>;
|
||||
prev?: Array<number | string>;
|
||||
},
|
||||
cursor?: string;
|
||||
enabled?: boolean;
|
||||
lineColor?: string;
|
||||
lineDashStyle?: string;
|
||||
lineWidth?: number;
|
||||
x?: number;
|
||||
y?: number;
|
||||
};
|
||||
reversedStacks?: boolean;
|
||||
tooltipValueFormat?: string;
|
||||
top?: number | string;
|
||||
}
|
||||
|
||||
interface Options extends Highcharts.Options {
|
||||
navigator?: NavigatorOptions;
|
||||
rangeSelector?: RangeSelectorOptions;
|
||||
scrollbar?: ScrollbarOptions;
|
||||
xAxis?: AxisOptions[] | AxisOptions;
|
||||
yAxis?: AxisOptions[] | AxisOptions;
|
||||
xAxis?: XAxisOptions[] |XAxisOptions;
|
||||
yAxis?: YAxisOptions[] | YAxisOptions;
|
||||
}
|
||||
|
||||
interface Chart {
|
||||
|
||||
Reference in New Issue
Block a user