package.es-modules.Series.Tilemap.TilemapPoint.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of highcharts Show documentation
Show all versions of highcharts Show documentation
JavaScript charting framework
The newest version!
/* *
*
* Tilemaps module
*
* (c) 2010-2024 Highsoft AS
* Author: Øystein Moseng
*
* License: www.highcharts.com/license
*
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
*
* */
'use strict';
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;