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.

31 lines (30 loc) 1.05 kB
import { BarLineChartBase } from './BarLineChartBase'; import { ScatterChartRenderer } from '../renderer/ScatterChartRenderer'; export var ScatterShape; (function (ScatterShape) { ScatterShape["SQUARE"] = "SQUARE"; ScatterShape["CIRCLE"] = "CIRCLE"; ScatterShape["TRIANGLE"] = "TRIANGLE"; ScatterShape["CROSS"] = "CROSS"; ScatterShape["X"] = "X"; ScatterShape["CHEVRON_UP"] = "CHEVRON_UP"; ScatterShape["CHEVRON_DOWN"] = "CHEVRON_DOWN"; })(ScatterShape || (ScatterShape = {})); /** * The ScatterChart. Draws dots, triangles, squares and custom shapes into the * Chart-View. CIRCLE and SCQUARE offer the best performance, TRIANGLE has the * worst performance. * */ export class ScatterChart extends BarLineChartBase { init() { super.init(); this.renderer = new ScatterChartRenderer(this, this.animator, this.viewPortHandler); this.xAxis.spaceMin = 0.5; this.xAxis.spaceMax = 0.5; } get scatterData() { return this.mData; } } //# sourceMappingURL=ScatterChart.js.map