Widget:PlaceNamesCharts: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 50: Line 50:
"centuryChart": {
"centuryChart": {
"title": "Centuries",
"title": "Centuries",
titleTextStyle: {
"titleTextStyle": {
"fontName": "inherit",
"fontName": "inherit",
color: '#800000',
"color": '#800000',
fontSize: 22,
"fontSize": 22,
bold: false
"bold": false
},
},
"xLabel": "Century",
"xLabel": "Century",
Line 70: Line 70:
"typesChart": {
"typesChart": {
"title": "Types",
"title": "Types",
titleTextStyle: {
"titleTextStyle": {
"fontName": "inherit",
"fontName": "inherit",
color: '#800000',
"color": '#800000',
fontSize: 22,
"fontSize": 22,
bold: false
"bold": false
},
},
"xLabel": "Category",
"xLabel": "Category",
Line 90: Line 90:
"interestChart": {
"interestChart": {
"title": "Interest",
"title": "Interest",
titleTextStyle: {
"titleTextStyle": {
"fontName": "inherit",
"fontName": "inherit",
color: '#800000',
"color": '#800000',
fontSize: 22,
"fontSize": 22,
bold: false
"bold": false
},
},
"xLabel": "Interest",
"xLabel": "Interest",
Line 109: Line 109:
},  
},  
"statusChart": {
"statusChart": {
"title": "Status",
"chartType": "PieChart",
"chartType": "PieChart",
"titleTextStyle": {
"fontName": "inherit",
"color": '#800000',
"fontSize": 22,
"bold": false
},
"height": 370,
"height": 370,
"width": "38%",
"width": "38%",
"chartArea": {'width': '100%', 'height': '80%'},  
"chartArea": {'width': '100%', 'height': '80%'},  
"vAxis": {minValue: 0},
"vAxis": {minValue: 0},
"bar": {groupWidth: "100%"},
"bar": {groupWidth: "100%"}
"title": "Status"
},  
},  
"timeline" : {
"timeline" : {
Line 122: Line 128:
"chartArea": {
"chartArea": {
'width': '92%',  
'width': '92%',  
'height': '95%',
'height': '85%',
'left': '35'
'left': '35'
},
},
Line 128: Line 134:
"colors": null,
"colors": null,
"titleTextStyle": {
"titleTextStyle": {
"color": "#000000",
"fontName": "inherit",
"fontName": "inherit",
"fontSize": 20,
"color": "#800000",
"bold": false,
"fontSize": 22,
"italic": false
"bold": false
},
},
"hAxis": {
"hAxis": {
"title": "",  
"title": "",  
"minValue": 0,  
"minValue": 0,  
"format": "####"  
"format": "####",
2baselineColor": '#cccccc'
},
},
"vAxis": {
"vAxis": {
"title": "",  
"title": "",  
"textPosition": "out",
"viewWindowMode":'explicit',
"viewWindowMode":'explicit',
"viewWindow": {
"viewWindow": {

Revision as of 04:56, 5 November 2018

This widget generates the Google charts on landing pages in the Place-names section of IRHB. It takes no parameters.