Plugin Directory

Changeset 560549


Ignore:
Timestamp:
06/19/2012 02:13:00 PM (14 years ago)
Author:
elevatelocal
Message:
 
Location:
seo-crawlytics/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • seo-crawlytics/trunk/include/admin/dashboard_graph.php

    r548917 r560549  
    44<script type="text/javascript">
    55    jQuery(function($) {
     6
    67        var firstReport = <?php echo json_encode($nFirstReport); ?>;
    78        var secondReport = <?php echo json_encode($nSecondReport); ?>;
     
    1617        }
    1718       
    18         $(window).resize(function() {
     19        function bota_dashboard_graph() {
    1920       
    2021            var dataSeries = [
     
    4950                plot.setSelection(ranges);
    5051            });
    51         });
     52        }
     53
     54        bota_dashboard_graph();
     55
     56        $(window).resize(function() { bota_dashboard_graph() });
     57
    5258    });
    5359</script>
  • seo-crawlytics/trunk/include/admin/dashboard_plain_graph.php

    r548917 r560549  
    1414            }
    1515        }
    16        
    17         $(window).resize(function() {
    18        
     16
     17        function bota_plain_graph() {
     18
    1919            var plot = $.plot($("#botPlainChart"), [
    2020                { data: firstPlainReport, label: "<?php echo $knownBots[0]['name']; ?>", lines: { show: true, fill: true }, points: { show: true } },
     
    2323            ], options);
    2424
     25        }
     26       
     27        bota_plain_graph();
     28
     29        $(window).resize(function() {
     30            bota_plain_graph();
    2531        });
    2632    });
  • seo-crawlytics/trunk/include/widgets/chart_active_times.php

    r548917 r560549  
    1717        };
    1818
     19        function bota_active_times_chart() {
     20            var plot = $.plot($("#barActiveTimesChart"), dataSeries, options);
     21        }
     22
     23        bota_active_times_chart();
     24
    1925        $(window).resize(function() {
    20 
    21             var plot = $.plot($("#barActiveTimesChart"), dataSeries, options);
    22 
     26            bota_active_times_chart();
    2327        });
    2428    });
  • seo-crawlytics/trunk/include/widgets/chart_top_bots.php

    r548917 r560549  
    2828            }
    2929        };
     30
     31        function bota_top_bots_chart() {
     32            var plot = $.plot($("#barTopBotsChart"), dataSeries, options);
     33        }
     34       
     35        bota_top_bots_chart();
    3036       
    3137        $(window).resize(function() {
    32        
    33             var plot = $.plot($("#barTopBotsChart"), dataSeries, options);
    34            
     38            bota_top_bots_chart();
    3539        });
    3640    });
  • seo-crawlytics/trunk/include/widgets/chart_top_categories.php

    r548917 r560549  
    3030        };
    3131
     32        function bota_top_categories_chart() {
     33            var plot = $.plot($("#pieTopCategoriesChart"), dataSeries, options);
     34        }
     35
     36        bota_top_categories_chart();
     37
    3238        $(window).resize(function() {
    33 
    34             var plot = $.plot($("#pieTopCategoriesChart"), dataSeries, options);
    35 
     39            bota_top_categories_chart();
    3640        });
    3741    });
  • seo-crawlytics/trunk/include/widgets/chart_top_pages.php

    r548917 r560549  
    3030        };
    3131
     32        function bota_top_pages_chart() {
     33            var plot = $.plot($("#pieTopPagesChart"), dataSeries, options);
     34        }
     35
     36        bota_top_pages_chart();
     37
    3238        $(window).resize(function() {
    33 
    34             var plot = $.plot($("#pieTopPagesChart"), dataSeries, options);
    35 
     39            bota_top_pages_chart();
    3640        });
    3741    });
  • seo-crawlytics/trunk/readme.txt

    r548946 r560549  
    7070
    7171= 1.1.8 =
     72* Fixed bug that stopped graphs from displaying in Chrome browser.
     73
     74= 1.1.7 =
    7275* The installation script now creates the required config file within the plugin's "/track/" directory.
    7376* The external track script now reads the place holder tracking image from an image file, instead of having it embed within the script itself.
    7477
    75 = 1.1.7 =
     78= 1.1.6 =
    7679* Initial release
Note: See TracChangeset for help on using the changeset viewer.