Dynamically updating chart based on user inputted data

Dynamically updating chart based on user inputted data

I am trying to develop a mini application that allows users to update a chart (jqPlot) based on the values they select via the jquery UI sliders. What is the best way to do this?