Chart Pie - How show percentage

Comments

2 comments

  • Official comment
    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

    Comment actions Permalink
  • Avatar
    CAAE

    It works well

    Thank Varun.

    Regards

    0
    Comment actions Permalink

Please sign in to leave a comment.