Skip to content

Instantly share code, notes, and snippets.

@vananhdespres
Created September 8, 2015 14:55
Show Gist options
  • Save vananhdespres/e7bf1fbf717514d0ab64 to your computer and use it in GitHub Desktop.
Save vananhdespres/e7bf1fbf717514d0ab64 to your computer and use it in GitHub Desktop.
//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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment