UNPKG

igniteui-react-charts

Version:

Ignite UI React charting components for building rich data visualizations using TypeScript APIs.

36 lines (35 loc) 1.01 kB
import { IgrHorizontalStackedSeriesBase } from "./igr-horizontal-stacked-series-base"; import { StackedSplineSeries } from "./StackedSplineSeries"; import { ensureBool } from "igniteui-react-core"; /** * Represents a IgxDataChartComponent stacked spline series. */ export class IgrStackedSplineSeries extends IgrHorizontalStackedSeriesBase { createImplementation() { return new StackedSplineSeries(); } /** * @hidden */ get i() { return this._implementation; } constructor(props) { super(props); } /** * Gets or sets whether to include the spline shape in the axis range requested of the axis. */ get isSplineShapePartOfRange() { return this.i.aca; } set isSplineShapePartOfRange(v) { this.i.aca = ensureBool(v); } /** * Gets whether the current series shows a spline shape. */ get isSpline() { return this.i.f1; } }