Customize tooltip for multiple graphs in one plot
up vote
1
down vote
favorite
I am using React plotly.js
in our application. We are plotting multiple graphs (line, area, bar). I need a way to customise look and feel of tooltip which appears on hover of graph.
This the code sandbox for references of my code.
This is the output of the plot.
Currently the tooltips appear clumsy when we have multiple lines with multiple graphs which appear individually at each line.
Do we have a way to show only one tooltip with data of all lines at a hovered point.
javascript css d3.js plotly.js
add a comment |
up vote
1
down vote
favorite
I am using React plotly.js
in our application. We are plotting multiple graphs (line, area, bar). I need a way to customise look and feel of tooltip which appears on hover of graph.
This the code sandbox for references of my code.
This is the output of the plot.
Currently the tooltips appear clumsy when we have multiple lines with multiple graphs which appear individually at each line.
Do we have a way to show only one tooltip with data of all lines at a hovered point.
javascript css d3.js plotly.js
1
Please provide an MCVE
– Gabriel Devillers
Nov 19 at 19:07
1
@GabrielDevillers updated the question with my code reference.
– user8599269
Nov 20 at 9:38
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I am using React plotly.js
in our application. We are plotting multiple graphs (line, area, bar). I need a way to customise look and feel of tooltip which appears on hover of graph.
This the code sandbox for references of my code.
This is the output of the plot.
Currently the tooltips appear clumsy when we have multiple lines with multiple graphs which appear individually at each line.
Do we have a way to show only one tooltip with data of all lines at a hovered point.
javascript css d3.js plotly.js
I am using React plotly.js
in our application. We are plotting multiple graphs (line, area, bar). I need a way to customise look and feel of tooltip which appears on hover of graph.
This the code sandbox for references of my code.
This is the output of the plot.
Currently the tooltips appear clumsy when we have multiple lines with multiple graphs which appear individually at each line.
Do we have a way to show only one tooltip with data of all lines at a hovered point.
javascript css d3.js plotly.js
javascript css d3.js plotly.js
edited Nov 20 at 16:07
asked Nov 19 at 17:49
user8599269
756
756
1
Please provide an MCVE
– Gabriel Devillers
Nov 19 at 19:07
1
@GabrielDevillers updated the question with my code reference.
– user8599269
Nov 20 at 9:38
add a comment |
1
Please provide an MCVE
– Gabriel Devillers
Nov 19 at 19:07
1
@GabrielDevillers updated the question with my code reference.
– user8599269
Nov 20 at 9:38
1
1
Please provide an MCVE
– Gabriel Devillers
Nov 19 at 19:07
Please provide an MCVE
– Gabriel Devillers
Nov 19 at 19:07
1
1
@GabrielDevillers updated the question with my code reference.
– user8599269
Nov 20 at 9:38
@GabrielDevillers updated the question with my code reference.
– user8599269
Nov 20 at 9:38
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53380131%2fcustomize-tooltip-for-multiple-graphs-in-one-plot%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Please provide an MCVE
– Gabriel Devillers
Nov 19 at 19:07
1
@GabrielDevillers updated the question with my code reference.
– user8599269
Nov 20 at 9:38