highcharts
Version:
JavaScript charting framework
35 lines (34 loc) • 985 B
TypeScript
/*!*
*
* Copyright (c) Highsoft AS. All rights reserved.
*
*!*/
import * as globals from "../globals.src";
import * as _Highcharts from "../highcharts.src";
/**
* 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.src" {
interface DataTableOptions {
columns?: DataTableColumnCollection;
id?: string;
}
/**
* Initialize the canvas boost.
*/
function initCanvasBoost(): void;
/**
* Override a bunch of methods the same way. If the number of points is
* below the threshold, run the original method. If not, check for a canvas
* version or do nothing.
*
* Note that we're not overriding any of these for heatmaps.
*/
function wrapSeriesFunctions(): void;
}
export default factory;
export let Highcharts: typeof _Highcharts;