Files
redash/rd_ui/app/views/visualizations/counter.html
2014-11-10 15:21:03 +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>