jeudi 16 octobre 2014

How to stop label animation in bar charts.

I am using bar charts (stacked and non-stacked). While loading the label moves from center of a-axis to the top (this is animated) and also on hover of the bar the label animates and goes to x-axis and moves back to the top of the respective bar.

I want to stop that animation.


I am using the following config for labels


animate is true for chart config



Code:



label: {
display: stacked ? '' : 'insideEnd', //If its stacked display is blank else if it is column/bar it is insideEnd
field: 'field',
font: '10px Arial',
stackedDisplay: stacked ? 'total' : 'none' //Same check as above
}

Thanks.



How to stop label animation in bar charts.

Aucun commentaire:

Enregistrer un commentaire