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