@nativescript-community/ui-chart
Version:
A powerful chart / graph plugin, supporting line, bar, pie, radar, bubble, and candlestick charts as well as scaling, panning and animations.
19 lines (18 loc) • 578 B
JavaScript
import { CandleStickChartRenderer } from '../renderer/CandleStickChartRenderer';
import { BarLineChartBase } from './BarLineChartBase';
/**
* Financial chart type that draws candle-sticks (OHCL chart).
*
*/
export class CandleStickChart extends BarLineChartBase {
init() {
super.init();
this.renderer = new CandleStickChartRenderer(this, this.animator, this.viewPortHandler);
this.xAxis.spaceMin = 0.5;
this.xAxis.spaceMax = 0.5;
}
get candleData() {
return this.mData;
}
}
//# sourceMappingURL=CandleStickChart.js.map