Skip to content

Using updateOptions to change the selection of a brush chart doesn't do anything #5059

Open
@jamestjw

Description

@jamestjw

Description

I can't seem to programmatically update the selection area of a brush chart using the updateOptions API

Steps to Reproduce

  1. Create a line chart with a brush chart
  2. Use updateOptions on the brush chart to modify the selection
  3. Brush chart isn't updated (neither is the main chart)

Expected Behavior

updateOptions on the brush chart with a new selection should update the brush chart

Actual Behavior

It just doesn't update anything

Screenshots

Reproduction Link

https://codepen.io/fracz/pen/JjYoBXo

The Change selection button calls updateOptions with a new random selection, though it does nothing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions