Add Pie Chart to docs
This commit is contained in:
parent
1f50544bcc
commit
20cd029c4d
@ -62,7 +62,7 @@ const chart = new Chart({
|
|||||||
parent: '#chart',
|
parent: '#chart',
|
||||||
title: "My Awesome Chart",
|
title: "My Awesome Chart",
|
||||||
data: data,
|
data: data,
|
||||||
type: 'bar', // or 'line', 'scatter', 'percentage'
|
type: 'bar', // or 'line', 'scatter', 'pie', 'percentage'
|
||||||
height: 250
|
height: 250
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|||||||
@ -80,7 +80,7 @@
|
|||||||
parent: "#chart",
|
parent: "#chart",
|
||||||
title: "My Awesome Chart",
|
title: "My Awesome Chart",
|
||||||
data: data,
|
data: data,
|
||||||
type: 'bar', // or 'line', 'scatter', 'percentage'
|
type: 'bar', // or 'line', 'scatter', 'pie', 'percentage'
|
||||||
height: 250
|
height: 250
|
||||||
});</code></pre>
|
});</code></pre>
|
||||||
<div id="chart-types" class="border"></div>
|
<div id="chart-types" class="border"></div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user