@amcharts/amcharts5
Version:
amCharts 5
46 lines • 1.08 kB
JavaScript
import { List } from "./List";
/**
* A [[List]] that holds components data.
*
* @see {@link https://www.amcharts.com/docs/v5/concepts/data/} for more info
*/
export class ListData extends List {
/**
* @ignore
*/
incrementRef() { }
/**
* @ignore
*/
decrementRef() { }
_onPush(newValue) {
if (this.processor) {
this.processor.processRow(newValue);
}
super._onPush(newValue);
}
_onInsertIndex(index, newValue) {
if (this.processor) {
this.processor.processRow(newValue);
}
super._onInsertIndex(index, newValue);
}
_onSetIndex(index, oldValue, newValue) {
if (this.processor) {
this.processor.processRow(newValue);
}
super._onSetIndex(index, oldValue, newValue);
}
}
/**
* @deprecated
* @todo remove
*/
export class JsonData {
constructor(value) {
this._value = value;
}
incrementRef() { }
decrementRef() { }
}
//# sourceMappingURL=Data.js.map