From Dark and Darker Wiki

No edit summary
No edit summary
Line 6: Line 6:
<script>
<script>
   var data1 = JSON.parse('<!--{$data1|escape:'quotes'}-->');
   var data1 = JSON.parse('<!--{$data1|escape:'quotes'}-->');
  var data2 = JSON.parse('<!--{$data2|escape:'quotes'}-->');
   var color = '#EEE';
   var color = '#EEE';
   var gridColor = '<!--{$gridColor|escape:'quotes'}-->';
   var gridColor = '<!--{$gridColor|escape:'quotes'}-->';
Line 36: Line 37:
           data: data1,
           data: data1,
           borderColor: color,
           borderColor: color,
          backgroundColor: color,
          fill: false,
        },
        {
          data: data2,
          borderColor: '#000',
           backgroundColor: color,
           backgroundColor: color,
           fill: false,
           fill: false,
Line 78: Line 85:
</script>
</script>
</includeonly><noinclude>
</includeonly><noinclude>
{{#widget:TestChart|uniqueId=LuckGrade07|data1=[{"x": 0,"y": 1},{"x": 500,"y": 4.382}]}}
{{#widget:TestChart|uniqueId=LuckGrade07|data1=[{"x": 0,"y": 1},{"x": 500,"y": 4.382}]|data1=[{"x": 500,"y": 4.382},{"x": 0,"y": 1}]}}
</noinclude>
</noinclude>

Revision as of 07:14, 15 June 2024

Error in widget TestChart: Unable to load template 'wiki:TestChart'