日期:2014-05-20  浏览次数:20706 次

饼图:鼠标放置在饼图的分块区上显示信息 新手请指导
如在js在哪里添加鼠标放置在分块上显示信息,需要做什么修改。谢谢 
$(function () {
        var i;
        for(i=0;i<9;i++)
        {
         if(i==0)
         {
            var data = [
         { name: 'A', value: <%=East%>, color: '#4572a7' },
         { name: 'B', value: <%=West%>, color: '#aa4643' },
         { name: 'C', value: <%=South%>, color: '#89a54e' },
         { name: 'D', value: <%=North%>, color: '#80699b' }  
         ];
            var chart = new iChart.Donut2D({
                render: 'ThisYearPosition',
                data: data,
                title: {
                    text: '今年工程类别比列',
                    color: '#3e576f'
                },
              
                sub_option: {
                    label: {
                        background_color: null,
                        sign: false, //设置禁用label的小图标
                        padding: '0 4',
                        border: {