Fixed ngraphs>blocks bug + generic.ini changed

This commit is contained in:
l_samenv
2024-09-06 13:37:09 +02:00
parent e28467d30f
commit aa80454a2f
2 changed files with 19 additions and 2 deletions

View File

@ -1140,7 +1140,7 @@ let graphs = (function (){
* Creates the graphs or selection for each displayed graph
*/
function createGraphs() {
let n = Math.max(2, Math.floor(window.innerHeight / 200));
let n = Math.min(blocks.length,Math.max(2, Math.floor(window.innerHeight / 200)));
if (n != ngraphs) {
for (let i = ngraphs; i < n; i++) {

View File

@ -1,2 +1,19 @@
[chart]
T_stat=K_2
tt=unit:K
tt.target=unit:K
cc=-
hemot.target=-
mf=unit:T
mf.target=unit:T
ts=unit:K
ts.target=unit:K
treg=-
tmon=-
T_oneK=unit:K
T_sample=unit:K
T_samplehtr=unit:K
T_mix=unit:K
T_sorb=unit:K
T_sorb.target=-
dil=-
lev=unit:%%