Skip to content

Can't set gridwidth and linewidth for xaxis in defaults #551

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

Open
ziffusion opened this issue Mar 28, 2025 · 0 comments
Open

Can't set gridwidth and linewidth for xaxis in defaults #551

ziffusion opened this issue Mar 28, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ziffusion
Copy link

ziffusion commented Mar 28, 2025

Describe the bug
I am trying to set gridwidth and linewidth for xaxis in defaults. Doesn't seem to work. Same configuration for yaxes works fine.

Screenshots
Screenshot

yaml

views:
  - title: Stats
    sections:
      - type: grid
        column_span: 4
        cards:
          - type: custom:plotly-graph
            entities:
              - entity: sensor.xxx
                name: Bar
              - entity: sensor.yyy
                name: Foo
            hours_to_show: 720
            refresh_interval: 10
            title: Xxx
            grid_options:
              columns: full
            config:
              scrollZoom: false
              displayModeBar: false
            defaults:
              entity:
                mode: lines+markers+text
                type: scatter
                show_value: false
              yaxes:
                fixedrange: true
                tick0: 0
                dtick: 50
                gridwidth: 3
                minor:
                  showgrid: true
                  nticks: 5
                  gridwidth: 1
              xaxes:
                tick0: 0
                dtick: 50
                gridwidth: 3
                minor:
                  showgrid: true
                  nticks: 5
                  gridwidth: 1
@ziffusion ziffusion added the bug Something isn't working label Mar 28, 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