mirror of
https://github.com/Luzifer/mondash.git
synced 2024-12-23 04:21:18 +00:00
Added abbreviation to MAD
This commit is contained in:
parent
a3a148b0ff
commit
c9a95aa012
1 changed files with 3 additions and 3 deletions
|
@ -93,7 +93,7 @@
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
<h4>{{ metric.Title }}</h4>
|
<h4>{{ metric.Title }}</h4>
|
||||||
<p>{{ metric.Description }}</p>
|
<p>{{ metric.Description }}</p>
|
||||||
<span><span class="label label-info">Current Value: {{ metric.Value }}</span> {{ metric.MadMultiplier }} MAD above the Median ({{ metric.Median }})</span>
|
<span><span class="label label-info">Current Value: {{ metric.Value }}</span> {{ metric.MadMultiplier }} <abbr title="Median Absolute Deviation">MAD</abbr> above the Median ({{ metric.Median }})</span>
|
||||||
<div class="ct-chart {{metric.MetricID}} .ct-double-octave"></div>
|
<div class="ct-chart {{metric.MetricID}} .ct-double-octave"></div>
|
||||||
<script>
|
<script>
|
||||||
var data = {
|
var data = {
|
||||||
|
@ -104,11 +104,11 @@
|
||||||
{{ metric.DataHistory }}
|
{{ metric.DataHistory }}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
for (var i = 0; i < data.labels.length; i++) {
|
for (var i = 0; i < data.labels.length; i++) {
|
||||||
data.labels[i] = timeConverter(data.labels[i]);
|
data.labels[i] = timeConverter(data.labels[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
new Chartist.Line('.{{metric.MetricID}}', data);
|
new Chartist.Line('.{{metric.MetricID}}', data);
|
||||||
</script>
|
</script>
|
||||||
<small>
|
<small>
|
||||||
|
|
Loading…
Reference in a new issue