Title: wpDataTables chart not rendering
Last modified: October 23, 2023

---

# wpDataTables chart not rendering

 *  Resolved [kenpowis11](https://wordpress.org/support/users/kenpowis11/)
 * (@kenpowis11)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/wpdatatables-chart-not-rendering/)
 * When trying to display charts on front end of site I’m getting the following 
   error in dev tools:
 * Uncaught TypeError: Cannot read properties of undefined (reading ‘0’)
   at wpDataChartsCallbacks.
   [as renderCallback](https://wordpress.org/support/topic/wpdatatables-chart-not-rendering/41?output_format=md)
   at Object.render (wdt.chartJS.js?ver=2.1.73:118:22)at wdt.chartsRender.js?ver
   =2.1.73:38:30at dispatch (jquery.min.js?ver=3.7.0:2:39997)at v.handle (jquery.
   min.js?ver=3.7.0:2:37968)
 * The chart displays fine in the back end preview.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwpdatatables-chart-not-rendering%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [wpDataTables](https://wordpress.org/support/users/wpdatatables/)
 * (@wpdatatables)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/wpdatatables-chart-not-rendering/#post-17162104)
 * Hello,
   To begin, I want to extend my heartfelt apologies for the delayed reply,
   which is due to an unexpectedly high volume of inquiries.We truly value your 
   patience during this period.If the chart has no issue on the back-end, but this
   error only happens only on front-end, that indicates it might be caused by a 
   conflict on your Site.
 * wpDataTables is a WYSIWYG (What You See Is What You Get) concept-based plugin.
   This means that the table should look the same both in the back-end and in the
   front-end. 
   If your front-end table or chart looks and behaves differently than
   in the back-end, this usually implies that there is another plugin (or the current
   theme) that’s changing the behavior of our plugin.
 * Can you please change the theme and see if the issue is resolved?
    If not, then
   please deactivate all other plugins except for our plugin, refresh the page where
   the issue is, and see if it is resolved (it should be). If it is, then start 
   activating other plugins one by one, and after each activation refresh the page
   to see if the issue occurred. Once it does reoccur, you will have found the plugin
   causing the issue.
 * ​Let us know if you isolate a conflict with these steps?
   We also notice in this
   error it mentiones a chart callback, so can you tell us did you perhaps try to
   add some custom script as a Chart Callback in our Main Plugin settings/Custom
   JS and CSS/Custom jS?If that is the case, on some WordPress configurations, the
   script added that way might be blocked from hosting or another Plugin, so it’s
   best to add it directly to the WP Page as Custom HTML and wrap your custom Chart
   callback inside a HTML script tag, and try again.Let us know if that helps.Kind
   regards.

Viewing 1 replies (of 1 total)

The topic ‘wpDataTables chart not rendering’ is closed to new replies.

 * ![](https://ps.w.org/wpdatatables/assets/icon-128x128.gif?rev=3010404)
 * [wpDataTables - WordPress Data Table, Dynamic Tables & Table Charts Plugin](https://wordpress.org/plugins/wpdatatables/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpdatatables/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpdatatables/)
 * [Active Topics](https://wordpress.org/support/plugin/wpdatatables/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpdatatables/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpdatatables/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [wpDataTables](https://wordpress.org/support/users/wpdatatables/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/wpdatatables-chart-not-rendering/#post-17162104)
 * Status: resolved