http://jsfiddle.net/8JCfg/138/
这是一个示例代码,我想制作切片的粗体标签,即“ddddd” 我已经尝试了几种方式,但似乎没有任何工作,我能够制作大胆的气球文本,标题副标题,但不是切片的标签。请帮忙!
AmCharts.makeChart("chartdiv", {
"type": "pie",
"theme": "none",
"allLabels": [{
"text": "This is chart title",
"align": "center",
"bold": true,
"y": 220
},{
"text": "Ans here's the subtitle as well",
"align": "center",
"bold": false,
"y": 250
}],
"dataProvider": [{
"title": "New",
"value": 4852
}, {
"title": "Returning",
"value": 9899
}],
"titleField": "title",
"valueField": "value",
"labelRadius": -130,
"radius": "42%",
"innerRadius": "60%",
"labelText": "ddddd",
"bold":true
});