Line chart with date picker

Hello all, I have a page where I am showing Line chart and two date picker( start-date and end-date). On selecting start and end date from range selector the chart should refresh and show value only in between that time. But I am not sure how to achieve it, is there any way to do it? Thanks.
1 answers

I agree with the comment that was made on your question. You need at add an on-change event to the date pickers where you change the object that governs your line chart and refresh it in client (you do not need to commit it if you do not want it to be stored yet, just refreshing the client). This should refresh all data widgets with entities that are related, and  refresh your line chart. Let me know if you have any more questions.