Anonymous

Changes

From Polyphasic Sleep Wiki
m
no edit summary
Line 1: Line 1:  
<includeonly>
 
<includeonly>
<div style="padding:10px">
+
<div style="padding:100px">
 
<div style="width:280px;height:280px;">
 
<div style="width:280px;height:280px;">
 
<canvas id="myNapchart" width:100%;height:100%"></canvas></div></div>
 
<canvas id="myNapchart" width:100%;height:100%"></canvas></div></div>
Line 8: Line 8:  
   var ctx = document.getElementById("myNapchart").getContext('2d')
 
   var ctx = document.getElementById("myNapchart").getContext('2d')
 
   var id = "<!--{$id|escape:'html'}-->"
 
   var id = "<!--{$id|escape:'html'}-->"
  var ch;
   
   $.getJSON('https://zandimna6174-eval-prod.apigee.net/get?chartid=' + id, function(data) {
 
   $.getJSON('https://zandimna6174-eval-prod.apigee.net/get?chartid=' + id, function(data) {
 
     var myNapchart = Napchart.init(ctx, data['chartData'])
 
     var myNapchart = Napchart.init(ctx, data['chartData'])
2,083

edits