Charts - Line

LineChart is created with a LineChartModel.

<style type="text/css">
    .ui-chart {
        margin-bottom: 50px;
    }
</style>

<p:lineChart model="#{chartJsView.lineModel}" style="width: 100%; height: 500px;"/>

<p:lineChart model="#{chartJsView.cartesianLinerModel}" style="width: 100%; height: 500px;"/>