BigValue: Updated test dashboard and made some chart sizing tweaks (#21616)

This commit is contained in:
Torkel Ödegaard
2020-01-20 13:07:39 +01:00
committed by GitHub
parent 2732aca05c
commit a0b04559e4
2 changed files with 222 additions and 265 deletions
@@ -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() {