From Dark and Darker Wiki
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
} | } | ||
var range = [...Array( | var range = [...Array(2).keys()].map((x) => x); | ||
new Chart(document.getElementById('<!--{$uniqueId|escape:'html'}-->'), { | new Chart(document.getElementById('<!--{$uniqueId|escape:'html'}-->'), { | ||
Line 39: | Line 39: | ||
}, | }, | ||
{ | { | ||
data: [{ | data: [{0,1},{1,1}], | ||
borderColor: color, | borderColor: color, | ||
backgroundColor: color, | backgroundColor: color, |
Revision as of 07:46, 15 June 2024
Error in widget TestChart: Unable to load template 'wiki:TestChart'