Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Nagasai-Aytha opened this issue Jun 18, 2016 · 0 comments

Comments

@Nagasai-Aytha
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant