UNPKG

@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 651 B
import { LineChartRenderer } from '../renderer/LineChartRenderer'; import { BarLineChartBase } from './BarLineChartBase'; export class LineChart extends BarLineChartBase { init() { super.init(); this.renderer = new LineChartRenderer(this, this.animator, this.viewPortHandler); } get lineData() { return this.mData; } _onDetachedFromWindow() { // releases the bitmap in the renderer to avoid oom error if (this.renderer instanceof LineChartRenderer) { this.renderer.releaseBitmap(); } // super._onDetachedFromWindow(); } } //# sourceMappingURL=LineChart.js.map