shobe089
Posts: 6
Joined: Tue Jul 26, 2011 5:26 am

Highchart with Pagination

i am trying to incorporate jquery or ajax pagination with highcharts.the data placed in my highchart is from my database and each chart would only display 5 name to avoided crowded display.because of this i would like to use a jquery pagination but i just can't find way to do this.can someone please help me. :(
hfrntt
Posts: 6393
Joined: Mon Aug 30, 2010 8:41 am
Contact: Website

Re: Highchart with Pagination

After looking into jQuery Pagination demo I find out that it's quite easy. I set up an example using some data from the plugin website and random values, see what I got: http://jsfiddle.net/k4psV/
Slawek Kolodziej
Highcharts support team
shobe089
Posts: 6
Joined: Tue Jul 26, 2011 5:26 am

Re: Highchart with Pagination

what is the name of the jQuery plugin you have used in this demo?
by the way thanks for answering to this post. :)
shobe089
Posts: 6
Joined: Tue Jul 26, 2011 5:26 am

Re: Highchart with Pagination

my idea is like this.i would limit the number of retrieve data using SQL. there will be a variable used ing the SQL then pass it's value from PHP to jQuery then back to PHP.is it possible to do that?

by the way i'm using column for the type of chart.
hfrntt
Posts: 6393
Joined: Mon Aug 30, 2010 8:41 am
Contact: Website

Re: Highchart with Pagination

It's jquery pagination plugin :) Actually I don't know why I thought that you need pie charts. In case of php - you just have to call an ajax request and get a properly response then feed chart with new data - you can find this in my example.
Slawek Kolodziej
Highcharts support team
shobe089
Posts: 6
Joined: Tue Jul 26, 2011 5:26 am

Re: Highchart with Pagination

i can't find the ajax. :(
hfrntt
Posts: 6393
Joined: Mon Aug 30, 2010 8:41 am
Contact: Website

Re: Highchart with Pagination

Slawek Kolodziej
Highcharts support team

Return to “Highcharts Usage”