UNPKG

highcharts

Version:
34 lines (33 loc) 899 B
/* * * * (c) 2010-2026 Highsoft AS * Author: Torstein Hønsi * * Integration of this software requires a license. * - For commercial use, see www.highcharts.com/license * - For non-commercial, see www.highcharts.com/license-eula * * * */ 'use strict'; import SeriesRegistry from '../../Core/Series/SeriesRegistry.js'; import { extend } from '../../Shared/Utilities.js'; const { series: { prototype: { pointClass: Point } }, seriesTypes: { scatter: { prototype: { pointClass: ScatterPoint } }, dumbbell: { prototype: { pointClass: DumbbellPoint } } } } = SeriesRegistry; /* * * * 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;