This chart is fantastic and the support here is top quality.
Can someone provide an example how to return AJAX data from the chart page back to MVC Controller?
I would like to have 3 check boxes on the chart page that can go to the MVC controller via AJAX.
This is to filter the data and re-render the chart.
I was attempting to put the return request inside of data but I dont have the syntax quite right.
here is what I have tried;
data: [{
type: "rangeBar",
yValueType: "dateTime",
indexLabelFontColor: "white",
indexLabelPlacement: "inside",
indexLabelFontSize: 12,
dataPoints : dataPoints
}] function(d) {
return $.extend({}, d, {
"checkbox1": $('#checkbox1').val(),
"checkbox2": $('#checkbox2').val(),
"checkbox3": $('#checkbox3').val(),
});