You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if the Crosshair component had a parameter to always display, even when the mouse is outside the chart. This feature would only work if the x and y values are passed to the component.
Implementation Suggestions
Add a boolean parameter show to keep the point fixed using the x and y parameters.
Add a boolean parameter fixOnClick to allow the component to manage the fixed point when the user clicks on the chart. This way, users wouldn't need to manually manage the x and y values.
Use Cases
Filters can highlight specific points on charts, allowing one or multiple points to be fixed at the same time (this may require adjustments for handling multiple x values).
Clicking on the chart to fix a specific point.
References
This idea came to me while contributing to another repository to improve UX. I researched how it works here: File link
This is a cool lib, greate work! 🚀
The text was updated successfully, but these errors were encountered:
Idea
It would be great if the Crosshair component had a parameter to always display, even when the mouse is outside the chart. This feature would only work if the
x
andy
values are passed to the component.Implementation Suggestions
show
to keep the point fixed using thex
andy
parameters.fixOnClick
to allow the component to manage the fixed point when the user clicks on the chart. This way, users wouldn't need to manually manage thex
andy
values.Use Cases
x
values).References
This idea came to me while contributing to another repository to improve UX. I researched how it works here: File link
This is a cool lib, greate work! 🚀
The text was updated successfully, but these errors were encountered: