WordPress.org

Forums

NVD3 Visualisations
[resolved] jquery (2 posts)

  1. faizelh
    Member
    Posted 1 year ago #

    Hi,

    Default installation gives an error on WP 3.8.1 :

    TypeError: $ is not a function @ wpcharts.js:50

    This is caused by jQuery running in noconflict mode. See this link for more information.

    In order to fix this: edit wpcharts.js and replace the $ with jQuery so that it becomes:

    jQuery('#chart'+id).empty();
    jQuery('#chart'+id).html(svg);
  2. Jouni Santara
    Member
    Plugin Author

    Posted 1 year ago #

    Done.

    Thanks for you !

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NVD3 Visualisations
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic