10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-12-25 05:43:46 +01:00

Add title to graph

This commit is contained in:
Mickaël Véril 2019-09-20 11:14:13 +02:00
parent 9e0071e067
commit 8e8bbf85e6

View File

@ -98,7 +98,8 @@ draft: false
plotdat[0].y.push(ext.Eabs-exexp.Eabs)
}
await MathJax.typesetPromise();
Plotly.newPlot('abs_plot', plotdat);
var layout={title: "Absorption theory deviation"}
Plotly.newPlot('abs_plot', plotdat,layout);
document.getElementById("graph_div").hidden=false
var lnkdoi = document.createElement("a");
// Wait for the value of publi when required
@ -145,7 +146,6 @@ draft: false
</table>
</div>
<div id="graph_div" hidden=true>
<h2>Absorption theory deviation</h2>
<div id="abs_plot">
</div>
</div>