mirror of
https://github.com/getredash/redash.git
synced 2026-03-23 13:00:10 -04:00
7 lines
426 B
HTML
7 lines
426 B
HTML
<counter ng-class="{'positive': targetValue && trendPositive, 'negative': targetValue && !trendPositive}">
|
|
<value ng-if="isNumber">{{stringPrefix}}{{counterValue|number}}{{stringSuffix}}</value>
|
|
<value ng-if="!isNumber">{{stringPrefix}}{{counterValue}}{{stringSuffix}}</value>
|
|
<counter-target ng-if="targetValue">({{targetValue|number}})</counter-target>
|
|
<counter-name>{{visualization.name}}</counter-name>
|
|
</counter>
|