pyecharts/test/fixtures/scatter_options.json
陈键冬 9bd386c2d8 Toolbox title (#708)
* Update: #702 toobox 选项标签更改为更通用的英语
2018-08-30 11:40:50 +08:00

276 lines
6.3 KiB
JSON

{
"animation": true,
"color": [
"#c23531",
"#2f4554",
"#61a0a8",
"#d48265",
"#749f83",
"#ca8622",
"#bda29a",
"#6e7074",
"#546570",
"#c4ccd3",
"#f05b72",
"#ef5b9c",
"#f47920",
"#905a3d",
"#fab27b",
"#2a5caa",
"#444693",
"#726930",
"#b2d235",
"#6d8346",
"#ac6767",
"#1d953f",
"#6950a1",
"#918597",
"#f6f5ec"
],
"legend": [
{
"data": [
"A",
"B"
],
"left": "center",
"orient": "horizontal",
"selectedMode": "multiple",
"show": true,
"textStyle": {
"fontSize": 12
},
"top": "top"
}
],
"series": [
{
"data": [
[
10,
10
],
[
20,
20
],
[
30,
30
],
[
40,
40
],
[
50,
50
],
[
60,
60
]
],
"label": {
"emphasis": {
"show": true,
"textStyle": {
"fontSize": 12
}
},
"normal": {
"position": "top",
"show": false,
"textStyle": {
"fontSize": 12
}
}
},
"markLine": {
"data": []
},
"markPoint": {
"data": []
},
"name": "A",
"seriesId": "1",
"symbol": "circle",
"symbolSize": 10,
"type": "scatter"
},
{
"data": [
[
60,
10
],
[
50,
20
],
[
40,
30
],
[
30,
40
],
[
20,
50
],
[
10,
60
]
],
"label": {
"emphasis": {
"show": true,
"textStyle": {
"fontSize": 12
}
},
"normal": {
"position": "top",
"show": false,
"textStyle": {
"fontSize": 12
}
}
},
"markLine": {
"data": []
},
"markPoint": {
"data": []
},
"name": "B",
"seriesId": "1",
"symbol": "circle",
"symbolSize": 10,
"type": "scatter"
}
],
"series_id": "1",
"title": [
{
"left": "auto",
"subtextStyle": {
"fontSize": 12
},
"text": "scatter test",
"textStyle": {
"fontSize": 18
},
"top": "auto"
}
],
"toolbox": {
"feature": {
"dataView": {
"show": true,
"title": "data view"
},
"restore": {
"show": true,
"title": "restore"
},
"saveAsImage": {
"show": true,
"title": "save as image"
}
},
"left": "95%",
"orient": "vertical",
"show": true,
"top": "center"
},
"tooltip": {
"axisPointer": {
"type": "line"
},
"backgroundColor": "rgba(50,50,50,0.7)",
"borderColor": "#333",
"borderWidth": 0,
"textStyle": {
"fontSize": 14
},
"trigger": "item",
"triggerOn": "mousemove|click"
},
"xAxis": [
{
"axisLabel": {
"interval": "auto",
"margin": 8,
"rotate": 0,
"textStyle": {
"fontSize": 12
}
},
"axisLine": {
"lineStyle": {
"width": 1
}
},
"axisTick": {
"alignWithLabel": false
},
"boundaryGap": true,
"data": [
60,
50,
40,
30,
20,
10
],
"inverse": false,
"nameGap": 25,
"nameLocation": "middle",
"nameTextStyle": {
"fontSize": 14
},
"show": true,
"splitLine": {
"show": true
},
"type": "value"
}
],
"yAxis": [
{
"axisLabel": {
"formatter": "{value} ",
"interval": "auto",
"margin": 8,
"rotate": 0,
"textStyle": {
"fontSize": 12
}
},
"axisLine": {
"lineStyle": {
"width": 1
}
},
"axisTick": {
"alignWithLabel": false
},
"boundaryGap": true,
"inverse": false,
"nameGap": 25,
"nameLocation": "middle",
"nameTextStyle": {
"fontSize": 14
},
"show": true,
"splitLine": {
"show": true
},
"type": "value"
}
]
}