How to retrieve the current entry index in AxisValueFormatter? #454
Replies: 1 comment
-
Hello! The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Suppose I have a line chart with multiple chart entries and am using a custom X-axis value formatter as shown below:
I need to obtain the current entry index when working with multiple chart entries that I've passed to the chart component. If the chart contains only one entry, the current entry index is undoubtedly zero. However, how can I determine the entry index if the chart has two or more entries? Is there a way to accomplish this? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions