UNPKG

igniteui-webcomponents-charts

Version:

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

42 lines (41 loc) 1.51 kB
import { __extends } from "tslib"; import { IgcDataContext } from "igniteui-webcomponents-core"; import { FunnelSliceDataContext as FunnelSliceDataContext_internal } from "./FunnelSliceDataContext"; import { brushToString, stringToBrush } from "igniteui-webcomponents-core"; /** * Represents the funnel slice data currently in context. */ var IgcFunnelSliceDataContext = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgcFunnelSliceDataContext, _super); function IgcFunnelSliceDataContext() { return _super.call(this) || this; } IgcFunnelSliceDataContext.prototype.createImplementation = function () { return new FunnelSliceDataContext_internal(); }; Object.defineProperty(IgcFunnelSliceDataContext.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); Object.defineProperty(IgcFunnelSliceDataContext.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 IgcFunnelSliceDataContext; }(IgcDataContext)); export { IgcFunnelSliceDataContext };