WordPress.org

Forums

NVD3 Visualisations
[resolved] jquery (2 posts)

  1. faizelh
    Member
    Posted 12 months 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 11 months ago #

    Done.

    Thanks for you !

Reply

You must log in to post.

About this Plugin

About this Topic