Add an event listener for the "page" event and test the page property of the event:
google.visualization.events.addListener(visualization, 'page', function (e) {
if (e.page == numberOfPages - 1) {
// we have reached the last page, make an AJAX call for more data
}
});