From Dark and Darker Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div> | <div> | ||
<canvas id="<!--{$ | <canvas id="<!--{$uniqueId|escape:'html'}-->"></canvas> | ||
</div> | </div> | ||
<script> | <script> | ||
var data = JSON.parse('<!--{$data|escape:'quotes'}-->') | var data = JSON.parse('<!--{$data|escape:'quotes'}-->') | ||
var color = '<!--{$color|escape:'quotes'}-->'; | var color = '<!--{$color|escape:'quotes'}-->'; | ||
var backgroundColor = '<!--{$backgroundColor|escape:'quotes'}-->'; | var backgroundColor = '<!--{$backgroundColor|escape:'quotes'}-->'; | ||
Line 55: | Line 52: | ||
{ | { | ||
data: data, | data: data, | ||
borderColor: color, | borderColor: color, | ||
backgroundColor: color, | backgroundColor: color, |