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

Add axis label index access inside axis formatter #6859

kennyjwilli opened this Issue Jun 16, 2017 · 1 comment


None yet
2 participants

kennyjwilli commented Jun 16, 2017

In order to properly format my axis labels I need to access to the index of the data point. It looks like the only fields available from inside the axis formatter function are axis, chart, dateTimeLabelFormat, isFirst, isLast, and value. Would you guys be open to adding a new field called index or pos? At first glance, it looks like it would be as simple as adding the pos field to the labelFormatter call here. I am happy to submit a PR if it would be merged.


This comment has been minimized.

Show comment
Hide comment

TorsteinHonsi Jun 19, 2017


Good point! Commit coming up.


TorsteinHonsi commented Jun 19, 2017

Good point! Commit coming up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment