UNPKG

igniteui-react-charts

Version:

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

64 lines (63 loc) 1.87 kB
import { __extends } from "tslib"; import { IgrHorizontalAnchoredCategorySeries } from "./igr-horizontal-anchored-category-series"; import { PointSeries } from "./PointSeries"; /** * Represents a IgxDataChartComponent point series. * * You can use the `PointSeries` plot a value along a category or date. * * ```ts * <IgrDataChart * dataSource={this.state.dataSource} * width="700px" * height="500px"> * * <IgrCategoryXAxis name="xAxis" label="Date" /> * <IgrNumericYAxis name="yAxis" /> * <IgrPointSeries * name="series1" * xAxisName="xAxis" * yAxisName="yAxis" * volumeMemberPath="Volume" /> * </IgrDataChart> * ``` * * ```ts * const series1 = new IgrPointSeries({ name: "series1" }); * series1.xAxisName = "xAxis"; * series1.yAxisName = "yAxis"; * series1.markerType = MarkerType.Circle; * series1.valueMemberPath = "USA"; * ``` */ var IgrPointSeries = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgrPointSeries, _super); function IgrPointSeries(props) { return _super.call(this, props) || this; } IgrPointSeries.prototype.createImplementation = function () { return new PointSeries(); }; Object.defineProperty(IgrPointSeries.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); Object.defineProperty(IgrPointSeries.prototype, "hasOnlyMarkers", { /** * Gets whether the series has only marker as visuals */ get: function () { return this.i.ek; }, enumerable: false, configurable: true }); return IgrPointSeries; }(IgrHorizontalAnchoredCategorySeries)); export { IgrPointSeries };