Created
July 22, 2019 11:54
-
-
Save dsternlicht/b9bb79e2b4e02c74b28f3e6980fbecfa to your computer and use it in GitHub Desktop.
A data object example being used in react-dynamic-charts
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
[ | |
{ | |
"name": "Round 1", | |
"values": [ | |
{ | |
"id": 1, | |
"label": "Test 1", | |
"value": 0, | |
"color": "red" | |
}, | |
{ | |
"id": 2, | |
"label": "Test 2", | |
"value": 0, | |
"color": ["yellow", "green"] | |
} | |
] | |
}, | |
{ | |
"name": "Round 2", | |
"values": [ | |
{ | |
"id": 1, | |
"label": "Test 1", | |
"value": 10, | |
"color": "red" | |
}, | |
{ | |
"id": 2, | |
"label": "Test 2", | |
"value": 5, | |
"color": ["yellow", "green"] | |
} | |
] | |
}, | |
{ | |
"name": "Round 3", | |
"values": [ | |
{ | |
"id": 1, | |
"label": "Test 1", | |
"value": 12, | |
"color": "red" | |
}, | |
{ | |
"id": 2, | |
"label": "Test 2", | |
"value": 21, | |
"color": ["yellow", "green"] | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment