UNPKG

igniteui-angular-charts

Version:

Ignite UI Angular charting components for building rich data visualizations for modern web apps.

111 lines (108 loc) 5.69 kB
import { __extends } from "tslib"; import { Component, forwardRef, Input, ChangeDetectionStrategy } from '@angular/core'; import { IgxAnchoredRadialSeriesComponent } from "./igx-anchored-radial-series-component"; import { IgxRadialBaseComponent } from "./igx-radial-base-component"; import { IgxMarkerSeriesComponent } from "./igx-marker-series-component"; import { IgxSeriesComponent } from "./igx-series-component"; import { RadialColumnSeries } from "./RadialColumnSeries"; import * as i0 from "@angular/core"; /** * Represents a IgxDataChartComponent radial column series. * Compare values across categories by using radial rectangles. */ var IgxRadialColumnSeriesComponent = /** @class */ /*@__PURE__*/ (function (_super) { __extends(IgxRadialColumnSeriesComponent, _super); function IgxRadialColumnSeriesComponent() { return _super.call(this) || this; } IgxRadialColumnSeriesComponent.prototype.createImplementation = function () { return new RadialColumnSeries(); }; Object.defineProperty(IgxRadialColumnSeriesComponent.prototype, "i", { /** * @hidden */ get: function () { return this._implementation; }, enumerable: false, configurable: true }); Object.defineProperty(IgxRadialColumnSeriesComponent.prototype, "isColumn", { /** * Gets whether the current series shows a column shape. */ get: function () { return this.i.e1; }, enumerable: false, configurable: true }); Object.defineProperty(IgxRadialColumnSeriesComponent.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 }); Object.defineProperty(IgxRadialColumnSeriesComponent.prototype, "radiusX", { /** * Gets or sets the x-radius of the ellipse that is used to round the corners of the column. */ get: function () { return this.i.adt; }, set: function (v) { this.i.adt = +v; }, enumerable: false, configurable: true }); Object.defineProperty(IgxRadialColumnSeriesComponent.prototype, "radiusY", { /** * Gets or sets the y-radius of the ellipse that is used to round the corners of the column. */ get: function () { return this.i.adu; }, set: function (v) { this.i.adu = +v; }, enumerable: false, configurable: true }); /** * When overridden in a derived class, is invoked whenever application code or internal processes * call ApplyTemplate. */ IgxRadialColumnSeriesComponent.prototype.onApplyTemplate = function () { this.i.ac(); }; /** * For a category plotted series, returns the current width of the items within the categories. This only returns a value if the items have some form of width (e.g. columns, bars, etc.) otherwise 0 is returned. */ IgxRadialColumnSeriesComponent.prototype.getItemSpan = function () { var iv = this.i.ix(); return (iv); }; IgxRadialColumnSeriesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxRadialColumnSeriesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); IgxRadialColumnSeriesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxRadialColumnSeriesComponent, selector: "igx-radial-column-series", inputs: { radiusX: "radiusX", radiusY: "radiusY" }, providers: [{ provide: IgxAnchoredRadialSeriesComponent, useExisting: forwardRef(function () { return IgxRadialColumnSeriesComponent; }) }, { provide: IgxRadialBaseComponent, useExisting: forwardRef(function () { return IgxRadialColumnSeriesComponent; }) }, { provide: IgxMarkerSeriesComponent, useExisting: forwardRef(function () { return IgxRadialColumnSeriesComponent; }) }, { provide: IgxSeriesComponent, useExisting: forwardRef(function () { return IgxRadialColumnSeriesComponent; }) }], usesInheritance: true, ngImport: i0, template: "", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); return IgxRadialColumnSeriesComponent; }(IgxAnchoredRadialSeriesComponent)); export { IgxRadialColumnSeriesComponent }; i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxRadialColumnSeriesComponent, decorators: [{ type: Component, args: [{ selector: 'igx-radial-column-series', template: "", providers: [{ provide: IgxAnchoredRadialSeriesComponent, useExisting: forwardRef(function () { return IgxRadialColumnSeriesComponent; }) }, { provide: IgxRadialBaseComponent, useExisting: forwardRef(function () { return IgxRadialColumnSeriesComponent; }) }, { provide: IgxMarkerSeriesComponent, useExisting: forwardRef(function () { return IgxRadialColumnSeriesComponent; }) }, { provide: IgxSeriesComponent, useExisting: forwardRef(function () { return IgxRadialColumnSeriesComponent; }) }], changeDetection: ChangeDetectionStrategy.OnPush }] }], ctorParameters: function () { return []; }, propDecorators: { radiusX: [{ type: Input }], radiusY: [{ type: Input }] } });