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

layout minimal and yaxis min/max visual offset #826

Open
4 tasks done
morgoth990 opened this issue Dec 11, 2024 · 1 comment
Open
4 tasks done

layout minimal and yaxis min/max visual offset #826

morgoth990 opened this issue Dec 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@morgoth990
Copy link

Checklist

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

Describe the bug
The minimal layout seem broken when a yaxis min/max is specified

Version of the card
Version: v2.1.2

To Reproduce
This is the configuration I used:

type: custom:apexcharts-card
layout: minimal
graph_span: 24h
yaxis:
  - opposite: true
    min: 8
    max: 12

series:

  - entity: sensor.lavino_di_sopra_water_level
    type: line
    color: steelblue

Screenshots
image

Expected behavior
The graph should not be offsetted and cutted

Desktop (please complete the following information):

  • Browser Chrome
  • Version 131.0.6778.139
@morgoth990 morgoth990 added the bug Something isn't working label Dec 11, 2024
@morgoth990
Copy link
Author

Adding this to the configuration seem to fix the issue:

apex_config:
  chart:
    offsetY: -8

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