Charts - Pie PieChart is created with a PieChartModel.

<p:chart type="pie" model="#{chartView.pieModel1}" style="width:400px;height:300px" />
            
<p:chart type="pie" model="#{chartView.pieModel2}" style="width:400px;height:300px" />
                
PrimeTek, Copyright © 2015
All rights reserved.
Running PrimeFaces-6.1-SNAPSHOT on Mojarra-2.2.8.