UNPKG

highcharts

Version:
39 lines (38 loc) 825 B
/* * * * (c) 2010-2024 Torstein Honsi * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import SeriesRegistry from '../../Core/Series/SeriesRegistry.js'; const { seriesTypes: { column: { prototype: { pointClass: { prototype: columnProto } } }, arearange: { prototype: { pointClass: AreaRangePoint } } } } = SeriesRegistry; import U from '../../Core/Utilities.js'; const { extend, isNumber } = U; /* * * * Class * * */ class ColumnRangePoint extends AreaRangePoint { /* * * * Functions * * */ isValid() { return isNumber(this.low); } } extend(ColumnRangePoint.prototype, { setState: columnProto.setState }); /* * * * Default Export * * */ export default ColumnRangePoint;