Skip to content

Instantly share code, notes, and snippets.

@jesuino
Last active May 13, 2022 16:59
Show Gist options
  • Save jesuino/eded5f613bc3c32c660a2600afe54718 to your computer and use it in GitHub Desktop.
Save jesuino/eded5f613bc3c32c660a2600afe54718 to your computer and use it in GitHub Desktop.
echarts provider testing
datasets:
- uuid: pop
url: /datasets/population.json
pages:
- components:
- settings:
component: echarts
echarts:
option: >-
{
"toolbox": {
"feature": {
"dataZoom": {},
"magicType": {
"type": ["line", "bar", "stack"]
},
"restore": {}
}
},
"series": [
{
"type": "bar",
"markPoint": {
"data": [
{
"type": "max",
"symbol": "arrow",
"symbolRotate": 180
}
]
},
"markLine": {
"data": [
{ "type": "average" },
{ "type": "max" },
{ "type": "min" }
]
}
}
]
}
title:
text: Population
external:
width: 100%
height: 600px
dataSetLookup:
uuid: pop
group:
- columnGroup:
source: Name
groupFunctions:
- source: Name
#- source: 2020 Population
- source: 2021 Population
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment