igniteui-react-charts
Version:
Ignite UI React charting components for building rich data visualizations using TypeScript APIs.
93 lines (92 loc) • 2.76 kB
JavaScript
import { __extends } from "tslib";
import { IgrHorizontalAnchoredCategorySeries } from "./igr-horizontal-anchored-category-series";
import { StepAreaSeries } from "./StepAreaSeries";
/**
* Represents a IgxDataChartComponent step area series.
*
* ```ts
* <IgrDataChart
* dataSource={this.state.dataSource}
* width="700px"
* height="500px">
*
* <IgrCategoryXAxis name="xAxis" label="Year" />
* <IgrNumericYAxis name="yAxis" />
*
* <IgrStepAreaSeries
* name="series1"
* xAxisName="xAxis"
* yAxisName="yAxis"
* valueMemberPath="value" />
* </IgrDataChart>
* ```
*
* ```ts
* let series = new IgrStepAreaSeries({name:"series1"});
* series.xAxis = this.xAxis;
* series.yAxis = this.yAxis;
* series.valueMemberPath="value";
* this.chart.series.add(series);
* ```
*/
var IgrStepAreaSeries = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgrStepAreaSeries, _super);
function IgrStepAreaSeries(props) {
return _super.call(this, props) || this;
}
IgrStepAreaSeries.prototype.createImplementation = function () {
return new StepAreaSeries();
};
Object.defineProperty(IgrStepAreaSeries.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrStepAreaSeries.prototype, "isAreaOrLine", {
/**
* Gets whether the current series shows an area or line shape.
*/
get: function () {
return this.i.ex;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrStepAreaSeries.prototype, "isArea", {
/**
* Gets whether the current series shows an area shape.
*/
get: function () {
return this.i.ew;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrStepAreaSeries.prototype, "isStep", {
/**
* Gets whether the current series shows step shapes.
*/
get: function () {
return this.i.f2;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgrStepAreaSeries.prototype, "isMarkerlessDisplayPreferred", {
/**
* Overridden by derived series classes to indicate when marker-less display is preferred or not.
*/
get: function () {
return this.i.fm;
},
enumerable: false,
configurable: true
});
return IgrStepAreaSeries;
}(IgrHorizontalAnchoredCategorySeries));
export { IgrStepAreaSeries };