kendo ui - Uncaught TypeError: l.renderElement is not a function -
i have shared tooltip graph:
$scope.kissachart.setoptions({ renderas: 'canvas', drag: ondrag, dragend: ondragend, zoom: onzoom, tooltip: { visible: true, format: "{0:n2}", shared: true, background: '#add8e6', sharedtemplate: createtemplate } });
here template generator :
function createtemplate (val1) { var template = ""; if (val1 && val1.points && val1.points && val1.points.length > 0) { template += "<div>"; // construct date template += "date: "; template += ((val1.points[0].dataitem.date) ? val1.points[0].dataitem.date : ""); template += " " + ((val1.points[0].dataitem.actualtime) ? val1.points[0].dataitem.actualtime : ""); } return template; }
when try mouseover data on series, shown :
uncaught typeerror: l.renderelement not function
what have been reason?
Comments
Post a Comment