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 © 2017
All rights reserved.
Running PrimeFaces-6.1.4 on Mojarra-2.2.10.