Skip to content

Linker with one click plots doesn't filter plot #1198

@dsmmcken

Description

@dsmmcken

Description

Attempting to filter a one_click plot with value supplied via linker doesn't filter the selectable_dataset. Issue present in DHC and DHE, will require hotfix.

Reported by @rbasralian in Silverheels 1.20230131.113 on Slack.

Steps to reproduce

  1. Use the following query:
    from deephaven import empty_table, time_table
    from deephaven.plot.figure import Figure
    from deephaven.plot.selectable_dataset import one_click
    
    simple_ticking = time_table("00:00:01").update([
            "MyString=new String(`a`+(char) ((i%3)+97))",
            "MyInt=new Integer(i)",
            "MyLong=new Long(i % 3)",
            "MyDouble=new Double(i+i/10)",
            "MyFloat=new Float(i+i/10)",
            "MyBoolean=new Boolean(i%2==0)",
            "MyChar= new Character((char) ((i%26)+97))",
            "MyShort=new Short(Integer.toString(i%32767))",
            "MyByte= new java.lang.Byte(Integer.toString(i%127))"])
    
    
    toc = one_click(simple_ticking, by=["MyString"], require_all_filters=True)
    p = Figure().plot_xy(series_name="Distance", t=toc, x="Timestamp", y="MyInt").show()
    
    
  2. Create a linker between the plot and the "MyString" column in the table.
  3. Double click a row in the table simple_ticking to filter the plot by that value

image

Expected results

Plot is updated to show a result.

Actual results

Nothing happens.

Additional details and attachments

Adding an input filter panel set to the "MyString" column and entering a value like aa does work.

Versions

Silverheels: 1.20230131.113

and DHC:
Engine Version: 0.24.0
Web UI Version: 0.34.0
Java Version: 17.0.6
Barrage Version: 0.5.0

Metadata

Metadata

Assignees

Labels

blockerbugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions