Hi,
I have the chart wrapped in a “class” including a data adapter. Is there some caching mechanism available in the data adapter so that for example i only have to change the root and be able to refresh the data?
this.dataSource = {
datafields: [{name: 'data', type: 'float'}, {name: 'time', map: 'time', type: 'int'}],
root: this.dataSelectSource[choiceIndex],
record: "data",
datatype: "xml",
url: "http://" + this.serverLocation + "/screen/api/devicehistdata.xml?id="+this.deviceId+"&dataItem=" + this.deviceCategory
};
this.dataAdapter = new $.jqx.dataAdapter(this.dataSource);