title: how to add zoom functionality to chart created by jfreechart
body: <p>I have drawn a XY chart using jfree. Now i want to add zoom functionality to it. This must be done using a slider at the bottom of the chart. How can i add zoom functionality, the likes of which is present in Windows Photo Viewer?</p>
  
  <p>Also, i would like to show the current Y-value of the graph as a tooltip when the user hovers his mouse over the plotted line. I am not getting much ideas. 
  Please help.
  Thanks in advance</p>