2

In a chart I render using Plotly.js, I define titles for each axis. When mouse hovering the items within the chart, a popup is shown, but the "labels" shown do not use the titles I had defined.

For example, the default value for the x axis is x. I defined hellox as title and that value is show in the chart, but not when mouse hovering a value (x is still shown).

See a live example here of what I mean: https://codepen.io/anon/pen/qoGQvx

I've been looking a the documentation and I didn't find anything so far that did exactly what I wanted: simply change the labels in the popup.

4

1 に答える 1