Skip to content

Commit 62cb41a

Browse files
committed
update graphs
1 parent d9f2cf7 commit 62cb41a

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

DOSPORTAL/templates/records/record_detail.html

+9-7
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<td class="">{{record.log_original_filename}} ({{ record.log_file | filesize_mb }})</td>
5757
{% if record.description|length > 1 %}<tr>
5858
<td class="w-auto">Description:</td>
59-
<td class=""><div class="callout m-0 p-2">{{record.formatted_markdown }}</div></td>
59+
<td class=""><div class="callout m-0 p-2">{{record.formatted_markdown | safe }}</div></td>
6060
</tr> {% endif %}
6161
</tr>
6262
{% if record.metadata|length > 4 %} <tr>
@@ -180,16 +180,18 @@ <h3>Energetic spectrogram:</h3>
180180
max: 'dataMax'
181181
}],
182182
yAxis: [{
183-
//min: 0,
183+
min: 'dataMin',
184184
//max: 'dataMax',
185-
type: 'value',
185+
type: 'log',
186+
logBase: 1000,
186187
boundaryGap: [0, '100%']
187188
}, {
188189
gridIndex: 1,
189-
//min: 'dataMin',
190-
//max: 'dataMax',
191-
type: 'value',
192-
boundaryGap: [0, '100%']
190+
min: 'dataMin',
191+
max: 'dataMax',
192+
type: 'log',
193+
logBase: 5000,
194+
//boundaryGap: [0, '100%']
193195
}],
194196
series: [
195197
{

0 commit comments

Comments
 (0)