web-client-ui icon indicating copy to clipboard operation
web-client-ui copied to clipboard

Not all series show is panel is too small

Open ethanalvizo opened this issue 1 year ago • 1 comments

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

  1. 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()
  1. Resize the panel until one of the series disappears

Expected results Both series are plotted on the chart image

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 image

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

ethanalvizo avatar Jan 16 '24 16:01 ethanalvizo

There is a chance this related to #1046 We should retest this after updating plotly to 2.28

vbabich avatar Jan 23 '24 17:01 vbabich