c3js.org icon indicating copy to clipboard operation
c3js.org copied to clipboard

C3-Bar chart Start Label from 0 to the actual value -increasing from 0 and increment to value

Open Nagasai-Aytha opened this issue 9 years ago • 0 comments

Is there any way in C3.js to start data labels start from 0 and increment to the value as the bar renders on the chart. labels:{format : function (v, id, i, j) { return v; }} transition: { duration: 2000 }

Using above piece of code renders chart with data labels start directly from final value . for example my data1 bar value is 60, bar chart should from 0 ,1,2...60 as the bar loads completely.

Codepn url -http://codepen.io/nagasai/pen/BzLapM

Thanks Sai

Nagasai-Aytha avatar Jun 18 '16 23:06 Nagasai-Aytha