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

label position in bar chart #32

Open
adminbmbc opened this issue Oct 28, 2019 · 1 comment
Open

label position in bar chart #32

adminbmbc opened this issue Oct 28, 2019 · 1 comment

Comments

@adminbmbc
Copy link

Hi,

can the label be positioned on top of the bar? i looked into the options and i only found a Y offset.
any practice to share ?
thank you

@FOnderwater
Copy link

What I did was adding an extra align option 'centertop'. I've added a zip with the changed js and an example with some code. It's extracted from a much larger file so the example will not work on it's own. Hope this helps (someone at least, since quit some time has passed since the question was asked).

Grtz, Ferry

ChartistPointLabels.zip

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

2 participants