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

Stat/Gauge: expose explicit font sizing #29476

Merged
merged 10 commits into from Dec 4, 2020
Merged

Stat/Gauge: expose explicit font sizing #29476

merged 10 commits into from Dec 4, 2020

Conversation

ryantxu
Copy link
Member

@ryantxu ryantxu commented Nov 30, 2020

What this PR does / why we need it:

This exposes a explicit font size settings for 'title' and 'value' in the stats and gauge panels

Rather than trying to be tricky with settings (like #28091), this just exposes them directly:

image

Which issue(s) this PR fixes:

Fixes #23305, helps #22209

Special notes for your reviewer:

alternative to #28091

@ryantxu ryantxu changed the title consistent explicit sizing for stats/gauges Stat/Gauge: expose explicit font sizing Nov 30, 2020
@ryantxu
Copy link
Member Author

ryantxu commented Dec 1, 2020

Bar gauge still needs some work:
image
image

Copy link
Member

@torkelo torkelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think this looks good

Copy link
Member

@torkelo torkelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think we have a bug (not related to this PR) but when two panels share the same panel options, the values stay in the UI but are not taking effect, I need to update the value again for it to take effect.

For example have stat panel, set value size 100, switch to Gauge, the options in the side bar stay at 100 in the input but the viz is not afffected, but if update to 99 or something else it will take effect

@ryantxu ryantxu marked this pull request as ready for review December 4, 2020 17:26
@ryantxu ryantxu requested review from a team, hugohaggmark and kaydelaney and removed request for a team December 4, 2020 17:26
@ryantxu ryantxu added this to the 7.4.0 milestone Dec 4, 2020
@ryantxu ryantxu merged commit 716117b into master Dec 4, 2020
@ryantxu ryantxu deleted the gauge-font-sizes branch December 4, 2020 18:04
ryantxu added a commit that referenced this pull request Dec 8, 2020
@mjseaman mjseaman added this to the 7.4.0 milestone Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable font size option for Stat panel
3 participants