Remove Amazon filament price tracking
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 2m41s

This commit is contained in:
Hickmeister
2026-10-11 15:56:13 +01:00
parent 1c72937f9a
commit 96561dc3d2
20 changed files with 54 additions and 350 deletions
+3 -3
View File
@@ -41,15 +41,15 @@ if (document.querySelector('[data-dashboard-chart]')) {
markers: { size: 3 },
legend: { show: false },
};
} else if (element.dataset.dashboardChart === 'materials') {
} else if (element.dataset.dashboardChart === 'printers') {
options = {
...chartBase,
chart: { ...chartBase.chart, type: 'donut', height },
labels: data.map((item) => item.label),
series: data.map((item) => item.count),
colors: ['#e3f504', '#7dd3a3', '#8b9df0', '#f0a46b', '#cc9df0', '#66cbd1', '#f17fa5'],
colors: ['#e3f504', '#7dd3a3', '#f0a46b', '#f17fa5', '#8b9df0'],
legend: { position: 'bottom', fontSize: '12px', labels: { colors: '#b8bec4' } },
plotOptions: { pie: { donut: { size: '68%', labels: { show: true, total: { show: true, label: 'Spools' } } } } },
plotOptions: { pie: { donut: { size: '68%', labels: { show: true, total: { show: true, label: 'Printers' } } } } },
dataLabels: { enabled: false },
stroke: { colors: ['#17191b'], width: 2 },
};