Compare commits

..

No commits in common. "fd66a7cb2007343208d91742fefa76ca4e9be837" and "4210b2eabc3d9b013f6cb7e07a79997e0d8dc8ac" have entirely different histories.

View File

@ -147,8 +147,6 @@
});
// Initialize empty Pie chart
const elementBody = document.querySelector('body');
const elementBodyCss = getComputedStyle(elementBody);
const ctx = document.getElementById('pieChart').getContext('2d');
const pieChart = new Chart(ctx, {
type: 'pie',
@ -182,8 +180,6 @@
}
});
Chart.defaults.color = elementBodyCss.color;
// AJAX call to dynamically update the chart
$.ajax({
url: '{% url "mumble:release_pie_chart_data" %}', // Your Django view URL that returns chart data