mirror of
https://github.com/itflow-org/itflow
synced 2026-03-26 23:35:39 +00:00
UI cleanup: Moved Pie chart legends from top to the right
This commit is contained in:
@@ -705,6 +705,12 @@ var myPieChart = new Chart(ctx, {
|
|||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
},
|
},
|
||||||
|
options: {
|
||||||
|
legend: {
|
||||||
|
display: true,
|
||||||
|
position: 'right'
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Set new default font family and font color to mimic Bootstrap's default styling
|
// Set new default font family and font color to mimic Bootstrap's default styling
|
||||||
@@ -756,6 +762,12 @@ var myPieChart = new Chart(ctx, {
|
|||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
},
|
},
|
||||||
|
options: {
|
||||||
|
legend: {
|
||||||
|
display: true,
|
||||||
|
position: 'right'
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Pie Chart Example
|
// Pie Chart Example
|
||||||
@@ -803,6 +815,12 @@ var myPieChart = new Chart(ctx, {
|
|||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
},
|
},
|
||||||
|
options: {
|
||||||
|
legend: {
|
||||||
|
display: true,
|
||||||
|
position: 'right'
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user