Open
Description
When selecting a region on the <Plot>
the onSelected
event is not firing. Other events such as onUpdate
and onClick
work.
Plot Component:
<Plot
onSelected={(data) => this.setTotalData(data)}
layout={layout}
useResizeHandler={true}
style={{ width: "100%", height: "100%" }}
data={data}
/>
Function to be called:
setTotalData = (data) => {
console.log("Selected Data: ", data)
}
Metadata
Metadata
Assignees
Labels
No labels