igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
55 lines (54 loc) • 1.25 kB
JavaScript
import { IgrSplineSeriesBase } from "./igr-spline-series-base";
import { SplineAreaSeries } from "./SplineAreaSeries";
/**
* Represents a IgxDataChartComponent spline area series.
*
* ```ts
* <IgrDataChart
* dataSource={this.state.dataSource} >
*
* <IgrNumericXAxis name="xAxis" />
* <IgrNumericYAxis name="yAxis" />
*
* <IgrSplineAreaSeries
* name="series1"
* xAxisName="xAxis"
* yAxisName="yAxis"
* valueMemberPath="Value"
* />
* </IgrDataChart>
* ```
*
* ```ts
* let series = new IgrSplineAreaSeries({name:"series"});
* series.xAxis = this.xAxis;
* series.yAxis = this.yAxis;
* series.valueMemberPath = "Value";
* ```
*/
export class IgrSplineAreaSeries extends IgrSplineSeriesBase {
createImplementation() {
return new SplineAreaSeries();
}
/**
* @hidden
*/
get i() {
return this._implementation;
}
constructor(props) {
super(props);
}
/**
* 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;
}
}