mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
show legend update color
This commit is contained in:
@@ -479,10 +479,10 @@ var myLineChart = new Chart(ctx, {
|
||||
fill: false,
|
||||
borderColor: "#dc3545",
|
||||
pointRadius: 5,
|
||||
pointBackgroundColor: "rgba(2,117,216,1)",
|
||||
pointBackgroundColor: "#dc3545",
|
||||
pointBorderColor: "#dc3545",
|
||||
pointHoverRadius: 5,
|
||||
pointHoverBackgroundColor: "rgba(2,117,216,1)",
|
||||
pointHoverBackgroundColor: "#dc3545",
|
||||
pointHitRadius: 50,
|
||||
pointBorderWidth: 2,
|
||||
data: [
|
||||
@@ -534,7 +534,7 @@ var myLineChart = new Chart(ctx, {
|
||||
}],
|
||||
},
|
||||
legend: {
|
||||
display: false
|
||||
display: true
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user