Home forums Using CanvasJS Index Label printed twice in a range chart

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #25397

    I’m using index labels in my range chart. No matter how I alter the properties, it is printing the indexLabel twice inside the bars. Here is my data point,

    {“label”:”FORMALIZE GOVERNANCE AND USER AWARENESS TRAINING”,”y”:[0,52],”x”:-5,”color”:”#9900CC”,”indexLabelPlacement”:”inside”,”indexLabel”:”FORMALIZE GOVERNANCE”,”indexLabelOrientation”:”horizontal”,”name”:”FORMALIZE GOVERNANCE AND USER AWARENESS TRAINING”,”dataPointWidth”:10}

    and image



    In case of range-charts, indexlabels will be shown for both minimum and maximum values. However, you can customize it to show only once by using indexLabelFormatter as shown in this JSFiddle.

    Manoj Mohan
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.