Title: DataTable with Strings cause Visualizer Chart error
Last modified: June 29, 2020

---

# DataTable with Strings cause Visualizer Chart error

 *  Resolved [cnlawrence1183](https://wordpress.org/support/users/cnlawrence1183/)
 * (@cnlawrence1183)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/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/](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.:64
 * I’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.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [contactashish13](https://wordpress.org/support/users/rozroz/)
 * (@rozroz)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/datatable-with-strings-cause-visualizer-chart-error/#post-13051874)
 * [@cnlawrence1183](https://wordpress.org/support/users/cnlawrence1183/) thank 
   you for reporting this to us. We are aware of this and will release a fix for
   this in the next version.
 * Kindly spare a moment to [leave us a review](https://wordpress.org/support/plugin/visualizer/reviews/#new-post).
   It would really help us spread the word!
 *  Plugin Contributor [contactashish13](https://wordpress.org/support/users/rozroz/)
 * (@rozroz)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/datatable-with-strings-cause-visualizer-chart-error/#post-13119693)
 * [@cnlawrence1183](https://wordpress.org/support/users/cnlawrence1183/) the new
   version should address this. Please check and let us know if you continue to 
   face a problem.
 *  Thread Starter [cnlawrence1183](https://wordpress.org/support/users/cnlawrence1183/)
 * (@cnlawrence1183)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/datatable-with-strings-cause-visualizer-chart-error/#post-13121761)
 * Confirmed. That resolves the issue. Thank you all for your help.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘DataTable with Strings cause Visualizer Chart error’ is closed to new
replies.

 * ![](https://ps.w.org/visualizer/assets/icon-256x256.gif?rev=3084574)
 * [Visualizer: Tables and Charts Manager for WordPress](https://wordpress.org/plugins/visualizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/visualizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/visualizer/)
 * [Active Topics](https://wordpress.org/support/plugin/visualizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/visualizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/visualizer/reviews/)

## Tags

 * [datatable](https://wordpress.org/support/topic-tag/datatable/)
 * [string](https://wordpress.org/support/topic-tag/string/)

 * 3 replies
 * 2 participants
 * Last reply from: [cnlawrence1183](https://wordpress.org/support/users/cnlawrence1183/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/datatable-with-strings-cause-visualizer-chart-error/#post-13121761)
 * Status: resolved