Unknown widget: chart.Charts

From Documentation

Problem Decription

You see the error below in a browser developer tool > Console tab:

 Uncaught Unknown widget: chart.Charts


Unknown widget chart.png


Why It Happens

ZK fails to instantiate a chart widget because the chart js isn't loaded.

Possible Causes and Solutions

Mixing 2 different versions of ZK jar

Load a JavaScript that Interferce Widget Loading