igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
42 lines (41 loc) • 1.16 kB
JavaScript
import { IgrHorizontalStackedSeriesBase } from "./igr-horizontal-stacked-series-base";
import { StackedSplineAreaSeries } from "./StackedSplineAreaSeries";
import { ensureBool } from "igniteui-react-core";
/**
* Represents a IgxDataChartComponent stacked spline area series.
*/
export class IgrStackedSplineAreaSeries extends IgrHorizontalStackedSeriesBase {
createImplementation() {
return new StackedSplineAreaSeries();
}
/**
* @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.acg;
}
set isSplineShapePartOfRange(v) {
this.i.acg = ensureBool(v);
}
/**
* Gets whether the current series shows an area shape.
*/
get isArea() {
return this.i.ew;
}
/**
* Gets whether the current series shows a spline shape.
*/
get isSpline() {
return this.i.f1;
}
}