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