mmd
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by mmd
-
-
helo this is a function I wrote for cleaning the chart ..
hope this helps ..
"function PlotClear(chart) {
var items = [{
"Series 1": "0,0"
}];
chart.setDataSource(items);
chart.update();
} -
Hi ,
I am trying to set 1.1 1.2 1.3 ... 2.0 values for AxisX .. but it is seem like it only sees 1 for all the x values ..
neither setStep is working properly ..
Is it only int values that AxisX accepts ??
Thanks ..
mmd
-
Hi there ..
I can reset the data on the chart like below .. but couldn't refresh the annotations.. Every I refresh the chart previeous annotations remain, and new annotations are added to the list .. How can I refresh the annotations collection of the chart ??
Thanks
mmd
var items = [{
"Series 1": "0,0"
}];
chart.setDataSource(items);
-
how to implement chart.getDirty()
After creation could not detect if chart will be created or updated. I guesses that getDirty() will return the needed flag but it returns null every time
?
AxisX
in General Questions
Posted
solved with this approach ..
data.getX().setItem(0, 23, 2.3000000000000007);
data.getY().setItem(0, 23, -0.59);
data.getX().setItem(0, 24, 2.4000000000000004);
data.getY().setItem(0, 24, -0.59);
data.getX().setItem(0, 25, 2.5);
data.getY().setItem(0, 25, -0.59);
data.getX().setItem(0, 26, 2.5999999999999996);
data.getY().setItem(0, 26, -0.49);
data.getX().setItem(0, 27, 2.6999999999999993);
data.getY().setItem(0, 27, -0.39);