UNPKG

highcharts

Version:
47 lines (46 loc) 915 B
/* * * * Arc diagram module * * (c) 2018-2026 Highsoft AS * Author: Torstein Honsi * * A commercial license may be required depending on use. * See www.highcharts.com/license * * * */ 'use strict'; import NodesComposition from '../NodesComposition.js'; import SeriesRegistry from '../../Core/Series/SeriesRegistry.js'; const { seriesTypes: { sankey: { prototype: { pointClass: SankeyPoint } } } } = SeriesRegistry; import U from '../../Core/Utilities.js'; const { extend } = U; /* * * * Class * * */ /** @internal */ class ArcDiagramPoint extends SankeyPoint { /* * * * Functions * * */ /* eslint-disable valid-jsdoc */ isValid() { // No null points here return true; } } extend(ArcDiagramPoint.prototype, { setState: NodesComposition.setNodeState }); /* * * * Default Export * * */ /** @internal */ export default ArcDiagramPoint;