Widget:Website graphs

Show the graphs for a website.  

Open chart new window Graph loading... Graph loading...  Graph loading... // Display graphs showArticleGraph('graph1', ); showUsersGraph('graph2', ); showJobsGraph('graph3', );

gs = [];

gs.push( new Dygraph( document.getElementById("apiary-graph-articles"), "http://wikiapiary.com/apiary/data/articles.php?id=", {   labels: [ 'Date', 'Articles', 'Pages'], 'Pages': { strokeWidth: 2 },   'Articles': { axis: { }   },    axes: { y: { labelsKMB: true },     y2: { labelsKMB: true }   },    axisLabelFontSize: 10, maxNumberWidth: 12, title: ' Pages and Articles', labelsDiv: document.getElementById("apiary-graph-articles-data"), ylabel: 'Pages', yLabelWidth: 12, y2label: 'Articles', rightGap: 10 } ) );

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

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

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-images"), "http://wikiapiary.com/apiary/data/images.php?id=", {   labels: [ 'Date', 'Images'], axes: { y: { labelsKMB: true }   },    ylabel: 'Images', axisLabelFontSize: 10, maxNumberWidth: 12, title: ' Images', labelsDiv: document.getElementById("apiary-graph-images-data"), yLabelWidth: 12, fillGraph: 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 } ) );