You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep an eye on d3/d3-scale#60 for the ordinal scale .invert() method. Bar charts, for example, support hovering at the local level, i.e. when the mouse enters an individual bar a hover event is fired. At the chart level, however, hovering is not supported for ordinal scales, i.e. when the mouse is over the chart (but not a bar) an event is fired.
Interested to see how it will be implemented (if at all). With padding between bands, what will .invert() return for a value between bands?
The text was updated successfully, but these errors were encountered:
Strava also has a cool way of doing things, they put a cursor area that extends to the top of the chart over each bar (cursor area width is the same as the bar width). So if a bar is really short you're still able to hover over it.
Keep an eye on d3/d3-scale#60 for the ordinal scale
.invert()
method. Bar charts, for example, support hovering at the local level, i.e. when the mouse enters an individual bar a hover event is fired. At the chart level, however, hovering is not supported for ordinal scales, i.e. when the mouse is over the chart (but not a bar) an event is fired.Interested to see how it will be implemented (if at all). With padding between bands, what will
.invert()
return for a value between bands?The text was updated successfully, but these errors were encountered: