PrimeFace AreaChartIt is a customized and advanced version of a LineChart where series are filled. It is used to represent statistical data graphically. The <p:chart> is a generic component to create chart in JSF application. We can set type of chart to specify the type pf chart. The chart has various attributes that are tabled below. These attributes are generic and applicable for all type of charts. Chart Attributes
ExampleHere, in the following example, we are implementing <p:chart> component. This example contains the following files. JSF File// area.xhtml ManagedBean// Area.java Output: Next TopicPrimeFaces PieChart |