Highcharts with datatables to only display chart details on the current page selected
Highcharts with datatables to only display chart details on the current page selected

Description of problem: Let's say i have a table with 10 pages, i need to create a chart that only populates the values in the current selected page dynamically, how can that be done?
This discussion has been closed.
Answers
You can use the
selector-modifier
{page: 'current'}
when you callrows()
,Colin
Hi @salamsd,
We actually have a blog post that is pending release that shows how to integrate DataTables with HighCharts. We hope to release it on monday so keep an eye out for that.
In the mean time, take a look at this example. It should show what you are looking for.
Thanks,
Sandy
Thanks for the reply, i'm using this code. I checked the example provided it's not really what i'm looking for. What i need is let's say we have 1- rows per page in the datatable, once i change to page 2 i need the chart to populate the new values in the next 10 rows and show the chart accordingly.
Hi @salamsd ,
In that case all you have to do is add a listener for the page event. Take a look at this example.
Thanks,
Sandy
Thanks again, got it to work with your example