UNPKG

highcharts

Version:
40 lines (39 loc) 692 B
/* * * * (c) 2010-2025 Torstein Honsi * * 3D pie series * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import SeriesRegistry from '../../Core/Series/SeriesRegistry.js'; const { pie: { prototype: { pointClass: PiePoint } } } = SeriesRegistry.seriesTypes; /* * * * Class * * */ class Pie3DPoint extends PiePoint { /* * * * Functions * * */ /** * @private */ haloPath() { return this.series?.chart.is3d() ? [] : super.haloPath.apply(this, arguments); } } /* * * * Default Export * * */ export default Pie3DPoint;