Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Height of graph is not possible to set with apex chart. Documentation misleading. #851

Open
dflvunoooooo opened this issue Jan 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@dflvunoooooo
Copy link

Checklist

  • [x ] I updated the card to the latest version available
  • [x ] I cleared the cache of my browser
  • [x ] I verified that I'm really running the lastest version in my browser console
  • [x ] I checked if there is another issue opened with the same problem

Describe the bug
The documentation sates: "Change the height of the graph". But in Apex Chart this is not possible. One can only set the height of the chart, which is in HA terms the height of the whole card. The graph, meaning the for examle line of data can not be set to a serain height, at least didn't I find anything in the documentation of Apex Chart.

Version of the card
Version: 2.1.2

To Reproduce
This is the configuration I used:

type: vertical-stack
cards:
  - type: custom:apexcharts-card
    graph_span: 24h
    header:
      show: true
      title: Time
    apex_config:
      chart:
        height: 200qx
    series:
      - entity: sensor.time
        type: line
  - type: custom:apexcharts-card
    graph_span: 24h
    header:
      show: true
      title: Time
    apex_config:
      chart:
        height: 200qx
    series:
      - entity: sensor.time
        type: line
        color: green
      - entity: sensor.time
        type: line
        color: green
      - entity: sensor.time
        type: line
        color: green
      - entity: sensor.time
        type: line
        color: green
      - entity: sensor.time
        type: line
        color: green
      - entity: sensor.time
        type: line
        color: green
      - entity: sensor.time
        type: line
        color: green
      - entity: sensor.time
        type: line
        color: green

Screenshots
2025-01-13_11-24

Expected behavior
I would expect the documentation here to reflect this behaviour. Or, if the height of the graph can be set and I overlooked it, to distinguish this.

Desktop (please complete the following information):

  • firefox, chrome
@dflvunoooooo dflvunoooooo added the bug Something isn't working label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant