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