Separating overlapping value labels

Comments

2 comments

  • Avatar
    Annika Bofah

    Hi Lee, 

    That sounds great, we are looking for something like this for quite some time.

    Is this possible for bar charts as well? Especially stacked charts?

    Kind regards, 

    Annika

    0
    Comment actions Permalink
  • Avatar
    Hakim Tounsi (Edited )

    It's possible to do the same with Categories:

     

    /******* user configuration **********/
    var paddingMultiplier = -10;
    var i=0;
    /*************************************/
    widget.on('processresult', function(sender, ev){
    _.each(ev.result.series, function(ser){
    var data = ser.data;
    _.each(data, function(value){
    value.dataLabels = {
    y:paddingMultiplier*(i+1),
    color:ser.color,
    crop:false,
    overflow:'none'}
    i++;
    })
    });
    })

     

     

    1
    Comment actions Permalink

Please sign in to leave a comment.