+ Start a Discussion
SidharthSidharth 

Pagination in Google bar chart

Hi Everyone

 

I have a google bar chart, at my client portal, showing client accounts info. 

 

As google bar chart has a limitation of 300000 pixels(chart size), i was wondering if there is any way i can paginate the bars(one bar showing one account), as in my case a person can have a large number of accounts.

 

So instead of reducing the bar width to fit frame size, i want to paginate the bars.

 

Any idea ?

 

Thanks

Sid

CB312CB312

I don't believe the google chart api supports pagination, however you can use their ChartWrapper class to put a control over the datatable and use DataViews to control what is visible to the end user:

 

http://code.google.com/apis/ajax/playground/#numberrangefilter_control

http://code.google.com/apis/ajax/playground/#full_dashboard

http://code.google.com/apis/ajax/playground/#dependent_controls

 

 

 chris