Skip to content

Manipulate box that displays on mouse hover #1718

Answered by axelboc
pedro-benetton asked this question in Q&A
Discussion options

You must be logged in to vote

I have to start with the disclaimer that H5Web is meant to be consumed through the @h5web/app and @h5web/lib NPM packages. Copying or forking the codebase is not a great idea, as at some point, some of our changes will necessarily conflict with your own changes, which will make it hard for you to keep your copy/fork up to date.

The HeatmapVis component in the @h5web/lib package (packages/lib/src/vis/heatmap/HeatmapVis.tsx) does provide the feature you're looking for. Ideally, you would want to install @h5web/lib in your app and import HeatmapVis from it; then you would render your own heatmap using the renderTooltip prop in order to render a custom tooltip.

That being said, from your scre…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@axelboc
Comment options

Answer selected by pedro-benetton
@pedro-benetton
Comment options

@axelboc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants