UNPKG

highcharts

Version:
33 lines (32 loc) 830 B
/* * * * (c) 2010-2025 Torstein Honsi * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import SeriesRegistry from '../../Core/Series/SeriesRegistry.js'; const { series: { prototype: { pointClass: Point } }, seriesTypes: { scatter: { prototype: { pointClass: ScatterPoint } }, dumbbell: { prototype: { pointClass: DumbbellPoint } } } } = SeriesRegistry; import U from '../../Core/Utilities.js'; const { extend } = U; /* * * * Class * * */ class LollipopPoint extends Point { } extend(LollipopPoint.prototype, { destroy: DumbbellPoint.prototype.destroy, pointSetState: ScatterPoint.prototype.setState, setState: DumbbellPoint.prototype.setState }); /* * * * Default Export * * */ export default LollipopPoint;