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
For simplicity, let's say two charts (a candlestick chart and a bar chart) have the same data for the x axis. When there are null/undefined values in the y axis data and hover state is shared between charts using Fx.hover, the pointNumber value taken from the plotly_hover event doesn't correspond to the correct element in the candlestick chart - the position is offset exactly by the number of null values preceding the hovered element - while the bar charts treats null values correctly and the correct value is hovered.
The text was updated successfully, but these errors were encountered:
jakubkottnauer
changed the title
Candlestick chart treats null values differently when using Fx.hover
Candlestick treats null values differently from other charts when using Fx.hover
Nov 29, 2018
For simplicity, let's say two charts (a candlestick chart and a bar chart) have the same data for the
x
axis. When there arenull
/undefined
values in the y axis data and hover state is shared between charts usingFx.hover
, thepointNumber
value taken from theplotly_hover
event doesn't correspond to the correct element in the candlestick chart - the position is offset exactly by the number ofnull
values preceding the hovered element - while the bar charts treatsnull
values correctly and the correct value is hovered.See the codepan example demonstrating the described behavior: https://codepen.io/jakubkottnauer/pen/xQQYje
The text was updated successfully, but these errors were encountered: