UNPKG

highcharts

Version:
33 lines (32 loc) 681 B
/* * * * (c) 2019-2026 Highsoft AS * Author: Torstein Hønsi * * Item series type for Highcharts * * A commercial license may be required depending on use. * See www.highcharts.com/license * * * */ 'use strict'; import SeriesRegistry from '../../Core/Series/SeriesRegistry.js'; import { extend } from '../../Shared/Utilities.js'; const { series: { prototype: { pointClass: Point } }, seriesTypes: { pie: { prototype: { pointClass: PiePoint } } } } = SeriesRegistry; /* * * * Class * * */ class ItemPoint extends PiePoint { } extend(ItemPoint.prototype, { haloPath: Point.prototype.haloPath }); /* * * * Default Export * * */ export default ItemPoint;