Add Pie Chart to docs

This commit is contained in:
pratu16x7 2017-11-04 08:28:49 +05:30
parent 1f50544bcc
commit 20cd029c4d
2 changed files with 2 additions and 2 deletions

View File

@ -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
})
```

View File

@ -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>