31 lines
951 B
TypeScript
31 lines
951 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" {
|
|
/**
|
|
* Point hover event. We use a short timeout due to issues with coordinating
|
|
* point mouseover/out events on dragHandles and points.
|
|
*
|
|
* Particularly arearange series are finicky since the markers are not
|
|
* individual points. This logic should preferably be improved in the
|
|
* future.
|
|
*
|
|
* Notice that the mouseOut event below must have a shorter timeout to
|
|
* ensure event order.
|
|
*/
|
|
function onPointMouseOver(): void;
|
|
}
|
|
export default factory;
|
|
export let Highcharts: typeof _Highcharts;
|