Skip to content
New issue

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

Add onBarClick functionality to bar charts #133

Open
skolson opened this issue Aug 16, 2023 · 0 comments
Open

Add onBarClick functionality to bar charts #133

skolson opened this issue Aug 16, 2023 · 0 comments

Comments

@skolson
Copy link

skolson commented Aug 16, 2023

Pie/Donut charts have an optional onSliceClick lambda for supporting custom actions as a result of a slice being clicked. This issue is an enhancement to provide similar functionality onBarClick for BarChart, GroupBarChart, HorizontalBarChart, VerticalBarChart, and StackedBarChart.
One example use case is to support navigating to another screen based on the bar clicked.
The solution will likely affect BarPlotData selectionHighlightData functionality if both features are coded on the same chart, as both rely on the same click action. Comments on how that should be handled are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant