Skip to content

Points annotations do not work for apex_config #932

@pacemaker82

Description

@pacemaker82

Describe the bug
Points annotations do not appear on the chart. Using config-template-card to generate a correct time now for the x axis. You can see that the xaxis and yaxis annotations work fine, but the points one doesn't. Sometimes I see it there very briefly but it disappears. I am only using the xaxis and yaxis annotations to prove the x/y values work, if I remove them the points annotation still doesnt work.

Image
type: custom:config-template-card
variables:
  datenow: new Date().getTime()
entities:
  - sensor.solaredge_energy_today
card:
  type: custom:apexcharts-card
  update_interval: 5min
  apex_config:
    chart:
      height: 300px
      foreColor: rgb(117, 117, 117)
    grid:
      borderColor: rgb(60, 60, 60)
    plotOptions:
      bar:
        columnWidth: 95%
    annotations:
      xaxis:
        - x: ${datenow}
          borderColor: "#000000"
          strokeDashArray: 0
      yaxis:
        - "y": 0.55
          borderColor: "#000000"
          strokeDashArray: 0
      points:
        - x: ${datenow}
          "y": 0.55
          marker:
            radius: 3
            shape: circle
            fillColor: "#000000"
          label:
            text: hello

Version of the card
Version: 2.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreleased

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions