Skip to content

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

@ziffusion

Description

@ziffusion

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions