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.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 } ) );