Default dataLabels value
Json:
{
"series": [
{
"name": "Điểm",
"data": [
80,
50,
30,
40,
100,
20
]
}
],
"chart": {
"height": "550px",
"type": "radar",
"fontFamily": "Gotu",
"toolbar": {
"show": false
}
},
"yaxis": {
"stepSize": 20
},
"xaxis": {
"categories": [
"Tiềm năng tăng giá",
"Tính thanh khoản",
"Khả năng cho thuê",
"Quy hoạch hạ tầng",
"Chính sách thanh toán",
"Thị trường khu vực"
],
"labels": {
"style": {
"colors": [
"#000",
"#000",
"#000",
"#000",
"#000",
"#000"
]
}
}
},
"fill": {
"colors": [
"#feafc6"
]
}
}
Full json +{
"series": [
44,
55,
41,
17,
15
],
"labels": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"chart": {
"type": "donut",
"fontFamily": "Gotu",
"height": 500
},
"plotOptions": {
"pie": {
"startAngle": -90,
"endAngle": 270
}
},
"dataLabels": {
"enabled": true,
"style": {
"colors": [
"#000000"
],
"fontWeight": "normal"
},
"dropShadow": {
"enabled": false
}
},
"fill": {
"type": "fill"
},
"theme": {
"mode": "light",
"monochrome": {
"enabled": true,
"color": "#feafc6",
"shadeTo": "light",
"shadeIntensity": 0.86
}
},
"tooltip": {
"theme": "light"
},
"title": {
"text": "Khảo sát cảm nhận mùi hương Acqua di Parma Acqua di Parma Colonia của người dùng"
},
"legend": {
"show": false
}
}
Show more +Custom dataLabels values
{
"series": [
44,
55,
41,
17,
15
],
"labels": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday"
],
"chart": {
"type": "donut",
"fontFamily": "Gotu",
"height": 500
},
"plotOptions": {
"pie": {
"startAngle": -90,
"endAngle": 270
}
},
"dataLabels": {
"enabled": true,
"formatter": function (val, opts) {
return opts.w.globals.labels[opts.dataPointIndex];
},
"style": {
"colors": [
"#000000"
],
"fontWeight": "normal"
},
"dropShadow": {
"enabled": false
}
},
"fill": {
"type": "fill"
},
"theme": {
"mode": "light",
"monochrome": {
"enabled": true,
"color": "#feafc6",
"shadeTo": "light",
"shadeIntensity": 0.86
}
},
"tooltip": {
"theme": "light"
},
"title": {
"text": "Khảo sát cảm nhận mùi hương Acqua di Parma Acqua di Parma Colonia của người dùng"
},
"legend": {
"show": false
}
}
Show more +