data
"data": [ 1, 2, 2, 1, 2, 3, 3, 4, 5, 6, 7, 8, 8, 8, 9, 10, 11, 12, 14, 16, 18, 20, 21, 23, 25, 27 ]
"data": [ 1, 2, 20, 21, 23, 25, 2, 1, 10 ]
data
label
: Text displayed on the current barvalue
: Number value of the current barcolor
(optional): Background color of the bar. If this color is not given, one will be picked randomly on the Abyssale side."data": [
{ "label": "Red", "value": 8, "color": "#FF0000" },
{ "label": "Blue", "value": 7, "color": "#0000FF" },
{ "label": "Green", "value": 5, "color": "#00FF00" },
{ "label": "Yellow", "value": 9, "color": "#FFFF00" },
{ "label": "Pink", "value": 6, "color": "#FFC0CB" }
]
"data": [
{ "label": "Lorem", "value": 2 },
{ "label": "Ipsum", "value": 10 }]
data
label
: Text displayed on the current barvalue
: Number value of the current barcolor
(optional): Background color of the donut part. If this color is not given, one will be picked randomly on the Abyssale side."data": [
{ "label": "Red", "value": 8, "color": "#FF0000" },
{ "label": "Blue", "value": 7, "color": "#0000FF" },
{ "label": "Green", "value": 5, "color": "#00FF00" },
{ "label": "Yellow", "value": 9, "color": "#FFFF00" },
{ "label": "Pink", "value": 6, "color": "#FFC0CB" }
]
"data": [
{ "label": "Lorem", "value": 2 },
{ "label": "Ipsum", "value": 10 }]