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

[charts] Add controlled prop for chart highlighting #12351

Open
Janpot opened this issue Mar 6, 2024 · 1 comment
Open

[charts] Add controlled prop for chart highlighting #12351

Janpot opened this issue Mar 6, 2024 · 1 comment
Assignees
Labels
component: charts This is the name of the generic UI component, not the React module! enhancement This is not a bug, nor a new feature

Comments

@Janpot
Copy link
Member

Janpot commented Mar 6, 2024

Summary

Allow for programmatically triggering a chart highlight, e.g.

const [highlight, setHighlight] = React.useState()

return <LineChart highlight={highlight} onHighlightChange={setHighlight} />

Examples

No response

Motivation

I'd like to be able to sync highlights across different charts, or between charts and tables. See demo in https://www.highcharts.com/demo/dashboards/sync-cursor

Search keywords: chart highlight

@Janpot Janpot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Mar 6, 2024
@michelengelen michelengelen added enhancement This is not a bug, nor a new feature component: charts This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Mar 6, 2024
@gumgumalan
Copy link

I would also like to see this change so that I can control highlight for onTouchMove events for mobile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: charts This is the name of the generic UI component, not the React module! enhancement This is not a bug, nor a new feature
Projects
None yet
Development

No branches or pull requests

4 participants