mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2025-04-19 08:55:12 +00:00
chartjs customization
This commit is contained in:
parent
e99d910dbd
commit
703a05b18c
@ -203,23 +203,24 @@
|
||||
]
|
||||
},
|
||||
options: {
|
||||
legend: {
|
||||
display: false
|
||||
},
|
||||
|
||||
responsive: true,
|
||||
plugins: {
|
||||
legend: {
|
||||
display: false // Hide the legend to only show the lines
|
||||
}
|
||||
},
|
||||
scales: {
|
||||
x: {
|
||||
display: false // Hide the X-axis labels if not needed
|
||||
},
|
||||
y: {
|
||||
min: 0,
|
||||
beginAtZero: true,
|
||||
xAxes: [{
|
||||
display: false,
|
||||
grid: { display: false }
|
||||
}
|
||||
ticks: { display: false },
|
||||
gridLines: { display: false }
|
||||
}],
|
||||
yAxes: [{
|
||||
display: false,
|
||||
ticks: { display: false, beginAtZero: true },
|
||||
gridLines: { display: false }
|
||||
}]
|
||||
},
|
||||
|
||||
animation: {
|
||||
duration: 1000
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user