Skip to content

How to format and display times in a bar chart? #4989

Answered by lampsbr
andrewducker asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!
I believe formatter functions are the best path for this. I use them both in options.xaxis.labels.formatter and options.yaxis.labels.formatter.
Considering your case, testing it for Xaxis should be very straightforward, and for Yaxis if it fails to show you might need to use some array in settings, like for defining different formatter functions for each series.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by andrewducker
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants