highcharts
Version:
JavaScript charting framework
89 lines (88 loc) • 3.47 kB
TypeScript
/*!*
*
* Copyright (c) Highsoft AS. All rights reserved.
*
*!*/
import * as Highcharts from "../highcharts.src";
declare module "../highcharts.src" {
/**
* (Highcharts, Highstock, Highmaps, Gantt) Enable or disable the initial
* animation when a series is displayed for the `dataLabels`. The animation
* can also be set as a configuration object. Please note that this option
* only applies to the initial animation.
*
* For other animations, see chart.animation and the animation parameter
* under the API methods. The following properties are supported:
*
* - `defer`: The animation delay time in milliseconds.
*/
interface PlotGeoheatmapDataLabelsAnimationOptions {
/**
* (Highcharts, Highstock, Highmaps, Gantt) The animation delay time in
* milliseconds. Set to `0` to render the data labels immediately. As
* `undefined` inherits defer time from the series.animation.defer.
*/
defer?: number;
}
/**
* (Highmaps) Make the geoheatmap render its data points as an interpolated
* image. It can be used to show a Temperature Map-like charts.
*/
interface PlotGeoheatmapInterpolationOptions {
/**
* (Highmaps) Represents how much blur should be added to the
* interpolated image. Works best in the range of 0-1, all higher values
* would need a lot more performance of the machine to calculate more
* detailed interpolation.
*
* * **Note:** Useful, if the data is spread into wide range of
* longitude and latitude values.
*/
blur?: number;
/**
* (Highmaps) Enable or disable the interpolation of the geoheatmap
* series.
*/
enabled?: boolean;
}
/**
* (Highmaps) Animation when not hovering over the marker.
*/
interface PlotGeoheatmapStatesInactiveAnimationOptions {
duration?: number;
}
/**
* (Highmaps) For map and mapline series types, the geometry of a point.
*
* To achieve a better separation between the structure and the data, it is
* recommended to use `mapData` to define the geometry instead of defining
* it on the data points themselves.
*
* The geometry object is compatible to that of a `feature` in GeoJSON, so
* features of GeoJSON can be passed directly into the `data`, optionally
* after first filtering and processing it.
*
* For pre-projected maps (like GeoJSON maps from our map collection), user
* has to specify coordinates in `projectedUnits` for geometry type other
* than `Point`, instead of `[longitude, latitude]`.
*/
interface SeriesGeoheatmapDataGeometryOptions {
/**
* (Highmaps) The geometry coordinates in terms of arrays of
* `[longitude, latitude]`, or a two dimensional array of the same. The
* dimensionality must comply with the `type`.
*/
coordinates?: (Array<Array<LonLatArray>>|Array<LonLatArray>);
/**
* (Highmaps) The geometry type. Can be one of `LineString`, `Polygon`,
* `MultiLineString` or `MultiPolygon`.
*/
type?: Highcharts.MapGeometryTypeValue;
}
/**
* (Highmaps) Animation when not hovering over the marker.
*/
interface SeriesGeoheatmapDataStatesInactiveAnimationOptions {
duration?: number;
}
}