UNPKG

highcharts

Version:
30 lines (29 loc) 627 B
/* * * * (c) 2010-2025 Pawel Lysy * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import SeriesRegistry from '../../Core/Series/SeriesRegistry.js'; const { column: { prototype: { pointClass: ColumnPoint } } } = SeriesRegistry.seriesTypes; /* * * * Class * * */ class RenkoPoint extends ColumnPoint { getClassName() { return (super.getClassName.call(this) + (this.upTrend ? ' highcharts-point-up' : ' highcharts-point-down')); } } /* * * * Default Export * * */ export default RenkoPoint;