- 注册时间
- 2013-10-30
- 最后登录
- 2013-10-31
- 阅读权限
- 10
- 积分
- 9
- 精华
- 0
- 帖子
- 2
|
我把pieChart所需的文件导入到自己的工程,点击按钮也能出现饼状图,但是我修改pieChart.txt的内容,图形怎么不变呢,
和修改之前的一样,修改后的数据显示不出来,该怎么弄才能显示出自己的想要的数据呢????
下面是我修改的pieChart.txt
{
"elements":[
{
"type": "pie",
"colours": ["#d01f3c","#356aa0","#C79810"],
"alpha": 0.6,
"border": 2,
"start-angle": 35,
"values" : [
2,
3,
{"value":6.5,"label":"hello (#val#)", "tip":"99 bottles of beer","on-click":"http://eden"},
{"value":6.5,"label":"华为","on-click":"my_function"},
{"value":10,"label":"联想","on-click":"my_function"},10
]
}
]
}
|
|