igniteui-angular-charts
Version:
Ignite UI Angular charting components for building rich data visualizations for modern web apps.
998 lines (997 loc) • 38.9 kB
JavaScript
import { __extends } from "tslib";
import { EventEmitter, Output, Component, forwardRef, Input, ChangeDetectionStrategy } from '@angular/core';
import { delegateCombine } from "igniteui-angular-core";
import { ValueLayerValueMode_$type } from "./ValueLayerValueMode";
import { IgxSeriesComponent } from "./igx-series-component";
import { IgxAxisComponent } from "./igx-axis-component";
import { OverlayTextLocation_$type } from "./OverlayTextLocation";
import { AnnotationAppearanceMode_$type } from "./AnnotationAppearanceMode";
import { IgxOverlayTextUpdatingEventArgs } from "./igx-overlay-text-updating-event-args";
import { IgxAnnotationLayerComponent } from "./igx-annotation-layer-component";
import { ValueLayer } from "./ValueLayer";
import { ensureBool, ensureEnum, brushToString, stringToBrush, toPoint } from "igniteui-angular-core";
import { FontInfo } from "igniteui-angular-core";
import * as i0 from "@angular/core";
/**
* Represents an annotation layer that displays crosshair lines that cross through the closest value of the target series under the cursor.
*/
var IgxValueLayerComponent = /** @class */ /*@__PURE__*/ (function (_super) {
__extends(IgxValueLayerComponent, _super);
function IgxValueLayerComponent() {
var _this = _super.call(this) || this;
_this._stylingOverlayText = null;
return _this;
}
IgxValueLayerComponent.prototype.createImplementation = function () {
return new ValueLayer();
};
Object.defineProperty(IgxValueLayerComponent.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "isAnnotationValueLayer", {
/**
* Gets whether the series is an crosshair annotation layer.
*/
get: function () {
return this.i.ev;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "valueMode", {
/**
* Gets or sets the value mode for the overlay.
*/
get: function () {
return this.i.aan;
},
set: function (v) {
this.i.aan = ensureEnum(ValueLayerValueMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "horizontalLineStroke", {
/**
* Gets or sets the color to use for the horizontal line. Leave null for an automatic value.
*/
get: function () {
return brushToString(this.i.ae6);
},
set: function (v) {
this.i.ae6 = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "verticalLineStroke", {
/**
* Gets or sets the color to use for vertical line. Leave null for an automatic value.
*/
get: function () {
return brushToString(this.i.afa);
},
set: function (v) {
this.i.afa = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "targetSeriesName", {
/**
* Gets or sets the name of the series to target this annotation to. If null, this annotation targets all series simultaneously.
*/
get: function () {
return this.i.acl;
},
set: function (v) {
this.i.acl = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "targetSeries", {
/**
* Gets or sets the series to target this annotation to. If null, this annotation targets all series simultaneously.
*/
get: function () {
var r = this.i.aal;
if (r == null) {
return null;
}
if (!r.externalObject) {
var e = IgxSeriesComponent._createFromInternal(r);
if (e) {
e._implementation = r;
}
r.externalObject = e;
}
return r.externalObject;
},
set: function (v) {
if (v != null && this._stylingContainer && v._styling)
v._styling(this._stylingContainer, this, this);
v == null ? this.i.aal = null : this.i.aal = v.i;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "targetAxisName", {
/**
* Gets or sets the name of the axis to target this annotation to. If null, this annotation targets all axis simultaneously.
*/
get: function () {
return this.i.aci;
},
set: function (v) {
this.i.aci = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "targetAxis", {
/**
* Gets or sets the axis to target this annotation to. If null, this annotation targets all value axis simultaneously.
*/
get: function () {
var r = this.i.aae;
if (r == null) {
return null;
}
if (!r.externalObject) {
var e = IgxAxisComponent._createFromInternal(r);
if (e) {
e._implementation = r;
}
r.externalObject = e;
}
return r.externalObject;
},
set: function (v) {
if (v != null && this._stylingContainer && v._styling)
v._styling(this._stylingContainer, this, this);
v == null ? this.i.aae = null : this.i.aae = v.i;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "useInterpolation", {
/**
* Gets or sets whether to use value interpolation when drawing a line through the best value for the cursor position.
*/
get: function () {
return this.i.aay;
},
set: function (v) {
this.i.aay = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "isAxisAnnotationEnabled", {
/**
* Gets or sets whether to draw annotations over the axes where the crosshair meets with them.
*/
get: function () {
return this.i.aar;
},
set: function (v) {
this.i.aar = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "xAxisAnnotationFormatLabel", {
/**
* Sets or gets a function which takes an object that produces a formatted label for the x axis annotation.
*/
get: function () {
return this.i.aaf;
},
set: function (v) {
this.i.aaf = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "yAxisAnnotationFormatLabel", {
/**
* Sets or gets a function which takes an object that produces a formatted label for the y axis annotation.
*/
get: function () {
return this.i.aag;
},
set: function (v) {
this.i.aag = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "xAxisAnnotationTextColor", {
/**
* Gets or sets the color to use for the x axis annotation text. Leave unset for an automatic value.
*/
get: function () {
return brushToString(this.i.afd);
},
set: function (v) {
this.i.afd = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "xAxisAnnotationBackground", {
/**
* Gets or sets the color to use for the x axis annotation backing. Leave unset for an automatic value.
*/
get: function () {
return brushToString(this.i.afb);
},
set: function (v) {
this.i.afb = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "xAxisAnnotationBackgroundCornerRadius", {
/**
* Gets or sets the corner radius to use for the x axis annotation backing. Leave unset for an automatic value.
*/
get: function () {
return this.i.abb;
},
set: function (v) {
this.i.abb = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "xAxisAnnotationInterpolatedValuePrecision", {
/**
* Gets or sets the precision to use displaying values for interpolated crosshair positions.
*/
get: function () {
return this.i.abn;
},
set: function (v) {
this.i.abn = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "xAxisAnnotationOutline", {
/**
* Gets or sets the color to use for the x axis annotation outline. Leave unset for an automatic value.
*/
get: function () {
return brushToString(this.i.afc);
},
set: function (v) {
this.i.afc = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "xAxisAnnotationPaddingLeft", {
/**
* Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.
*/
get: function () {
return this.i.abd;
},
set: function (v) {
this.i.abd = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "xAxisAnnotationPaddingTop", {
/**
* Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.
*/
get: function () {
return this.i.abf;
},
set: function (v) {
this.i.abf = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "xAxisAnnotationPaddingRight", {
/**
* Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.
*/
get: function () {
return this.i.abe;
},
set: function (v) {
this.i.abe = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "xAxisAnnotationPaddingBottom", {
/**
* Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.
*/
get: function () {
return this.i.abc;
},
set: function (v) {
this.i.abc = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "yAxisAnnotationPaddingLeft", {
/**
* Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.
*/
get: function () {
return this.i.abj;
},
set: function (v) {
this.i.abj = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "yAxisAnnotationPaddingTop", {
/**
* Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.
*/
get: function () {
return this.i.abl;
},
set: function (v) {
this.i.abl = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "yAxisAnnotationPaddingRight", {
/**
* Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.
*/
get: function () {
return this.i.abk;
},
set: function (v) {
this.i.abk = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "yAxisAnnotationPaddingBottom", {
/**
* Gets or sets the padding to use withing the axis annotation callout. Leaving this NaN will use an automatic value related to the axis label margins.
*/
get: function () {
return this.i.abi;
},
set: function (v) {
this.i.abi = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "xAxisAnnotationStrokeThickness", {
/**
* Gets or sets the stroke thickness for the x axis annotation backing. Leave unset for an automatic value.
*/
get: function () {
return this.i.abg;
},
set: function (v) {
this.i.abg = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "yAxisAnnotationTextColor", {
/**
* Gets or sets the color to use for the y axis annotation text. Leave unset for an automatic value.
*/
get: function () {
return brushToString(this.i.afg);
},
set: function (v) {
this.i.afg = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "yAxisAnnotationBackground", {
/**
* Gets or sets the color to use for the y axis annotation backing. Leave unset for an automatic value.
*/
get: function () {
return brushToString(this.i.afe);
},
set: function (v) {
this.i.afe = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "yAxisAnnotationBackgroundCornerRadius", {
/**
* Gets or sets the corner radius to use for the y axis annotation backing. Leave unset for an automatic value.
*/
get: function () {
return this.i.abh;
},
set: function (v) {
this.i.abh = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "yAxisAnnotationInterpolatedValuePrecision", {
/**
* Gets or sets the precision to use displaying values for interpolated crosshair positions.
*/
get: function () {
return this.i.abo;
},
set: function (v) {
this.i.abo = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "yAxisAnnotationOutline", {
/**
* Gets or sets the color to use for the y axis annotation outline. Leave unset for an automatic value.
*/
get: function () {
return brushToString(this.i.aff);
},
set: function (v) {
this.i.aff = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "yAxisAnnotationStrokeThickness", {
/**
* Gets or sets the stroke thickness for the y axis annotation backing. Leave unset for an automatic value.
*/
get: function () {
return this.i.abm;
},
set: function (v) {
this.i.abm = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "skipUnknownValues", {
/**
* Gets or sets whether to skip unknown values when searching for series values.
*/
get: function () {
return this.i.aax;
},
set: function (v) {
this.i.aax = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextLocation", {
/**
* Gets or sets location of the overlay text in relation to shape of data annotation.
*/
get: function () {
return this.i.aah;
},
set: function (v) {
this.i.aah = ensureEnum(OverlayTextLocation_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextHorizontalMargin", {
/**
* Gets or sets the horizontal margin of the overlay text in relation to shape of data annotation.
*/
get: function () {
return this.i.aa7;
},
set: function (v) {
this.i.aa7 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextVerticalMargin", {
/**
* Gets or sets the vertical margin of the overlay text in relation to shape of data annotation.
*/
get: function () {
return this.i.aa9;
},
set: function (v) {
this.i.aa9 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextHorizontalPadding", {
/**
* Gets or sets the horizontal padding of the overlay text in relation to shape of data annotation.
*/
get: function () {
return this.i.aa8;
},
set: function (v) {
this.i.aa8 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextVerticalPadding", {
/**
* Gets or sets the vertical padding of the overlay text in relation to shape of data annotation.
*/
get: function () {
return this.i.aba;
},
set: function (v) {
this.i.aba = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextAngle", {
/**
* Gets or sets the angle rotation (in degrees) of the overlay text in relation to shape of data annotation.
*/
get: function () {
return this.i.aa1;
},
set: function (v) {
this.i.aa1 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextColor", {
/**
* Gets or sets the color the overlay text.
*/
get: function () {
return brushToString(this.i.ae9);
},
set: function (v) {
this.i.ae9 = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextBackground", {
/**
* Gets or sets the background the overlay text.
*/
get: function () {
return brushToString(this.i.ae7);
},
set: function (v) {
this.i.ae7 = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextBorderColor", {
/**
* Gets or sets the border stroke of the overlay text.
*/
get: function () {
return brushToString(this.i.ae8);
},
set: function (v) {
this.i.ae8 = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextBorderRadius", {
/**
* Gets or sets the border corner of the overlay text.
*/
get: function () {
return this.i.aa3;
},
set: function (v) {
this.i.aa3 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextBorderThickness", {
/**
* Gets or sets the border thickness of the overlay text.
*/
get: function () {
return this.i.aa5;
},
set: function (v) {
this.i.aa5 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextVisible", {
/**
* Gets or sets whether the overlay text is visible in shape of data annotation
*/
get: function () {
return this.i.aaw;
},
set: function (v) {
this.i.aaw = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayText", {
/**
* Gets or sets the text that will be displayed as the overlay annotation.
*/
get: function () {
return this.i.abt;
},
set: function (v) {
this.i.abt = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextColorShift", {
/**
* Gets or sets the shift of the overlay text color based on OverlayTextColorMode. Value must range between -1.0 to 1.0, where 0 means no color shift.
*/
get: function () {
return this.i.aa6;
},
set: function (v) {
this.i.aa6 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextColorMode", {
/**
* Gets or sets the mode used for shifting the background of overlay text based on the target series.
*/
get: function () {
return this.i.aad;
},
set: function (v) {
this.i.aad = ensureEnum(AnnotationAppearanceMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextColorMatchLayer", {
/**
* Gets or sets whether the overlay text color matches brush of the layer
*/
get: function () {
return this.i.aav;
},
set: function (v) {
this.i.aav = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextBackgroundShift", {
/**
* Gets or sets the shift of the overlay background based on OverlayTextBackgroundMode. Value must range between -1.0 to 1.0, where 0 means no color shift.
*/
get: function () {
return this.i.aa2;
},
set: function (v) {
this.i.aa2 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextBackgroundMode", {
/**
* Gets or sets the mode used for shifting the background of overlay text based on the target series.
*/
get: function () {
return this.i.aab;
},
set: function (v) {
this.i.aab = ensureEnum(AnnotationAppearanceMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextBackgroundMatchLayer", {
/**
* Gets or sets whether the overlay text background matches brush of the layer
*/
get: function () {
return this.i.aat;
},
set: function (v) {
this.i.aat = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextBorderShift", {
/**
* Gets or sets the shift of the overlay border based on OverlayTextBorderMode. Value must range between -1.0 to 1.0, where 0 means no color shift.
*/
get: function () {
return this.i.aa4;
},
set: function (v) {
this.i.aa4 = +v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextBorderMode", {
/**
* Gets or sets the mode used for shifting the border of overlay text based on the target series.
*/
get: function () {
return this.i.aac;
},
set: function (v) {
this.i.aac = ensureEnum(AnnotationAppearanceMode_$type, v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextBorderMatchLayer", {
/**
* Gets or sets whether the overlay text border matches brush of the layer
*/
get: function () {
return this.i.aau;
},
set: function (v) {
this.i.aau = ensureBool(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "overlayTextStyle", {
/**
* Gets or Sets the style to use for the display text.
*/
get: function () {
if (this.i.aaq == null) {
return null;
}
return this.i.aaq.fontString;
},
set: function (v) {
var fi = new FontInfo();
fi.fontString = v;
this.i.aaq = fi;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "actualValueLayerBrush", {
/**
* Gets the effective brush for the current value layer. Can be null for value
* modes that target multiple series.
*/
get: function () {
return brushToString(this.i.ae5);
},
set: function (v) {
this.i.ae5 = stringToBrush(v);
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgxValueLayerComponent.prototype, "isSummarizationSupported", {
get: function () {
return this.i.isSummarizationSupported;
},
enumerable: false,
configurable: true
});
IgxValueLayerComponent.prototype.findByName = function (name) {
var baseResult = _super.prototype.findByName.call(this, name);
if (baseResult) {
return baseResult;
}
if (this.targetSeries && this.targetSeries.name && this.targetSeries.name == name) {
return this.targetSeries;
}
if (this.targetAxis && this.targetAxis.name && this.targetAxis.name == name) {
return this.targetAxis;
}
return null;
};
IgxValueLayerComponent.prototype._styling = function (container, component, parent) {
_super.prototype._styling.call(this, container, component, parent);
this._inStyling = true;
if (this.targetSeries && this.targetSeries._styling) {
this.targetSeries._styling(container, component, this);
}
if (this.targetAxis && this.targetAxis._styling) {
this.targetAxis._styling(container, component, this);
}
this._inStyling = false;
};
IgxValueLayerComponent.prototype.getSeriesValue = function (world, useInterpolation, skipUnknowns) {
var iv = this.i.i6(toPoint(world), useInterpolation, skipUnknowns);
return (iv);
};
Object.defineProperty(IgxValueLayerComponent.prototype, "stylingOverlayText", {
/**
* Event raised when updating style of overlay text
*/
get: function () {
var _this = this;
if (this._stylingOverlayText == null) {
this._stylingOverlayText = new EventEmitter();
this.i.stylingOverlayText = delegateCombine(this.i.stylingOverlayText, function (o, e) {
_this._runInZone(function () {
var outerArgs = new IgxOverlayTextUpdatingEventArgs();
outerArgs._provideImplementation(e);
if (_this.beforeStylingOverlayText) {
_this.beforeStylingOverlayText(_this, outerArgs);
}
_this._stylingOverlayText.emit({
sender: _this,
args: outerArgs
});
});
});
}
return this._stylingOverlayText;
},
enumerable: false,
configurable: true
});
IgxValueLayerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxValueLayerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
IgxValueLayerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: IgxValueLayerComponent, selector: "igx-value-layer", inputs: { valueMode: "valueMode", horizontalLineStroke: "horizontalLineStroke", verticalLineStroke: "verticalLineStroke", targetSeriesName: "targetSeriesName", targetSeries: "targetSeries", targetAxisName: "targetAxisName", targetAxis: "targetAxis", useInterpolation: "useInterpolation", isAxisAnnotationEnabled: "isAxisAnnotationEnabled", xAxisAnnotationFormatLabel: "xAxisAnnotationFormatLabel", yAxisAnnotationFormatLabel: "yAxisAnnotationFormatLabel", xAxisAnnotationTextColor: "xAxisAnnotationTextColor", xAxisAnnotationBackground: "xAxisAnnotationBackground", xAxisAnnotationBackgroundCornerRadius: "xAxisAnnotationBackgroundCornerRadius", xAxisAnnotationInterpolatedValuePrecision: "xAxisAnnotationInterpolatedValuePrecision", xAxisAnnotationOutline: "xAxisAnnotationOutline", xAxisAnnotationPaddingLeft: "xAxisAnnotationPaddingLeft", xAxisAnnotationPaddingTop: "xAxisAnnotationPaddingTop", xAxisAnnotationPaddingRight: "xAxisAnnotationPaddingRight", xAxisAnnotationPaddingBottom: "xAxisAnnotationPaddingBottom", yAxisAnnotationPaddingLeft: "yAxisAnnotationPaddingLeft", yAxisAnnotationPaddingTop: "yAxisAnnotationPaddingTop", yAxisAnnotationPaddingRight: "yAxisAnnotationPaddingRight", yAxisAnnotationPaddingBottom: "yAxisAnnotationPaddingBottom", xAxisAnnotationStrokeThickness: "xAxisAnnotationStrokeThickness", yAxisAnnotationTextColor: "yAxisAnnotationTextColor", yAxisAnnotationBackground: "yAxisAnnotationBackground", yAxisAnnotationBackgroundCornerRadius: "yAxisAnnotationBackgroundCornerRadius", yAxisAnnotationInterpolatedValuePrecision: "yAxisAnnotationInterpolatedValuePrecision", yAxisAnnotationOutline: "yAxisAnnotationOutline", yAxisAnnotationStrokeThickness: "yAxisAnnotationStrokeThickness", skipUnknownValues: "skipUnknownValues", overlayTextLocation: "overlayTextLocation", overlayTextHorizontalMargin: "overlayTextHorizontalMargin", overlayTextVerticalMargin: "overlayTextVerticalMargin", overlayTextHorizontalPadding: "overlayTextHorizontalPadding", overlayTextVerticalPadding: "overlayTextVerticalPadding", overlayTextAngle: "overlayTextAngle", overlayTextColor: "overlayTextColor", overlayTextBackground: "overlayTextBackground", overlayTextBorderColor: "overlayTextBorderColor", overlayTextBorderRadius: "overlayTextBorderRadius", overlayTextBorderThickness: "overlayTextBorderThickness", overlayTextVisible: "overlayTextVisible", overlayText: "overlayText", overlayTextColorShift: "overlayTextColorShift", overlayTextColorMode: "overlayTextColorMode", overlayTextColorMatchLayer: "overlayTextColorMatchLayer", overlayTextBackgroundShift: "overlayTextBackgroundShift", overlayTextBackgroundMode: "overlayTextBackgroundMode", overlayTextBackgroundMatchLayer: "overlayTextBackgroundMatchLayer", overlayTextBorderShift: "overlayTextBorderShift", overlayTextBorderMode: "overlayTextBorderMode", overlayTextBorderMatchLayer: "overlayTextBorderMatchLayer", overlayTextStyle: "overlayTextStyle", actualValueLayerBrush: "actualValueLayerBrush" }, outputs: { stylingOverlayText: "stylingOverlayText" }, providers: [{ provide: IgxAnnotationLayerComponent, useExisting: forwardRef(function () { return IgxValueLayerComponent; }) }, { provide: IgxSeriesComponent, useExisting: forwardRef(function () { return IgxValueLayerComponent; }) }], usesInheritance: true, ngImport: i0, template: "", isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
return IgxValueLayerComponent;
}(IgxAnnotationLayerComponent));
export { IgxValueLayerComponent };
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: IgxValueLayerComponent, decorators: [{
type: Component,
args: [{
selector: 'igx-value-layer',
template: "",
providers: [{ provide: IgxAnnotationLayerComponent, useExisting: forwardRef(function () { return IgxValueLayerComponent; }) }, { provide: IgxSeriesComponent, useExisting: forwardRef(function () { return IgxValueLayerComponent; }) }],
changeDetection: ChangeDetectionStrategy.OnPush
}]
}], ctorParameters: function () { return []; }, propDecorators: { valueMode: [{
type: Input
}], horizontalLineStroke: [{
type: Input
}], verticalLineStroke: [{
type: Input
}], targetSeriesName: [{
type: Input
}], targetSeries: [{
type: Input
}], targetAxisName: [{
type: Input
}], targetAxis: [{
type: Input
}], useInterpolation: [{
type: Input
}], isAxisAnnotationEnabled: [{
type: Input
}], xAxisAnnotationFormatLabel: [{
type: Input
}], yAxisAnnotationFormatLabel: [{
type: Input
}], xAxisAnnotationTextColor: [{
type: Input
}], xAxisAnnotationBackground: [{
type: Input
}], xAxisAnnotationBackgroundCornerRadius: [{
type: Input
}], xAxisAnnotationInterpolatedValuePrecision: [{
type: Input
}], xAxisAnnotationOutline: [{
type: Input
}], xAxisAnnotationPaddingLeft: [{
type: Input
}], xAxisAnnotationPaddingTop: [{
type: Input
}], xAxisAnnotationPaddingRight: [{
type: Input
}], xAxisAnnotationPaddingBottom: [{
type: Input
}], yAxisAnnotationPaddingLeft: [{
type: Input
}], yAxisAnnotationPaddingTop: [{
type: Input
}], yAxisAnnotationPaddingRight: [{
type: Input
}], yAxisAnnotationPaddingBottom: [{
type: Input
}], xAxisAnnotationStrokeThickness: [{
type: Input
}], yAxisAnnotationTextColor: [{
type: Input
}], yAxisAnnotationBackground: [{
type: Input
}], yAxisAnnotationBackgroundCornerRadius: [{
type: Input
}], yAxisAnnotationInterpolatedValuePrecision: [{
type: Input
}], yAxisAnnotationOutline: [{
type: Input
}], yAxisAnnotationStrokeThickness: [{
type: Input
}], skipUnknownValues: [{
type: Input
}], overlayTextLocation: [{
type: Input
}], overlayTextHorizontalMargin: [{
type: Input
}], overlayTextVerticalMargin: [{
type: Input
}], overlayTextHorizontalPadding: [{
type: Input
}], overlayTextVerticalPadding: [{
type: Input
}], overlayTextAngle: [{
type: Input
}], overlayTextColor: [{
type: Input
}], overlayTextBackground: [{
type: Input
}], overlayTextBorderColor: [{
type: Input
}], overlayTextBorderRadius: [{
type: Input
}], overlayTextBorderThickness: [{
type: Input
}], overlayTextVisible: [{
type: Input
}], overlayText: [{
type: Input
}], overlayTextColorShift: [{
type: Input
}], overlayTextColorMode: [{
type: Input
}], overlayTextColorMatchLayer: [{
type: Input
}], overlayTextBackgroundShift: [{
type: Input
}], overlayTextBackgroundMode: [{
type: Input
}], overlayTextBackgroundMatchLayer: [{
type: Input
}], overlayTextBorderShift: [{
type: Input
}], overlayTextBorderMode: [{
type: Input
}], overlayTextBorderMatchLayer: [{
type: Input
}], overlayTextStyle: [{
type: Input
}], actualValueLayerBrush: [{
type: Input
}], stylingOverlayText: [{
type: Output
}] } });