Fix aggiunta periodo in Statistiche

This commit is contained in:
valentina 2024-06-25 17:52:27 +02:00
parent 2099217c22
commit 0f83231c32
1 changed files with 7 additions and 8 deletions

View File

@ -50,9 +50,6 @@ echo '
<div class="card-header"> <div class="card-header">
<h4 class="card-title">'.tr('Periodi temporali').'</h4> <h4 class="card-title">'.tr('Periodi temporali').'</h4>
<div class="card-tools"> <div class="card-tools">
<button class="btn btn-warning btn-sm" onclick="add_calendar()">
<i class="fa fa-plus"></i> '.tr('Aggiungi periodo').'
</button>
<button type="button" class="btn btn-tool" data-card-widget="collapse"> <button type="button" class="btn btn-tool" data-card-widget="collapse">
<i class="fa fa-plus"></i> <i class="fa fa-plus"></i>
</button> </button>
@ -60,7 +57,12 @@ echo '
</div> </div>
<div class="card-body" id="calendars"> <div class="card-body" id="calendars">
<div class="row">
<button class="btn btn-warning btn-sm" onclick="add_calendar()">
<i class="fa fa-plus"></i> '.tr('Aggiungi periodo').'
</button>
</div>
<br>
</div> </div>
</div> </div>
<canvas id="fatturato" height="50"></canvas> <canvas id="fatturato" height="50"></canvas>
@ -112,7 +114,7 @@ var chart_options = {
scaleID: "y-axis-0", scaleID: "y-axis-0",
value: 0, value: 0,
label: { label: {
enabled: false, enabled: true,
} }
}] }]
}, },
@ -142,9 +144,6 @@ var chart_options = {
} }
} }
}, },
legend: {
position: "bottom",
},
} }
}; };