Widget:Website graphs

Show the graphs for a website. 

gs = [];

gs.push( new Dygraph( // container document.getElementById("apiary-graph-articles"),

//Data "http://wikiapiary.com/apiary/articles.php?id=",

//Options {   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( // container document.getElementById("apiary-graph-users"),

//Data "http://wikiapiary.com/apiary/users.php?id=",

//Options {   labels: [ 'Date', 'Users', 'Active Users'], 'Users': { axis: { }   },    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( // container document.getElementById("apiary-graph-edits"),

//Data "http://wikiapiary.com/apiary/edits.php?id=",

//Options {   labels: [ 'Date', 'Edits'], axes: { y: { labelsKMB: true }   },    ylabel: 'Edits', axisLabelFontSize: 10, maxNumberWidth: 12, title: ' Edits', labelsDiv: document.getElementById("apiary-graph-edits-data"), yLabelWidth: 12, rightGap: 10 } ) );

gs.push( new Dygraph( // container document.getElementById("apiary-graph-response-time"),

//Data "http://wikiapiary.com/apiary/response_timer.php?id=",

//Options {   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( // container document.getElementById("apiary-graph-jobs"),

//Data "http://wikiapiary.com/apiary/jobs.php?id=",

//Options {   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, includeZero: true, rightGap: 10 } ) );

Semantic MediaWiki Information gs.push( new Dygraph( // container document.getElementById("apiary-graph-propcount"),

//Data "http://wikiapiary.com/apiary/propcount.php?id=",

//Options {   labels: [ 'Date', 'Properties'], axes: { y: { labelsKMB: true }   },    ylabel: 'Properties', axisLabelFontSize: 10, maxNumberWidth: 12, title: ' Property Count', labelsDiv: document.getElementById("apiary-graph-propcount-data"), yLabelWidth: 12, rightGap: 10 } ) );

gs.push( new Dygraph( // container document.getElementById("apiary-graph-props"),

//Data "http://wikiapiary.com/apiary/properties.php?id=",

//Options {   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 } ) );