TypeError: $.plot is not a function

Posted in

Dear Sir or Madam,

When I had tried to render graph by using your shortcode I got an error: “TypeError: $.plot is not a function”, which applies to code line – ” $.plot($(“#affiliate-graph-1″),data,options);”, so I took embed javascript code, that was generated by PHP function attached to shortcode, including above-named line. I added “missing” flot library code before it and execute it by firebug console. As a result graph has shown up and seemed fine. Do You have any idea why flot library is not loaded?

Yours faithfully

One Response to TypeError: $.plot is not a function

  1. kento March 10, 2014 at 3:30 pm #

    Hi Tomasz,

    If there is a Javascript error occurring before the library can be loaded, that would be the reason why this happens.

    Can we have a link to the page where this happens please? If affiliate registration is open on the page, we’ll try registering an account there, otherwise please create on for support at itthinx dot com.

    Cheers

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share