public static final String |
BG_COLOR |
"FFFFFF" |
public static final int |
CHART_HEIGHT |
200 |
public static final int |
CHART_WIDTH |
400 |
public static final String |
METRIC_BG |
"2491C8" |
public static final int |
METRIC_HEIGHT |
90 |
public static final String |
METRIC_HTML |
"<div id=\"${this}\" class=\"card-pf card-pf-accented card-pf-aggregate-status\" style=\"background-color:${bgColor}; width:${width}px; height:${height}px; margin-top:${marginTop}px; margin-right:${marginRight}px; margin-bottom:${marginBottom}px; margin-left:${marginLeft}px;\">\n <h2 id=\"${thisValue}\">${value}</h2>\n <p id=\"${thisTitle}\" style=\"font-weight:400\">${title}</p>\n</div>" |
public static final String |
METRIC_JS |
"if (${isFilterEnabled}) { \n var filterOn = false;\n ${this}.style.cursor=\"pointer\";\n ${this}.style.backgroundColor = ${isFilterOn} ? \"#2491C8\" : \"${bgColor}\";\n\n ${this}.onclick = function() {\n filterOn = !filterOn;\n ${this}.style.backgroundColor = filterOn ? \"#2491C8\" : \"${bgColor}\";\n ${thisValue}.style.color = filterOn ? \"white\" : \"black\";\n ${thisTitle}.style.color = filterOn ? \"white\" : \"black\";\n ${doFilter};\n };\n}" |
public static final int |
METRIC_WIDTH |
200 |
public static final String |
NO_DECIMALS |
"#,##0" |