views:

199

answers:

1

Can anybody give a code snippet which will explain how to use Binary streaming render type in ASP.Net Charting controls using $.ajax call in ASP.Net MVC Framework. ?

Ajax call will look like this-->

$.ajax({              

    type: "POST",

    url: "/DrawChart/" + drawingParamter1+ "/" + drawingParamter2,

    dataType: someSuitableDataType,

    error: function(error) {

    },

    success: function(html) {

    }
});
+1  A: 

I am not sure why do you want to use ajax to call a binary stream, but this blog post shows you how to do the binary stream using or using a control.

http://setiabud.blogspot.com/2010/02/using-aspnet-chart-controls-in-aspnet.html

Johannes Setiabudi
Kushal Waikar
Why not just save the images as files on the server and then retrieve them?
Johannes Setiabudi