M3 Integration fixes
This commit is contained in:
@@ -115,8 +115,8 @@
|
||||
}
|
||||
|
||||
document.querySelectorAll('[data-wms-chart]').forEach(function (canvas) {
|
||||
let type = canvas.getAttribute('data-chart-type') || 'line';
|
||||
let raw = canvas.getAttribute('data-chart-config') || '{}';
|
||||
let type = canvas.dataset.chartType || 'line';
|
||||
let raw = canvas.dataset.chartConfig || '{}';
|
||||
let config = {};
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user