UNPKG

igniteui-react-charts

Version:

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

42 lines (41 loc) 1.5 kB
import { __extends } from "tslib"; import { IgrDataContext } from "igniteui-react-core"; import { FunnelSliceDataContext as FunnelSliceDataContext_internal } from "./FunnelSliceDataContext"; import { brushToString, stringToBrush } from "igniteui-react-core"; /** * Represents the funnel slice data currently in context. */ var IgrFunnelSliceDataContext = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgrFunnelSliceDataContext, _super); function IgrFunnelSliceDataContext() { return _super.call(this) || this; } IgrFunnelSliceDataContext.prototype.createImplementation = function () { return new FunnelSliceDataContext_internal(); }; Object.defineProperty(IgrFunnelSliceDataContext.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); Object.defineProperty(IgrFunnelSliceDataContext.prototype, "itemOutline", { /** * Gets or sets the Outline to use to color the item. */ get: function () { return brushToString(this.i.itemOutline); }, set: function (v) { this.i.itemOutline = stringToBrush(v); }, enumerable: false, configurable: true }); return IgrFunnelSliceDataContext; }(IgrDataContext)); export { IgrFunnelSliceDataContext };