Viewing 15 replies - 1 through 15 (of 27 total)
  • Plugin Contributor Greg Ross

    (@gregross)

    What do you see on the overview page? Just a missing map or are other parts missing as well?

    Are you using the Google map provider or JQVMap?

    Take a look at the page source (usually Ctrl-U) and see if there are any “Fatal Error” messages on the.

    Thread Starter sainttboz

    (@sainttboz)

    ‘Browsers’ isn’t showing at all, ‘Recent Visitors’ is not displaying flags anymore…and the Map is not missing, but it doesn’t display any country ( i mean no country is colored green to shown where the visitor is from on the map).
    I’m using JQVMap by the way.

    No fatal error was displayed as well.

    Plugin Contributor Greg Ross

    (@gregross)

    That could be a JavaScript error, can you check your JavaScript console?

    To get to the console, right click on your page, select “Inspect Element” and then select the “Console” tab. The reload the page and see if any errors are displayed.

    Thread Starter sainttboz

    (@sainttboz)

    Uncaught ReferenceError: background_color is not defined…
    uuc-script.js:10

    Uncaught TypeError: Cannot read property ‘replot’ of undefined…admin.php?page=wp-statistics%2Fwp-statistics.php:731

    Plugin Contributor Greg Ross

    (@gregross)

    Can you look at your page source and copy/paste a few lines around 731 in to this thread?

    Thread Starter sainttboz

    (@sainttboz)

    From 731-732
    jQuery(window).resize(function() {
    browser_chart.replot( {resetAxes: true } );
    });

    Plugin Contributor Greg Ross

    (@gregross)

    Take a look at your page source again, do a search for “jquery.jqplot.min.js”, it should be on a line like:

    <script type='text/javascript' src='http://localhost/wp/wp-content/plugins/wp-statistics/assets/js/jquery.jqplot.min.js?ver=0.8.3'></script>

    Copy the “src” url to a new browser window and make sure you can load the script.

    Thread Starter sainttboz

    (@sainttboz)

    loaded…gave a very long list of codes

    Thread Starter sainttboz

    (@sainttboz)

    /* jqPlot 1.0.8r1250.1 | (c) 2009-2013 Chris Leonello | jplot.com
    jsDate | (c) 2010-2013 Chris Leonello
    DST Patched for add/diff date functions.
    */……long list of codes….

    Plugin Contributor Greg Ross

    (@gregross)

    Check for “jqplot.pieRenderer.min.js” as well.

    Thread Starter sainttboz

    (@sainttboz)

    loaded as well….
    /* jqPlot 1.0.8r1250 | (c) 2009-2013 Chris Leonello | jplot.com
    jsDate | (c) 2010-2013 Chris Leonello
    */…long list of codes…

    Plugin Contributor Greg Ross

    (@gregross)

    About line 680 of the page source should be:

    jQuery(function () {
    	var browser_chart;

    Can you copy from that line all the way down to 731 and paste it here?

    Thread Starter sainttboz

    (@sainttboz)

    <script type=”text/javascript”>
    jQuery(function () {
    var browser_chart;
    jQuery(document).ready(function() {
    var browser_data = [[‘Opera (2,553)’,2553], [‘Firefox (2,198)’,2198], [‘Safari (2,187)’,2187], [‘Chrome (1,903)’,1903], [‘Unknown (1,489)’,1489], [‘MSIE (1,058)’,1058], [‘BlackBerry Brow (532)’,532], [‘Android Browser (377)’,377], [‘AppleWebKit (242)’,242], [‘Jakarta (213)’,213], [‘”Other” (1,295)’,1295], ];

    browser_chart = jQuery.jqplot(‘browsers-log’, [browser_data], {
    title: {
    text: ‘<b>’ + “Top 10 Browsers” + ‘</b>’,
    fontSize: ’12px’,
    fontFamily: ‘Tahoma’,
    textColor: ‘#000000’,
    },
    seriesDefaults: {
    // Make this a pie chart.
    renderer: jQuery.jqplot.PieRenderer,
    rendererOptions: {
    // Put data labels on the pie slices.
    // By default, labels show the percentage of the slice.
    dataLabels: ‘percent’,
    showDataLabels: true,
    shadowOffset: 0,
    }
    },
    legend: {
    show:true,
    location: ‘s’,
    renderer: jQuery.jqplot.EnhancedLegendRenderer,
    rendererOptions:
    {
    numberColumns: 2,
    disableIEFading: false,
    border: ‘none’,
    },
    },
    grid: { background: ‘transparent’, borderWidth: 0, shadow: false },
    highlighter: {
    show: true,
    formatString:’%s’,
    tooltipLocation:’n’,
    useAxesFormatters:false,
    },
    } );
    });

    jQuery(window).resize(function() {
    browser_chart.replot( {resetAxes: true } );
    });
    });

    </script>

    Plugin Contributor Greg Ross

    (@gregross)

    Which browser are you using?

    Thread Starter sainttboz

    (@sainttboz)

    google chrome

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Maps’ is closed to new replies.