Moving AJAX functionality to Chart.Util, allow passing parameters via
POST.