highcharts
Version:
JavaScript charting framework
47 lines (46 loc) • 1.04 kB
JavaScript
/* *
*
* Tilemap module
*
* (c) 2010-2026 Highsoft AS
* Author: Øystein Moseng
*
* A commercial license may be required depending on use.
* See www.highcharts.com/license
*
*
* */
;
import ColorAxisComposition from '../../Core/Axis/Color/ColorAxisComposition.js';
import SeriesRegistry from '../../Core/Series/SeriesRegistry.js';
import { extend } from '../../Shared/Utilities.js';
const { series: { prototype: { pointClass: Point } }, seriesTypes: { heatmap: { prototype: { pointClass: HeatmapPoint } } } } = SeriesRegistry;
/* *
*
* 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;