UNPKG

highcharts

Version:
36 lines (35 loc) 602 B
/* * * * Wind barb series module * * (c) 2010-2026 Highsoft AS * Author: Torstein Hønsi * * A commercial license may be required depending on use. * See www.highcharts.com/license * * * */ import ColumnSeries from '../Column/ColumnSeries.js'; import { isNumber } from '../../Shared/Utilities.js'; /* * * * Class * * */ class WindbarbPoint extends ColumnSeries.prototype.pointClass { /* * * * Functions * * */ isValid() { return isNumber(this.value) && this.value >= 0; } } /* * * * Default Export * * */ export default WindbarbPoint;