DataTable with Strings cause Visualizer Chart error
-
Issue:
After creating a DataTable of strings, the Visualizer Chart code block throws an error when trying to Display an existing chart.To reproduce:
Visualizer > Create New > Table > DataTable > Manual Data > Edit Data > Paste CSV below > Click Show Chart button > Create Chart
Mr,Monday,Night
string,string,string
Imma,All,String
I,Dont,Care
Who,Knows,It(optional: create a sample table for the “simple table” from https://demo.themeisle.com/visualizer/table-chart/)
Posts > Add New > Add Block > Visualizer Chart > Display an existing chart > Throws a “This bock has encountered an error and cannot be previewed”
F12 > Console > Errors:
TypeError: Cannot read property ‘0’ of undefined at t.value block.js?ver=3.4.3:64
TypeError: Cannot read property ‘destroy’ of undefined at t.value blcck.js?ver=3.4.3.:64I’ve tried the latest version as well as rolling back to 3.4.3. The error persists.
When I delete the test datatable (above) the code block editor will display the chart for demo “simple table” example. It appears to be related to just tables with all strings.
The topic ‘DataTable with Strings cause Visualizer Chart error’ is closed to new replies.