UNPKG

highcharts

Version:
34 lines (33 loc) 831 B
/* * * * (c) 2010-2026 Highsoft AS * Author: Torstein Honsi * * A commercial license may be required depending on use. * See www.highcharts.com/license * * * */ '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;