hi: day_records is a array , i want to access element of it.if i replace the point with 0,or 1 , it's right , but when i use point , it can't access the element ,and with no syntax error.
plant.bind("plothover",
function(event,pos,item){
if(item){
removeTooltip();
var point = item.dataIndex;
showTooltip(item.pageX,item.pageY,"{{day_records.point.date}}");
}else{
removeTooltip();
}
});
so ,how can i access the array element with the point varable ?
pointresolves to such as 0 or 1.