option = {
"tooltip": {
"trigger": "axis"
},
"title": {
"left": "center",
"text": "BIP-student mobility for studies - Student Bachelor"
},
"toolbox": {
"feature": {
"dataZoom": {
"yAxisIndex": "none"
},
"restore": {},
"saveAsImage": {}
}
},
"xAxis": {
"type": "category",
"boundaryGap": false,
"data": ["2020/01/01", "2020/06/01", "2021/01/01", "2021/06/01", "2022/01/01", "2022/06/01", "2023/01/01", "2023/06/01", "2024/01/01", "2024/06/01", "2025/01/01"]
},
"yAxis": {
"type": "value",
"boundaryGap": [0, "100%"]
},
"dataZoom": [
{
"type": "inside",
"start": 0,
"end": 50
},
{
"start": 0,
"end": 50
}
],
"series": [
{
"name": "Participants",
"type": "line",
"symbol": "none",
"sampling": "lttb",
"itemStyle": {
"color": "rgb(255, 70, 131)"
},
"areaStyle": {
"color": {
"type": "linear",
"x": 0,
"y": 0,
"x2": 0,
"y2": 1,
"colorStops": [
{ "offset": 0, "color": "rgb(173,216,230)" },
{ "offset": 1, "color": "rgb(0,0,139)" }
],
"global": false
}
},
"data": [120, 132, 101, 134, 90, 120, 160, 200, 180, 250, 230]
}
]
}