apexcharts.js icon indicating copy to clipboard operation
apexcharts.js copied to clipboard

XAnnotation needs to match label not the value

Open mreiche opened this issue 2 years ago • 0 comments

Description

In relation to https://github.com/apexcharts/apexcharts.js/issues/2671 An annotation doesn't show up, when it's x value doesn't match the formatted X-Axis-label.

Steps to Reproduce

  1. Open the codepen (link below).
  2. See that the "this shows up" annotation shows up.
  3. See that "this not" annotation doesn't show up.
  4. Changing the annotation's x value to -6- instead of 6 "fixes" that.

Expected Behavior

Bildschirmfoto 2022-05-09 um 19 29 50

Annotations should shown for a value, not the formatted x label.

Actual Behavior

Bildschirmfoto 2022-05-09 um 19 27 12

Annotations x value need to match the formatted x label.

Reproduction Link

https://codepen.io/mreiche/pen/LYQNyjr

mreiche avatar May 09 '22 17:05 mreiche