Skip to content

Heatmap cell borders disappear on hover (inconsistent with documentation) #17856

@neillrobson

Description

@neillrobson

Expected behaviour

When a heatmap chart's series.heatmap.marker.states.hover.lineColor is left unset/unspecified, the hover state of a given cell should have the same line (border) color as the normal/default state.

I assume this behavior is expected based on the documentation:

Actual behaviour

When lineColor for the heatmap chart's hover state is left unspecified, the hovered cells on a heatmap lose their border altogether.

Live demo with steps to reproduce

https://jsfiddle.net/jm7huncp/

  • Note that, by default, hovering over the cells causes that cell's border to disappear
  • A workaround is to add lineColor explicitly to the hover state (uncomment that line in the code)
  • Back before Highcharts 8.1, when using borderColor, the color inheritance across states worked in a manner consistent with the documentation

Product version

Highcharts v10.2.1 (current as of writing)

Affected browser(s)

  • Chrome (at least: this is the only browser I tested so far)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions