igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
49 lines (48 loc) • 2.32 kB
JavaScript
import { __extends } from "tslib";
import { Component } from '@angular/core';
import { IgxSplineSeriesBaseComponent } from "./igx-spline-series-base-component";
import { toPoint, fromPoint } from "igniteui-angular-core";
import * as i0 from "@angular/core";
/**
* Represents one part in a StackedSplineSeries or StackedSplineAreaSeries.
*/
var IgxSplineFragmentBaseComponent = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgxSplineFragmentBaseComponent, _super);
function IgxSplineFragmentBaseComponent() {
return _super.call(this) || this;
}
Object.defineProperty(IgxSplineFragmentBaseComponent.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxSplineFragmentBaseComponent.prototype, "isFragment", {
/**
* Gets whether the current series is a stack fragment.
*/
get: function () {
return this.i.isFragment;
},
enumerable: false,
configurable: true
});
IgxSplineFragmentBaseComponent.prototype.getSeriesValuePosition = function (world, useInterpolation, skipUnknowns) {
var iv = this.i.wh(toPoint(world), useInterpolation, skipUnknowns);
return fromPoint(iv);
};
IgxSplineFragmentBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxSplineFragmentBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
IgxSplineFragmentBaseComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxSplineFragmentBaseComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "", isInline: true });
return IgxSplineFragmentBaseComponent;
}(IgxSplineSeriesBaseComponent));
export { IgxSplineFragmentBaseComponent };
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxSplineFragmentBaseComponent, decorators: [{
type: Component,
args: [{
template: "",
}]
}], ctorParameters: function () { return []; } });