Chart Pie - How show percentage

評論

2 條評論

  • 正式評論
    Avatar
    Varun Agasthya

    Hi,
    The use case can be achieved by using the below custom script.

    eFormEvents.onFormLoadComplete=function(){
      eFormHelper.getField({fieldId:'Chart1'}, function(res){

        var kendoChartInst=$(res.data).data('kendoChart');

      kendoChartInst.options.series.forEach(function(ser){
            ser.type == 'pie' && ((ser.labels || {}).visible = true);
        });
      kendoChartInst.refresh();
    });

    }

     

    Hope this helps

    評論操作 永久連結
  • Avatar
    CAAE

    It works well

    Thank Varun.

    Regards

    0
    評論操作 永久連結

登入寫評論。