igniteui-webcomponents-charts
Version:
Ignite UI Web Components charting components for building rich data visualizations using TypeScript APIs.
130 lines (129 loc) • 4.1 kB
JavaScript
import { IgcSeriesComponent } from "./igc-series-component";
import { CalloutLabelUpdatingEventArgs as CalloutLabelUpdatingEventArgs_internal } from "./CalloutLabelUpdatingEventArgs";
/**
* Represents event arguments for updating label of callout layer
*/
var IgcCalloutLabelUpdatingEventArgs = /** @class */ /*@__PURE__*/ (function () {
function IgcCalloutLabelUpdatingEventArgs() {
this._implementation = this.createImplementation();
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
}
IgcCalloutLabelUpdatingEventArgs.prototype.createImplementation = function () {
return new CalloutLabelUpdatingEventArgs_internal();
};
Object.defineProperty(IgcCalloutLabelUpdatingEventArgs.prototype, "i", {
/**
* @hidden
*/
get: function () {
return this._implementation;
},
enumerable: false,
configurable: true
});
IgcCalloutLabelUpdatingEventArgs.prototype.onImplementationCreated = function () {
};
IgcCalloutLabelUpdatingEventArgs.prototype._provideImplementation = function (i) {
this._implementation = i;
this._implementation.externalObject = this;
this.onImplementationCreated();
if (this._initializeAdapters) {
this._initializeAdapters();
}
};
Object.defineProperty(IgcCalloutLabelUpdatingEventArgs.prototype, "xValue", {
/**
* Gets data X-value associated with callout layer
*/
get: function () {
return this.i.d;
},
set: function (v) {
this.i.d = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcCalloutLabelUpdatingEventArgs.prototype, "yValue", {
/**
* Gets data Y-value associated with callout layer
*/
get: function () {
return this.i.e;
},
set: function (v) {
this.i.e = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcCalloutLabelUpdatingEventArgs.prototype, "item", {
/**
* Gets data item associated with callout layer
*/
get: function () {
return this.i.item;
},
set: function (v) {
this.i.item = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcCalloutLabelUpdatingEventArgs.prototype, "series", {
/**
* Gets series associated with callout item, if available
*/
get: function () {
var r = this.i.a;
if (r == null) {
return null;
}
if (!r.externalObject) {
var e = IgcSeriesComponent._createFromInternal(r);
if (e) {
e._implementation = r;
}
r.externalObject = e;
}
return r.externalObject;
},
set: function (v) {
v == null ? this.i.a = null : this.i.a = v.i;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcCalloutLabelUpdatingEventArgs.prototype, "seriesName", {
/**
* Gets series name associated with callout item, if available
*/
get: function () {
return this.i.f;
},
set: function (v) {
this.i.f = v;
},
enumerable: false,
configurable: true
});
Object.defineProperty(IgcCalloutLabelUpdatingEventArgs.prototype, "label", {
/**
* Gets or sets label displayed by callout layer
*/
get: function () {
return this.i.c;
},
set: function (v) {
this.i.c = v;
},
enumerable: false,
configurable: true
});
return IgcCalloutLabelUpdatingEventArgs;
}());
export { IgcCalloutLabelUpdatingEventArgs };