Charts - Zoom A specific part on Cartesian Charts can be zoomed using mouse drag.

<p:chart type="line" model="#{chartView.zoomModel}" style="height:300px;" widgetVar="chart"/>

<p:commandButton type="button" value="Reset" icon="ui-icon-cancel" onclick="PF('chart').resetZoom()"/>
                
PrimeTek, Copyright © 2017
All rights reserved.
Running PrimeFaces-6.1.4 on Mojarra-2.2.10.