Hi,
I am trying to use hoverlabel to fix the text and background color of my hover info, but apparently, it is not working.
Can you please let me the reason?
Thanks
Harprit
Hi,
I am trying to use hoverlabel to fix the text and background color of my hover info, but apparently, it is not working.
Can you please let me the reason?
Thanks
Harprit
You’re setting hoverlabel
in the fifth argument your passing to Plotly.newPlot
. That won’t do anything, Plotly.newPlot
takes at most 4 arguments.
Set hoverlabel
in the layout
object where you’re already defining your graph’s axis options and you should get the desired result.
Thank you so much. it worked.