【发布时间】:2016-07-15 08:56:51
【问题描述】:
演示和我的代码是这样的:https://jsfiddle.net/oscar11/4qdan7k7/6/
我使用:
"legend": {
"useGraphSettings": true
}
有什么办法可以解决我的问题吗?
【问题讨论】:
-
请同时提供对预期内容的描述。
标签: javascript jquery charts amcharts
演示和我的代码是这样的:https://jsfiddle.net/oscar11/4qdan7k7/6/
我使用:
"legend": {
"useGraphSettings": true
}
有什么办法可以解决我的问题吗?
【问题讨论】:
标签: javascript jquery charts amcharts
您应该删除useGraphSettings,因为您的设置中没有graphs:
AmCharts.makeChart("chartdiv", {
"type": "pie",
"theme": "light",
"dataProvider": chartData,
"valueField": "litres",
"titleField": "country",
"export": {
"enabled": true
},
"legend": {},
});
【讨论】: