score:1

Accepted answer

fixed it

{
...
tooltiptemplate: function (label) {
                        return customtooltip(label);
                    }

});

function customtooltip (label) {
                    if (label.label.length > 10) {
                        label.label = label.label.substring(0,10)+'...';
                    }
                    return label.label+': '+label.value+'%';
}

don't know if this is the right code. but it did what i wanted


Related Query

More Query from same tag