Donut Chart

DonutChart is created with a DonutChartModel.

Source

<p:donutChart id="sample" value="#{chartBean.donutModel}" legendPosition="w"
            title="Sample Donut Chart" style="width:400px;height:300px" />

<p:donutChart id="custom" value="#{chartBean.donutModel}" 
            legendPosition="e" sliceMargin="5" showDataLabels="true" dataFormat="value" shadow="false"
            title="Custom Options" style="width:400px;height:300px" />