Spaces:
Runtime error
Runtime error
Update templates/index.html
Browse files- templates/index.html +2 -2
templates/index.html
CHANGED
|
@@ -159,7 +159,7 @@
|
|
| 159 |
// 一人モードの場合は、ユーザーとグレー(無音)の比率をチャートに表示
|
| 160 |
if (members.length === 1) {
|
| 161 |
const userName = members[0];
|
| 162 |
-
speechChart.data.labels = [userName, "
|
| 163 |
speechChart.data.datasets[0].backgroundColor = ["#4caf50", "#757575"];
|
| 164 |
} else {
|
| 165 |
// 複数メンバーの場合は通常通りの処理
|
|
@@ -276,7 +276,7 @@
|
|
| 276 |
count_voice++;
|
| 277 |
|
| 278 |
// 一人モードでは常に緑色とグレーの組み合わせを使用
|
| 279 |
-
speechChart.data.labels = [members[0], "
|
| 280 |
speechChart.data.datasets[0].backgroundColor = ["#4caf50", "#757575"];
|
| 281 |
} else {
|
| 282 |
// 複数メンバーの場合は元の処理
|
|
|
|
| 159 |
// 一人モードの場合は、ユーザーとグレー(無音)の比率をチャートに表示
|
| 160 |
if (members.length === 1) {
|
| 161 |
const userName = members[0];
|
| 162 |
+
speechChart.data.labels = [userName, "その他"];
|
| 163 |
speechChart.data.datasets[0].backgroundColor = ["#4caf50", "#757575"];
|
| 164 |
} else {
|
| 165 |
// 複数メンバーの場合は通常通りの処理
|
|
|
|
| 276 |
count_voice++;
|
| 277 |
|
| 278 |
// 一人モードでは常に緑色とグレーの組み合わせを使用
|
| 279 |
+
speechChart.data.labels = [members[0], "その他"];
|
| 280 |
speechChart.data.datasets[0].backgroundColor = ["#4caf50", "#757575"];
|
| 281 |
} else {
|
| 282 |
// 複数メンバーの場合は元の処理
|