UNPKG

highcharts

Version:
46 lines (45 loc) 946 B
/* * * * Arc diagram module * * (c) 2018-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 NodesComposition from '../NodesComposition.js'; import SeriesRegistry from '../../Core/Series/SeriesRegistry.js'; import { extend } from '../../Shared/Utilities.js'; const { seriesTypes: { sankey: { prototype: { pointClass: SankeyPoint } } } } = SeriesRegistry; /* * * * Class * * */ /** @internal */ class ArcDiagramPoint extends SankeyPoint { /* * * * Functions * * */ isValid() { // No null points here return true; } } extend(ArcDiagramPoint.prototype, { setState: NodesComposition.setNodeState }); /* * * * Default Export * * */ /** @internal */ export default ArcDiagramPoint;