Unknown widget: chart.Charts"

From Documentation
Line 9: Line 9:
  
 
= Why It Happens =  
 
= Why It Happens =  
ZK fails to  
+
ZK fails to instantiate a chart widget because the chart js isn't loaded.
 
 
  
 
= Possible Causes and Solutions=  
 
= Possible Causes and Solutions=  

Revision as of 03:57, 11 June 2021

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