m3 Security Fixes
This commit is contained in:
@@ -3,9 +3,9 @@ Chart.defaults.global.defaultFontFamily = '-apple-system,system-ui,BlinkMacSyste
|
||||
Chart.defaults.global.defaultFontColor = '#292b2c';
|
||||
|
||||
// Pie Chart Example
|
||||
var ctx = document.getElementById("myPieChart");
|
||||
let ctx = document.getElementById("myPieChart");
|
||||
if (ctx){
|
||||
var myPieChart = new Chart(ctx, {
|
||||
let myPieChart = new Chart(ctx, {
|
||||
type: 'pie',
|
||||
data: {
|
||||
labels: ["Blue", "Red", "Yellow", "Green"],
|
||||
|
||||
Reference in New Issue
Block a user