mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-09-04 01:03:21 +00:00
Moved to the left and darkened
This commit is contained in:
@@ -163,7 +163,7 @@ export default {
|
||||
// Enable the legend and display only the non-bar datasets (the lines)
|
||||
display: true,
|
||||
position: "top",
|
||||
align: "end",
|
||||
align: "start",
|
||||
labels: {
|
||||
color: this.$root.theme === "light" ? "rgba(12,12,18,1.0)" : "rgba(220,220,220,1.0)",
|
||||
usePointStyle: true,
|
||||
@@ -501,16 +501,6 @@ export default {
|
||||
|
||||
return {
|
||||
datasets: [
|
||||
{
|
||||
// average ping chart
|
||||
data: avgPingData,
|
||||
fill: "origin",
|
||||
tension: 0.2,
|
||||
borderColor: "#5CDD8B",
|
||||
backgroundColor: "#5CDD8B06",
|
||||
yAxisID: "y",
|
||||
label: this.$t("avgPing") || "Avg Ping",
|
||||
},
|
||||
{
|
||||
// minimum ping chart
|
||||
data: minPingData,
|
||||
@@ -521,12 +511,22 @@ export default {
|
||||
yAxisID: "y",
|
||||
label: this.$t("minPing") || "Min Ping",
|
||||
},
|
||||
{
|
||||
// average ping chart
|
||||
data: avgPingData,
|
||||
fill: "origin",
|
||||
tension: 0.2,
|
||||
borderColor: "#5CDD8B",
|
||||
backgroundColor: "#5CDD8B06",
|
||||
yAxisID: "y",
|
||||
label: this.$t("avgPing") || "Avg Ping",
|
||||
},
|
||||
{
|
||||
// maximum ping chart
|
||||
data: maxPingData,
|
||||
fill: "origin",
|
||||
tension: 0.2,
|
||||
borderColor: "#175c32",
|
||||
borderColor: "#124526",
|
||||
backgroundColor: "#1E7A4214",
|
||||
yAxisID: "y",
|
||||
label: this.$t("maxPing") || "Max Ping",
|
||||
|
||||
Reference in New Issue
Block a user