Upload templates/analysis.html with huggingface_hub
Browse files- templates/analysis.html +2 -2
templates/analysis.html
CHANGED
|
@@ -290,7 +290,7 @@
|
|
| 290 |
const allData = [
|
| 291 |
{% for ag in comp_antigens %}
|
| 292 |
{ antigen: '{{ ag.antigen }}', allele: '{{ ag.allele }}',
|
| 293 |
-
values: [{% for d in comp_dates %}{{ ag.mfi_by_date.get(d, {}).get('
|
| 294 |
{% endfor %}
|
| 295 |
];
|
| 296 |
|
|
@@ -382,7 +382,7 @@
|
|
| 382 |
tooltip: { callbacks: { label: c => c.dataset.label + ': ' + (c.parsed.y !== null ? c.parsed.y.toLocaleString() : '-') } }
|
| 383 |
},
|
| 384 |
scales: {
|
| 385 |
-
y: { title: { display: true, text: '
|
| 386 |
x: { title: { display: true, text: '報告日期' } }
|
| 387 |
}
|
| 388 |
}
|
|
|
|
| 290 |
const allData = [
|
| 291 |
{% for ag in comp_antigens %}
|
| 292 |
{ antigen: '{{ ag.antigen }}', allele: '{{ ag.allele }}',
|
| 293 |
+
values: [{% for d in comp_dates %}{{ ag.mfi_by_date.get(d, {}).get('mean_mfi', 0) }}{% if not loop.last %},{% endif %}{% endfor %}] },
|
| 294 |
{% endfor %}
|
| 295 |
];
|
| 296 |
|
|
|
|
| 382 |
tooltip: { callbacks: { label: c => c.dataset.label + ': ' + (c.parsed.y !== null ? c.parsed.y.toLocaleString() : '-') } }
|
| 383 |
},
|
| 384 |
scales: {
|
| 385 |
+
y: { title: { display: true, text: 'Mean MFI' }, beginAtZero: true },
|
| 386 |
x: { title: { display: true, text: '報告日期' } }
|
| 387 |
}
|
| 388 |
}
|