Skip to content

How to do the callback on x-axis to get the label #10463

Answered by kurkle
Udemology asked this question in Q&A
Discussion options

You must be logged in to vote

Arrow functions don't have this. I'm guessing that is the problem.

So,

// no this
callback: (value, index) => ...

// this ok
callback(value, index) {...}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Udemology
Comment options

@Michael-indochat
Comment options

@stockiNail
Comment options

Answer selected by Udemology
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants