Fixed tsc errors and warnings.
This commit is contained in:
parent
a833d43586
commit
2e642775df
3 changed files with 19 additions and 6 deletions
frontend/src/components
|
@ -12,6 +12,7 @@
|
|||
import {
|
||||
CategoryScale,
|
||||
Chart as ChartJS,
|
||||
type ChartOptions,
|
||||
LineElement,
|
||||
LinearScale,
|
||||
PointElement,
|
||||
|
@ -68,7 +69,7 @@ export default {
|
|||
}
|
||||
},
|
||||
|
||||
graphOptions() {
|
||||
graphOptions(): any {
|
||||
return {
|
||||
responsive: true,
|
||||
maintainAspectRatio: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue