Skip to content

Commit

Permalink
enable aria automatic chart description on echarts
Browse files Browse the repository at this point in the history
  • Loading branch information
bmlancien committed May 16, 2024
1 parent 23daed8 commit 363ec87
Show file tree
Hide file tree
Showing 25 changed files with 75 additions and 0 deletions.
3 changes: 3 additions & 0 deletions digiplan/map/charts/capacity.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"right": "30%",
"bottom": "5%"
},
"aria": {
"enabled": true
},
"legend": {
"data": [
"Wind",
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/detailed_overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
}
},
"tooltip": {},
"aria": {
"enabled": true
},
"grid": {
"top": "10%",
"left": "3%",
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/electricity_autarky.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"grid": {
"bottom": "25%"
},
"aria": {
"enabled": true
},
"xAxis": {
"type": "value",
"show": true,
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/electricity_demand.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"right": "30%",
"bottom": "25%"
},
"aria": {
"enabled": true
},
"legend": {
"data": [
"Haushalte",
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/electricity_ghg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"grid": {
"bottom": "25%"
},
"aria": {
"enabled": true
},
"xAxis": {
"type": "value",
"show": true,
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/electricity_overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"bottom": "30%",
"containLabel": true
},
"aria": {
"enabled": true
},
"yAxis": {
"data": ["Ziel Brandenburg 2040", "Ziel Brandenburg 2030", "Dein Szenario", "2023"],
"axisLine": { "onZero": true },
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/general_options.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"bottom": "18%",
"containLabel": true
},
"aria": {
"enabled": true
},
"textStyle": {
"fontFamily": "Roboto",
"fontSize": 14,
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/heat_centralized.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"grid": {
"bottom": "28%"
},
"aria": {
"enabled": true
},
"legend": {
"bottom": "0",
"itemGap": 15
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/heat_decentralized.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"grid": {
"bottom": "28%"
},
"aria": {
"enabled": true
},
"legend": {
"bottom": "0",
"itemGap": 15
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/heat_demand.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"right": "30%",
"bottom": "28%"
},
"aria": {
"enabled": true
},
"legend": {
"data": [
"Haushalte",
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/mobility_ghg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"grid": {
"bottom": "18%"
},
"aria": {
"enabled": true
},
"xAxis": {
"type": "value",
"show": true,
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/mobility_overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"grid": {
"bottom": "18%"
},
"aria": {
"enabled": true
},
"xAxis": {
"type": "value",
"show": true,
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/onboarding_pv_ground.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"data": ["Installierte Leistung", "Anlagenanzahl"],
"itemGap": 15
},
"aria": {
"enabled": true
},
"xAxis": [
{
"type": "category",
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/onboarding_pv_roof.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"data": ["Installierte Leistung", "Anlagenanzahl"],
"itemGap": 15
},
"aria": {
"enabled": true
},
"xAxis": [
{
"type": "category",
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/onboarding_wind.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"data": ["Installierte Leistung", "Anlagenanzahl"],
"itemGap": 15
},
"aria": {
"enabled": true
},
"xAxis": [
{
"type": "category",
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/overview_heat.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"grid": {
"bottom": "18%"
},
"aria": {
"enabled": true
},
"xAxis": {
"type": "value",
"show": true,
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/population.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"grid": {
"top": "24%"
},
"aria": {
"enabled": true
},
"xAxis": {
"type": "time",
"xAxisLabel":{
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/pv_ground_areas.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"bottom": "14%",
"containLabel": true
},
"aria": {
"enabled": true
},
"xAxis": {
"type": "category",
"data": ["Klassische PV", "Agri-PV\n(vertikal)", "Agri-PV\n(Dauerkulturen)"]
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/pv_ground_capacity.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"bottom": "14%",
"containLabel": true
},
"aria": {
"enabled": true
},
"xAxis": {
"type": "category",
"data": ["2010", "2015", "2020", "2023**", "Dein\nSzenario***"],
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/pv_roof_areas.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"bottom": "14%",
"containLabel": true
},
"aria": {
"enabled": true
},
"xAxis": {
"type": "category",
"data": ["Dein Szenario"]
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/pv_roof_capacity.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"bottom": "14%",
"containLabel": true
},
"aria": {
"enabled": true
},
"xAxis": {
"type": "category",
"data": ["2010", "2015", "2020", "2023", "Dein\nSzenario**"],
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/renewable_electricity_production.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"right": "30%",
"bottom": "25%"
},
"aria": {
"enabled": true
},
"legend": {
"data": [
"Wind",
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/wind_areas.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"type": "shadow"
}
},
"aria": {
"enabled": true
},
"legend": {
"data": ["Fläche (ha)", "% der Regionsfläche"],
"itemGap": 15
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/wind_capacity.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"bottom": "14%",
"containLabel": true
},
"aria": {
"enabled": true
},
"xAxis": {
"type": "category",
"data": ["2010", "2015", "2020", "2023", "Dein\nSzenario*"],
Expand Down
3 changes: 3 additions & 0 deletions digiplan/map/charts/wind_turbines.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"grid": {
"top": "24%"
},
"aria": {
"enabled": true
},
"xAxis": {
"type": "category",
"boundaryGap": true,
Expand Down

0 comments on commit 363ec87

Please sign in to comment.