highcharts
Version:
JavaScript charting framework
39 lines (38 loc) • 1.21 kB
TypeScript
/*!*
*
* Copyright (c) Highsoft AS. All rights reserved.
*
*!*/
import * as globals from "../globals";
import * as _Highcharts from "../highcharts";
/**
* Adds the module to the imported Highcharts namespace.
*
* @param highcharts
* The imported Highcharts namespace to extend.
*/
export function factory(highcharts: typeof Highcharts): void;
declare module "../highcharts" {
interface Axis {
/**
* (Highstock) Check the groupPixelWidth and apply the grouping if
* needed. Fired only after processing the data.
*/
applyGrouping(): void;
/**
* (Highstock) Highcharts Stock only. Force data grouping on all the
* axis' series.
*
* @param dataGrouping
* A `dataGrouping` configuration. Use `false` to disable data
* grouping dynamically.
*
* @param redraw
* Whether to redraw the chart or wait for a later call to
* Chart#redraw.
*/
setDataGrouping(dataGrouping?: (boolean|DataGroupingOptionsObject), redraw?: boolean): void;
}
}
export default factory;
export let Highcharts: typeof _Highcharts;