Fix gauge on dashboard page

Change-Id: I445b9a4fc82fffbfac618f68dd5060273222a3cc
This commit is contained in:
Thibault Cohen 2015-06-29 16:17:00 -04:00
parent a6c9e6fac6
commit fdab9f7836
2 changed files with 13 additions and 0 deletions

View File

@ -190,3 +190,9 @@ bansho-host-services-list .subcomponent__live {
}
// AngularJS
just-gage tspan {
font: 500 1em "Roboto", sans-serif !important;
}

View File

@ -24,6 +24,13 @@ angular.module("ngJustGage", [])
min: scope.min,
max: scope.max,
title: scope.title,
gaugeWidthScale: 0.2,
levelColors: ["#E84C3D", "#E84C3D", "#E84C3D", "#E84C3D", "#E84C3D",
"#E84C3D", "#E84C3D", "#E84C3D", "#E84C3D", "#E84C3D",
"#F9A13B", "#F9A13B", "#F9A13B", "#F9A13B", "#F9A13B",
"#F9A13B", "#F9A13B", "#F9A13B", "#F9A13B",
"#81A854"],
levelColorsGradient: false,
value: scope.value,
donut: true,
symbol: '%'