Мне нравится добавлять легенду к своему радиолокационному чарду, но я не могу связать данные легенды с данными поставщика данных
Вот мой javascript код:
AmCharts.makeChart("360_radar_chartdiv",
{"type": "radar",
"dataProvider": [
{"competence": "test Ronald","user_15": 7.5,"user_16": 7.5,"user_18": 1,"user_23": 5},
{"competence": "Aansturen","user_15": 5,"user_16": 7,"user_18": 8,"user_23": 3}],
"valueAxes": [
{"axisTitleOffset": 20, "minimum": 0,"maximum": 10, "axisAlpha": 0.15}],
"startDuration": 0 ,
"graphs": [
{"balloonText": "[[value]]", "bullet": "round","valueField": "user_15"},
{"balloonText": "[[value]]", "bullet": "round","valueField": "user_16"},
{"balloonText": "[[value]]", "bullet": "round","valueField": "user_18"},
{"balloonText": "[[value]]", "bullet": "round","valueField": "user_23"}
],
"categoryField": "competence",
"legend": {"align": "center", "markerType": "circle", "position": "right","marginright": 80, "automargin": false, "combineLegend": true,
"data": [
{"title": "Beheer B van (Proeftuin)"},
{"title": "Acda W. (Willem)"},
{"title": "Baard B. (Bas)"},
{"title": "Bedrijf 1 - Jan Stucadoor"}]}
});