Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
a0b04559
Unverified
Commit
a0b04559
authored
Jan 20, 2020
by
Torkel Ödegaard
Committed by
GitHub
Jan 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BigValue: Updated test dashboard and made some chart sizing tweaks (#21616)
parent
2732aca0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
devenv/dev-dashboards/panel-stat/panel-stat-tests.json
+0
-0
packages/grafana-ui/src/components/BigValue/BigValueLayout.tsx
+2
-0
No files found.
devenv/dev-dashboards/panel-stat/panel-stat-tests.json
View file @
a0b04559
This diff is collapsed.
Click to expand it.
packages/grafana-ui/src/components/BigValue/BigValueLayout.tsx
View file @
a0b04559
...
...
@@ -363,6 +363,8 @@ export class StackedWithChartLayout extends BigValueLayout {
// make title fontsize it's a bit smaller than valueFontSize
this
.
titleFontSize
=
Math
.
min
(
this
.
valueFontSize
*
0.7
,
this
.
titleFontSize
);
// make chart take up onused space
this
.
chartHeight
=
height
-
this
.
titleFontSize
*
LINE_HEIGHT
-
this
.
valueFontSize
*
LINE_HEIGHT
+
height
*
0.05
;
}
getValueAndTitleContainerStyles
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment