Widgets > Chart Widgets > wijpiechart |
The wijpiechart widget allows you to create customized pie charts.
Open the .cshtml for the View in which you want to display a wijpiechart. Add a <div> DOM element like in the following markup:
<div id="piechart">
</div>
Now you need to initialize the wijpiechart widget, which you can do by adding the following script to the .cshtml file:
<script type="text/javascript">
$(document).ready(function () {
$("#piechart").wijpiechart({
});
});
</script>
For more information about wijbarchart, click one of the external links to view our Wijmo wiki documentation: