Widget:PlaceNamesCharts: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 49: | Line 49: | ||
window.IRHB.charts.options = { | window.IRHB.charts.options = { | ||
"centuryChart": { | "centuryChart": { | ||
"title": " | "title": "Centuries", | ||
titleTextStyle: { | |||
"fontName": "inherit", | |||
color: '#800000', | |||
fontSize: 22, | |||
bold: false | |||
}, | |||
"xLabel": "Century", | "xLabel": "Century", | ||
"yLabel": "Number", | "yLabel": "Number", | ||
"height": 500, | "height": 500, | ||
"width": "38%", | "width": "38%", | ||
"chartArea": { | "chartArea": { | ||
"width": "92%", | |||
"height": "65%", | |||
"left": "35" | |||
}, | |||
"vAxis": {minValue: 0}, | "vAxis": {minValue: 0}, | ||
"bar": {groupWidth: "100%"} | "bar": {groupWidth: "100%"} | ||
Line 60: | Line 70: | ||
"typesChart": { | "typesChart": { | ||
"title": "Types", | "title": "Types", | ||
titleTextStyle: { | |||
"fontName": "inherit", | |||
color: '#800000', | |||
fontSize: 22, | |||
bold: false | |||
}, | |||
"xLabel": "Category", | "xLabel": "Category", | ||
"yLabel": "Number", | "yLabel": "Number", | ||
"height": 500, | "height": 500, | ||
"width": "38%", | "width": "38%", | ||
"chartArea": { | "chartArea": { | ||
"width": "92%", | |||
"height": "65%", | |||
"left": "35" | |||
}, | |||
"vAxis": {minValue: 0}, | "vAxis": {minValue: 0}, | ||
"bar": {groupWidth: "100%"} | "bar": {groupWidth: "100%"} | ||
Line 70: | Line 90: | ||
"interestChart": { | "interestChart": { | ||
"title": "Interest", | "title": "Interest", | ||
titleTextStyle: { | |||
"fontName": "inherit", | |||
color: '#800000', | |||
fontSize: 22, | |||
bold: false | |||
}, | |||
"xLabel": "Interest", | "xLabel": "Interest", | ||
"yLabel": "Number", | "yLabel": "Number", | ||
"height": 510, | "height": 510, | ||
"width": "38%", | "width": "38%", | ||
"chartArea": { | "chartArea": { | ||
"width": "92%", | |||
"height": "65%", | |||
"left": "35" | |||
}, | |||
"vAxis": {minValue: 0}, | "vAxis": {minValue: 0}, | ||
"bar": {groupWidth: "100%"} | "bar": {groupWidth: "100%"} |
Revision as of 04:49, 5 November 2018
This widget generates the Google charts on landing pages in the Place-names section of IRHB. It takes no parameters.