Chart JSON
{
"type": "line",
"options": {
"plugins": {
"title": [],
"subtitle": {
"display": true,
"text": "Ridership data from Survey last collected in 2018."
},
"tooltip": {
"enabled": true
},
"legend": {
"display": true,
"position": "top",
"labels": {
"font": {
"weight": "normal",
"style": "normal"
}
}
}
},
"scales": {
"x": {
"axis": "x",
"stacked": false,
"ticks": {
"autoSkip": 1,
"maxRotation": 0,
"minRotation": 0,
"color": "#000",
"font": {
"weight": "normal",
"style": "normal"
},
"mirror": false,
"textStrokeWidth": 0,
"textStrokeColor": "",
"padding": 3,
"display": true,
"autoSkipPadding": 3,
"labelOffset": 0,
"minor": {},
"major": {},
"align": "center",
"crossAlign": "near",
"showLabelBackdrop": false,
"backdropColor": "rgba(255, 255, 255, 0.75)",
"backdropPadding": 2
},
"title": {
"display": true,
"text": "Year",
"color": "#000",
"font": {
"weight": "normal",
"style": "normal",
"size": 12
},
"padding": {
"top": 4,
"bottom": 4
}
},
"grid": {
"color": "#ccc",
"borderColor": "#ccc",
"display": true,
"lineWidth": 1,
"drawBorder": true,
"drawOnChartArea": true,
"drawTicks": true,
"tickLength": 8,
"offset": false,
"borderDash": [],
"borderDashOffset": 0,
"borderWidth": 1
},
"type": "category",
"display": true,
"offset": false,
"reverse": false,
"beginAtZero": false,
"bounds": "ticks",
"grace": 0,
"id": "x",
"position": "bottom"
},
"y": {
"axis": "y",
"ticks": {
"beginAtZero": null,
"maxRotation": 0,
"minRotation": 0,
"color": "#000",
"font": {
"weight": "normal",
"style": "normal"
},
"mirror": false,
"textStrokeWidth": 0,
"textStrokeColor": "",
"padding": 3,
"display": true,
"autoSkip": true,
"autoSkipPadding": 3,
"labelOffset": 0,
"minor": {},
"major": {},
"align": "center",
"crossAlign": "near",
"showLabelBackdrop": false,
"backdropColor": "rgba(255, 255, 255, 0.75)",
"backdropPadding": 2
},
"maxTicksLimit": 11,
"precision": null,
"stepSize": null,
"suggestedMax": null,
"suggestedMin": null,
"stacked": false,
"min": 0,
"title": {
"display": true,
"text": "Weekday Ridership",
"color": "#000",
"font": {
"weight": "normal",
"style": "normal",
"size": 12
},
"padding": {
"top": 4,
"bottom": 4
}
},
"grid": {
"color": "#ccc",
"borderColor": "#ccc",
"display": true,
"lineWidth": 1,
"drawBorder": true,
"drawOnChartArea": true,
"drawTicks": true,
"tickLength": 8,
"offset": false,
"borderDash": [],
"borderDashOffset": 0,
"borderWidth": 1
},
"type": "linear",
"display": true,
"offset": false,
"reverse": false,
"beginAtZero": false,
"bounds": "ticks",
"grace": 0,
"id": "y",
"position": "left"
}
},
"elements": {
"line": {
"tension": 0.4
}
}
},
"data": {
"labels": [
"2018"
],
"datasets": [
{
"label": "Boardings",
"data": {
"2018": 148
},
"borderColor": "#3d3936",
"backgroundColor": "#3d3936",
"type": "line",
"fill": false
},
{
"label": "Alightings",
"data": {
"2018": 144
},
"borderColor": "#f2a900",
"backgroundColor": "#f2a900",
"type": "line",
"fill": false
}
]
},
"drupalChartDivElement": {},
"drupalChartDivId": "edit-content"
}