Widget:Website graphs

Show the graphs for a website.   

 $(document).ready(function {   new Chart('#chart1',, "pages");    new Chart('#chart2', , "users");    new Chart('#chart3', , "edits");  });

Open chart new window

gs = [];

gs.push( new Dygraph( document.getElementById("apiary-graph-response-time"), "http://wikiapiary.com/apiary/data/response_timer.php?id=", {   labels: [ 'Date', 'Response Time'], axes: { y: { labelsKMB: true }   },    ylabel: 'Response Time (sec)', axisLabelFontSize: 10, maxNumberWidth: 12, title: ' Response Time', labelsDiv: document.getElementById("apiary-graph-response-time-data"), yLabelWidth: 12, includeZero: true, rightGap: 10 } ) );

gs.push( new Dygraph( document.getElementById("apiary-graph-jobs"), "http://wikiapiary.com/apiary/data/jobs.php?id=", {   labels: [ 'Date', 'Jobs'], axes: { y: { labelsKMB: true }   },    ylabel: 'Jobs', axisLabelFontSize: 10, maxNumberWidth: 12, title: ' Job Queue', labelsDiv: document.getElementById("apiary-graph-jobs-data"), yLabelWidth: 12, fillGraph: true, includeZero: true, rightGap: 10 } ) );

gs.push( new Dygraph( document.getElementById("apiary-graph-propcount"), "http://wikiapiary.com/apiary/data/propcount.php?id=", {   labels: [ 'Date', 'Properties'], axes: { y: { labelsKMB: true }   },    ylabel: 'Properties', axisLabelFontSize: 10, fillGraph: true, maxNumberWidth: 12, title: ' Property Count', labelsDiv: document.getElementById("apiary-graph-propcount-data"), yLabelWidth: 12, rightGap: 10 } ) );

gs.push( new Dygraph( document.getElementById("apiary-graph-props"), "http://wikiapiary.com/apiary/data/properties.php?id=", {   labels: [ 'Date', 'Property Pages', 'Used Properties', 'Declared Properties'], axes: { y: { labelsKMB: true }   },    ylabel: 'Properties', axisLabelFontSize: 10, maxNumberWidth: 12, title: ' Properties', labelsDiv: document.getElementById("apiary-graph-props-data"), yLabelWidth: 12, rightGap: 10 } ) );

gs.push( new Dygraph( document.getElementById("apiary-graph-queries"), "http://wikiapiary.com/apiary/data/smwqueries.php?id=", {   labels: [ 'Date', 'Queries'], axes: { y: { labelsKMB: true }   },    ylabel: 'Queries', axisLabelFontSize: 10, fillGraph: true, maxNumberWidth: 12, title: ' Query Count', labelsDiv: document.getElementById("apiary-graph-queries-data"), yLabelWidth: 12, rightGap: 10 } ) );

gs.push( new Dygraph( document.getElementById("apiary-graph-querypages"), "http://wikiapiary.com/apiary/data/smwquerypages.php?id=", {   labels: [ 'Date', 'Query Pages'], axes: { y: { labelsKMB: true }   },    ylabel: 'Pages', axisLabelFontSize: 10, fillGraph: true, maxNumberWidth: 12, title: ' Query Pages', labelsDiv: document.getElementById("apiary-graph-querypages-data"), yLabelWidth: 12, rightGap: 10 } ) );

gs.push( new Dygraph( document.getElementById("apiary-graph-querysize"), "http://wikiapiary.com/apiary/data/smwquerysize.php?id=", {   labels: [ 'Date', 'size1', 'size2', 'size3', 'size4', 'size5', 'size6', 'size7', 'size8', 'size9', 'size10plus'], axes: { y: { labelsKMB: true }   },    ylabel: 'Sizes', axisLabelFontSize: 10, maxNumberWidth: 12, stackedGraph: true, title: ' Query Sizes', labelsDiv: document.getElementById("apiary-graph-querysize-data"), yLabelWidth: 12, rightGap: 10 } ) );

gs.push( new Dygraph( document.getElementById("apiary-graph-queryformat"), "http://wikiapiary.com/apiary/data/smwqueryformat.php?id=", {   labels: [ 'Date', 'broadtable', 'csv', 'category', 'count', 'dsv', 'debug', 'embedded', 'feed', 'json', 'list','ol', 'rdf','table', 'template', 'ul'], axes: { y: { labelsKMB: true }   },    ylabel: 'Formats', axisLabelFontSize: 10, maxNumberWidth: 12, stackedGraph: true, title: ' Query Formats', labelsDiv: document.getElementById("apiary-graph-queryformat-data"), yLabelWidth: 12, rightGap: 10 } ) );