highcharts
Version:
JavaScript charting framework
47 lines (46 loc) • 915 B
JavaScript
/* *
*
* 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
*
*
* */
;
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;