I did something like this but with XML.
Are you using MVC or ASP.NET webforms?
I just passed a HtmlString to a partial page containing off of my charts and popped that into the js
ex:
myChart.setDataXML("@Model.xmlString", true);
Hope that points you in the right direction.