highcharts
Version:
JavaScript charting framework
48 lines (47 loc) • 1.07 kB
JavaScript
/* *
*
* Tilemaps module
*
* (c) 2010-2025 Highsoft AS
* Author: Øystein Moseng
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
;
import ColorAxisComposition from '../../Core/Axis/Color/ColorAxisComposition.js';
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
const { series: { prototype: { pointClass: Point } }, seriesTypes: { heatmap: { prototype: { pointClass: HeatmapPoint } } } } = SeriesRegistry;
import U from '../../Core/Utilities.js';
const { extend } = U;
/* *
*
* Class
*
* */
class TilemapPoint extends HeatmapPoint {
/* *
*
* Functions
*
* */
/**
* @private
* @function Highcharts.Point#haloPath
*/
haloPath() {
return this.series.tileShape.haloPath.apply(this, arguments);
}
}
extend(TilemapPoint.prototype, {
setState: Point.prototype.setState,
setVisible: ColorAxisComposition.pointSetVisible
});
/* *
*
* Default Export
*
* */
export default TilemapPoint;