]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Doughnut, polar area, and radar samples should use the same canvas style 1642/head
authoretimberg <evert.timberg@gmail.com>
Thu, 12 Nov 2015 00:06:36 +0000 (19:06 -0500)
committeretimberg <evert.timberg@gmail.com>
Thu, 12 Nov 2015 00:06:36 +0000 (19:06 -0500)
samples/doughnut.html
samples/polar-area.html
samples/radar.html

index 3972fbc0cca9e14a012c8f3e0eeb078185fd8b90..facce521c14e805f64249d9d4fe6e90de3f7bb3e 100644 (file)
@@ -18,8 +18,8 @@
 </head>
 
 <body>
-    <div id="canvas-holder" style="width:50%">
-        <canvas id="chart-area" width="500" height="500" />
+    <div id="canvas-holder" style="width:100%">
+        <canvas id="chart-area" />
     </div>
     <button id="randomizeData">Randomize Data</button>
     <button id="addDataset">Add Dataset</button>
index 678aac69c692815dc00dfd533dafccd327435cff..9fd4428e3c0338d9a51260d7dcdd5cd864083e51 100644 (file)
@@ -8,7 +8,7 @@
 </head>
 
 <body>
-    <div id="canvas-holder" style="width:50%" width="50%">
+    <div id="canvas-holder" style="width:100%">
         <canvas id="chart-area"></canvas>
     </div>
     <button id="randomizeData">Randomize Data</button>
index da45b3e8f242f812a5094a341d474302ea7fdf89..b7b29ed6c07409a77ab40c6e65926b8a0633f1f9 100644 (file)
@@ -8,8 +8,8 @@
 </head>
 
 <body>
-    <div style="width:50%">
-        <canvas id="canvas" height="450" width="450"></canvas>
+    <div style="width:100%">
+        <canvas id="canvas"></canvas>
     </div>
     <button id="randomizeData">Randomize Data</button>
     <button id="addDataset">Add Dataset</button>