This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var directivesModule = require('../_index.js'); | |
var $ = require('jquery'); | |
var _ = require('underscore'); | |
/** | |
* @ngInject | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//grab the corresponding kpi indicator element to set the correct colour code, probably eventually will need to have a few different indicators | |
var kpiIndicator = $(chartContainerId).find('.kpi-indicator'); | |
var kpiIndicatorProperty = Constants.statisticDefaults.background; | |
var kpiIndicatorWarning = Constants.statisticDefaults.warning; | |
var kpiIndicatorNormal = Constants.statisticDefaults.normal; |