WordPress.org

Ready to get started?Download WordPress

Forums

RJ Quickcharts
[resolved] jQuery error? (10 posts)

  1. Nihad
    Member
    Posted 1 year ago #

    Nothing is displayed on a blog/page... admin part seems to be working as intended.

    Seems to be some error with javascript/jQuery.
    TypeError : jQuery.jqplot is undefined
    r = jQuery.jqplot.LineRenderer;

    http://wordpress.org/extend/plugins/rj-quickcharts/

  2. randyjensen
    Member
    Plugin Author

    Posted 1 year ago #

    Hey Nihad,

    Can post a link to your site? I'm not seeing this bug. Also your version of WordPress.

  3. Nihad
    Member
    Posted 1 year ago #

    Hi Randy,

    Thanks for the speedy response... but I thing i just solved it...
    Disabled some plugins to see if they might be problematic... and it turns out it worked...
    Now I just need to figure out which plugin is the problematic one.

    the URL is http://touran.me/fuel-consumption/
    and WP ver. is 3.5.2

  4. randyjensen
    Member
    Plugin Author

    Posted 1 year ago #

    Excellent!

    If you find the conflicting plugin please post it here. I'd like to see if I can fix whatever is going on.

  5. Nihad
    Member
    Posted 1 year ago #

    Plugin: CleanerPress was the one conflicting. Or rather, one of its setting was conflicting.

    CleanerPress settings for Scripts

    Head.js Load scripts non-blocking with head.js (breaks inline scripts) .

    should be disabled/unchecked.

    I am not sure if this was default or not, but it was checked on mine. Disabling it, makes this plugin work on my setup. :)

    Thanks and sorry for hassle.
    Should have checked plugins beforehand.

  6. randyjensen
    Member
    Plugin Author

    Posted 1 year ago #

    Glad you got it working!

    Also, if you still feel like it's a four star plugin, that's ok. But if this was preventing you from giving it five, I'd love the bump!

  7. Nihad
    Member
    Posted 1 year ago #

    It is bumped from 3 to 4, as a result of resolving the issue, and having plugin working.
    In my opinion, inline javascript in HTML5 documents should be avoided, and as plugin is still using inline javascript. I am giving it 4 for that lone reason.

    For 5 star it has to be perfect in all aspects, hope you agree. :)

  8. randyjensen
    Member
    Plugin Author

    Posted 1 year ago #

    Well, HTML5 has nothing to do with inline JavaScript.

    And the charts are build dynamically with Javascript when the page loads. Inline JS needs to be used.

    Go take a look at what Jetpack has done to your contact page :)

  9. Nihad
    Member
    Posted 1 year ago #

    Hi Randy,

    I'll consider changing from 4 to 5 star rating. :)
    Can you please investigate a small bug I think i have found...

    If you have two different charts on the same page, an they use different units, al charts have the last charts units.

    So it seems that unit variable is not unique for a chart but defined as a global for a whole page.

    look at my page from above, which has two charts but on both charts unit used are from the last charts.

    tooltipSuffix = ' km';

  10. randyjensen
    Member
    Plugin Author

    Posted 1 year ago #

    This is definitely a regression bug from the last update. I'm going to move this to it's own thread since this one has been resolved.

    Update soon hopefully!

    http://wordpress.org/support/topic/chart-suffix-is-getting-overridden-with-multiple-charts

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic