Hi can you tell me please how i can change radius dot on the graph each 10min ???
for example i have on xAxis value 1,2,3,4,5,6,7,8,9,10,11 … min
and i want that 1,2,3,4,5,6,7,8,9 radius will be 0, and 10,20,30 radius will be 2
Hi can you tell me please how i can change radius dot on the graph each 10min ???
for example i have on xAxis value 1,2,3,4,5,6,7,8,9,10,11 … min
and i want that 1,2,3,4,5,6,7,8,9 radius will be 0, and 10,20,30 radius will be 2
Hi,
to render a chart with new item radius you should redefine “item” property of a chart and reload it:
function setNewRadius(radius){
chart.define("item",{
radius: radius,
borderColor:...,
color: ...
});
chart.clearAll();
chart.parse(...);
}
Alexandra it’s not work for spline chart
i use this function
radius: function(obj) {
if (obj.time == 1 || obj.time == 5 || obj.time == 10){
return "2";
}
return 0";
}
but obj.time defines only for first obj.time value, for the next obj.time is undefined and page has error
and when i use same function for “line” chart it’ work good, but for “spline” it’s not work
I misunderstood your previous question… Try the following:
radius: function(obj) {
return obj.time%10?0:2
}
ALexandra i try your function for chart “line” it’s works fine, but when i cahnge type chart to “spline” i have error that time is null …
Hello,
the issue will be solved in the next chart version (it will be released within a month).
here is the workaround for current version:
radius: function(obj) {
if(obj)
return obj.time%10?0:2
}