MNS
MNS

Reputation: 395

Pagination in Google charts?

I am using Google charts to show some graphs in my website. The thing is I have too many periods (by weeks), imagine two years, I would have over 100 weeks, the chart really becomes incomprehensible, so I thought about adding some kind of pagination by month, is this possible?

$j('#Summary').Chart({
    chartClass: google.visualization.AreaChart,
    chartOptions: {
        backgroundColor: '#FFF',
        width: '100%',
        height: 400,
        hAxis: { title: 'time' },
        vAxis: { title: 'contents' },
        isStacked: true
    },
    chartData: data,
    setCertainty: true
});

Upvotes: 5

Views: 3781

Answers (1)

ibpeco
ibpeco

Reputation: 58

Maybe you this is what you are looking for

https://developers.google.com/chart/interactive/docs/examples#tablequerywrapper

Is a table, but is paginated

If not, try to implement some system to move ranges between your data. Some example, will help

Upvotes: 1

Related Questions