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

Labels for secondary Y-axis: align right #741

Closed
ildar170975 opened this issue Feb 23, 2022 · 7 comments
Closed

Labels for secondary Y-axis: align right #741

ildar170975 opened this issue Feb 23, 2022 · 7 comments
Labels
enhancement Something that can be improved

Comments

@ildar170975
Copy link
Collaborator

Currently labels for both primary & secondary Y-axis are left-aligned:
изображение

  - type: custom:mini-graph-card
    entities:
      - entity: sensor.cleargrass_1_temperature
        name: Temp
      - entity: sensor.cleargrass_2_co2
        name: CO2
        y_axis: secondary
    lower_bound: ~0
    lower_bound_secondary: ~0
    show:
      labels: true
      labels_secondary: true

It does not look fine if the max value is huge.

I think that for the secondary Y-axis the labels should be right-aligned:
изображение

Currently I may achieve it by card-mod but it is better to have it permanently:

    card_mod:
      style: |
        .graph .graph__container .graph__labels.--secondary.flex {
          align-items: flex-end;
        }
@ildar170975 ildar170975 added the enhancement Something that can be improved label Feb 23, 2022
@stale
Copy link

stale bot commented Apr 24, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this is still an active issue, please let us know!

@stale stale bot added the stale Stale issue - closed due to inactivity label Apr 24, 2022
@ildar170975 ildar170975 removed the stale Stale issue - closed due to inactivity label Apr 24, 2022
@stale
Copy link

stale bot commented Jun 24, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this is still an active issue, please let us know!

@stale stale bot added the stale Stale issue - closed due to inactivity label Jun 24, 2022
@ildar170975 ildar170975 removed the stale Stale issue - closed due to inactivity label Jun 24, 2022
@stale
Copy link

stale bot commented Aug 31, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this is still an active issue, please let us know!

@stale stale bot added the stale Stale issue - closed due to inactivity label Aug 31, 2022
@ildar170975 ildar170975 removed the stale Stale issue - closed due to inactivity label Aug 31, 2022
@stale
Copy link

stale bot commented Oct 31, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this is still an active issue, please let us know!

@stale stale bot added the stale Stale issue - closed due to inactivity label Oct 31, 2022
@jlsjonas
Copy link
Collaborator

I believe this was done in 8577f2f
@ildar170975 ?
(P.s.: best to add the maybe later label instead of removing stale every 45 days 😁)

@stale
Copy link

stale bot commented Oct 31, 2022

Still an active issue, got it! Removing stale label.

@stale stale bot removed the stale Stale issue - closed due to inactivity label Oct 31, 2022
@ildar170975
Copy link
Collaborator Author

ildar170975 commented Nov 1, 2022

I believe this was done in 8577f2f

@jlsjonas
Yes!
Shall we close the issue or set "May be later" ?

@jlsjonas jlsjonas closed this as completed Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something that can be improved
Projects
None yet
Development

No branches or pull requests

2 participants