Home › Forums › Chart Support › chart not showing › Reply To: chart not showing
Chart is not getting rendered as the line before chart instantiation is throwing error. You seem to be doing it wrong. element.innerHTML gives you the content of the element whereas element.innerHTML = "Some Content"; is used to change the content of the element. Please refer to this MDN page for more information on innerHTML property. Please take a look at this updated JSFiddle for complete code.
element.innerHTML = "Some Content";