-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support normalized full stacked chart for line and bar, fix #28
* add full area for stacked bar and line chart * rename points to scatter_geo * Upgrade coverage testing
- Loading branch information
napjon
authored
Sep 2, 2016
1 parent
c92fc16
commit b7489f4
Showing
9 changed files
with
440 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
{ | ||
"xAxis": { | ||
"data": [ | ||
1952, | ||
1957, | ||
1962, | ||
1967, | ||
1972, | ||
1977, | ||
1982, | ||
1987, | ||
1992, | ||
1997, | ||
2002, | ||
2007 | ||
] | ||
}, | ||
"tooltip": { | ||
"axisPointer": { | ||
"type": "" | ||
} | ||
}, | ||
"title": { | ||
"text": "" | ||
}, | ||
"legend": { | ||
"data": [ | ||
"Africa", | ||
"Americas", | ||
"Asia", | ||
"Europe", | ||
"Oceania" | ||
] | ||
}, | ||
"yAxis": {}, | ||
"series": [ | ||
{ | ||
"type": "bar", | ||
"name": "Africa", | ||
"stack": "continent", | ||
"data": [ | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1 | ||
] | ||
}, | ||
{ | ||
"type": "bar", | ||
"name": "Americas", | ||
"stack": "continent", | ||
"data": [ | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1 | ||
] | ||
}, | ||
{ | ||
"type": "bar", | ||
"name": "Asia", | ||
"stack": "continent", | ||
"data": [ | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1 | ||
] | ||
}, | ||
{ | ||
"type": "bar", | ||
"name": "Europe", | ||
"stack": "continent", | ||
"data": [ | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1 | ||
] | ||
}, | ||
{ | ||
"type": "bar", | ||
"name": "Oceania", | ||
"stack": "continent", | ||
"data": [ | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1, | ||
1 | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
{ | ||
"xAxis": { | ||
"data": [ | ||
1952, | ||
1957, | ||
1962, | ||
1967, | ||
1972, | ||
1977, | ||
1982, | ||
1987, | ||
1992, | ||
1997, | ||
2002, | ||
2007 | ||
] | ||
}, | ||
"tooltip": { | ||
"axisPointer": { | ||
"type": "" | ||
} | ||
}, | ||
"title": { | ||
"text": "" | ||
}, | ||
"legend": { | ||
"data": [ | ||
"Africa", | ||
"Americas", | ||
"Asia", | ||
"Europe", | ||
"Oceania" | ||
] | ||
}, | ||
"yAxis": { | ||
"max": 1 | ||
}, | ||
"series": [ | ||
{ | ||
"name": "Africa", | ||
"stack": "continent", | ||
"data": [ | ||
0.204, | ||
0.204, | ||
0.2, | ||
0.209, | ||
0.217, | ||
0.227, | ||
0.25, | ||
0.264, | ||
0.27, | ||
0.266, | ||
0.265, | ||
0.257 | ||
] | ||
}, | ||
{ | ||
"name": "Americas", | ||
"stack": "continent", | ||
"data": [ | ||
0.392, | ||
0.39, | ||
0.386, | ||
0.375, | ||
0.364, | ||
0.357, | ||
0.366, | ||
0.359, | ||
0.349, | ||
0.331, | ||
0.325, | ||
0.311 | ||
] | ||
}, | ||
{ | ||
"name": "Asia", | ||
"stack": "continent", | ||
"data": [ | ||
0.185, | ||
0.184, | ||
0.186, | ||
0.189, | ||
0.192, | ||
0.197, | ||
0.161, | ||
0.157, | ||
0.168, | ||
0.203, | ||
0.214, | ||
0.246 | ||
] | ||
}, | ||
{ | ||
"name": "Europe", | ||
"stack": "continent", | ||
"data": [ | ||
0.028, | ||
0.029, | ||
0.031, | ||
0.032, | ||
0.033, | ||
0.033, | ||
0.035, | ||
0.035, | ||
0.034, | ||
0.031, | ||
0.03, | ||
0.028 | ||
] | ||
}, | ||
{ | ||
"name": "Oceania", | ||
"stack": "continent", | ||
"data": [ | ||
0.191, | ||
0.193, | ||
0.196, | ||
0.194, | ||
0.194, | ||
0.186, | ||
0.189, | ||
0.185, | ||
0.18, | ||
0.17, | ||
0.166, | ||
0.158 | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.