web-client-ui
web-client-ui copied to clipboard
Not all series show is panel is too small
Description While working on #1654 I noticed that not all series show on the plot if the width of the panel is too small. Hovering over where the series data should be plotted still shows the data as being there, the line just doesn't show. Increasing the viewport width fixes the issue.
Steps to reproduce
- Same steps as #1654, enter the code below into the console
from deephaven import empty_table
from deephaven.plot.figure import Figure
t = empty_table(80000).update(["Timestamp=epochMillisToInstant(i)","x=(double)i", "y=i%12==11?null: i%5==0 ? i*2 : i", "series= i%5==0 ? `Double` : `Single`"])
f = Figure().plot_xy(series_name="Hello", t=t, x="Timestamp", y="y", by=["series"]).show()
- Resize the panel until one of the series disappears
Expected results
Both series are plotted on the chart
Actual results
The 'Hello: Single' series does not show on the plot but hovering over where the plot should be still correctly shows the data preview/tooltip
Additional details and attachments
Versions
Engine Version: 0.32.0-SNAPSHOT Web UI Version: 0.58.0 Java Version: 11.0.19 Barrage Version: 0.6.0
There is a chance this related to #1046 We should retest this after updating plotly to 2.28