Skip to content

Highlight not working properly #1313

Description

@lippyDesign

If I do the follwing:

<XYPlot width={width} height={height}>
<HorizontalGridLines />
<VerticalGridLines />
<XAxis />
<YAxis />
<Highlight onBrushEnd={this.handleZoom} />
<HexbinSeries
    animation
    sizeHexagonsWithCount
    className="hexbin-size-example"
    radius={15}
    data={data}
    onValueClick={(datapoint, event) => {
        console.log({ datapoint, event });
    }}
/>

the highlighting drops randomly and unexpectedly (as if i release mouse), but i am still highlighting, however if I move Highlight to the end:

<XYPlot width={width} height={height}>
<HorizontalGridLines />
<VerticalGridLines />
<XAxis />
<YAxis />
<HexbinSeries
    animation
    sizeHexagonsWithCount
    className="hexbin-size-example"
    radius={15}
    data={data}
    onValueClick={(datapoint, event) => {
        console.log({ datapoint, event });
    }}
/>
<Highlight onBrushEnd={this.handleZoom} />

the highlighting works as expected, but now the Hexbin onValueClick event does not work. This is very annoying and is preventing us from going to prod with this

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions