Files
redash/client/app/visualizations/counter/counter.html
2016-11-26 11:35:21 +02:00

6 lines
293 B
HTML

<counter ng-class="{'positive': targetValue && trendPositive, 'negative': targetValue && !trendPositive}">
<value>{{counterValue|number}}</value>
<counter-target ng-if="targetValue">({{targetValue|number}})</counter-target>
<counter-name>{{visualization.name}}</counter-name>
</counter>