Widget:Napchart: Difference between revisions

From Polyphasic Sleep Wiki
No edit summary
Tag: Reverted
Undo revision 10537 by Admin (talk)
Tag: Undo
Line 13: Line 13:
     .then(response => response.json())
     .then(response => response.json())
     .then(data => {
     .then(data => {
       Napchart.init(ctx, data['chartData']);
       Napchart.init(ctx, data['chartDocument']['chartData']);
       console.log(data);
       console.log(data);
     })
     })

Revision as of 13:55, 5 June 2025