We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. Quick question regarding HorizontalAxis. Is there a way to access the index of the tickValues as a param in formatter?
HorizontalAxis
tickValues
formatter
Something like:
<HorizontalAxis tickValues={dataPoints} theme={{ labels: { formatter: (v, index) => renderDataLabel(v, index), }, }} />
It would help rendering additional context for the given dataPoints as part of the labels on the x-axis.
dataPoints
If this or an alternative solution is not possible, would it be hard to add this as a feature?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi. Quick question regarding
HorizontalAxis
. Is there a way to access the index of thetickValues
as a param informatter
?Something like:
It would help rendering additional context for the given
dataPoints
as part of the labels on the x-axis.If this or an alternative solution is not possible, would it be hard to add this as a feature?
The text was updated successfully, but these errors were encountered: