Skip to content

Markers are Missing on Hover When size is zero #2872

@avishairoi

Description

@avishairoi

Description

While using the line chart, I was trying to not have any marker points unless I will hover over the chart.
When the Y-axis will contain values greater than 0, it works perfectly fine. But, if the Y-axis value equals 0, the markers will not show up at all.

Steps to Reproduce

  1. Create a line chart.
  2. Use data that contains 0 values in y-axis.
  3. Set markers size = 0.
  4. Set markers hover size = 3.
markers: {
        size: 0,
        colors: ["#ffffff"],
        strokeColors: [baseColor],
        strokeWidth: [2],
        hover: {
          size: 3,
        },
      },

Expected Behavior

Hovering zero values should show the marker points as it is shown when the y axis value is greater than zero.

Actual Behavior

Hovering zero values does not show the marker points as it shows when the y axis value is greater than zero.

Screenshots

image
But here...
image

Reproduction Link

https://codepen.io/avishairoi/pen/MWEXMjz

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingverified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions