Private
Public Access
1
0

adding time plot

This commit is contained in:
Sander Roosendaal
2022-07-20 07:10:47 +02:00
parent 4758be79c0
commit 973f863b92
2 changed files with 34 additions and 0 deletions

View File

@@ -33,6 +33,8 @@
console.log(data);
$("#id_script").replaceWith('<div id="id_script">'+data.script+'</d'+'iv>');
$("#id_chart").replaceWith('<div id="id_chart">'+data.div+'</d'+'iv>');
$("#ds").replaceWith('<div id="ds">'+data.ds+'</d'+'iv>');
$("#dd").replaceWith('<div id="dd">'+data.dd+'</d'+'iv>');
}
});
}
@@ -89,9 +91,17 @@ $( function() {
<div id="id_script">
{{ the_script |safe }}
</div>
<div id="ds">
{{ ds |safe }}
</div>
<h1>In Stroke Metrics</h1>
<ul class="main-content">
<li class="grid_4">
<div id="dd" class="flexplot">
{{ dd|safe }}
</div>
</li>
<li class="grid_4">
<div id="id_chart" class="flexplot">
{{ the_div|safe }}