infografika
This commit is contained in:
@@ -77,6 +77,8 @@ function statpress_infographic_page() {
|
||||
'statpress-infographic-chart-loader',
|
||||
'
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
Chart.defaults.font.family = "\'Roboto\', -apple-system, BlinkMacSystemFont, \'Segoe UI\', sans-serif";
|
||||
Chart.defaults.color = "#5f6368";
|
||||
const ctx = document.getElementById("statpressCategoryPieChart");
|
||||
if (!ctx) return;
|
||||
new Chart(ctx, {
|
||||
|
||||
Reference in New Issue
Block a user