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'], 'Articles': { strokeWidth: 2 },   'Pages': { axis: { }   },    axes: { y: { labelsKMB: true },     y2: { labelsKMB: true }   },    axisLabelFontSize: 10, maxNumberWidth: 12, title: ' Articles and Pages', labelsDiv: document.getElementById("apiary-graph-articles-data"), ylabel: 'Articles', yLabelWidth: 12, y2label: 'Pages', 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-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, rightGap: 10 } ) );

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