Page 1 of 1

Working with Json

Posted: Wed May 31, 2017 8:21 am
by 15679888
I'm looking at the Js/Html5 code and would like know how to bind the chart with Json data generated by an ASP.NET web service/httphandler via the JavaScriptSerializer
From the sample I assume that:
1. I must format my Json data in a very specific format for the chart, so I must build my own converter?
2. The Json data must be held in a TextArea control?


Re: Working with Json

Posted: Thu Jun 08, 2017 10:34 am
by Marc

Apologies for the delay with this reply.

Re. 1. & 2.
It's not necessary that the data reside in a TextArea control. If you want to bring the data into the Chart when already committed to JScript (ie, not at chart generation time in NET), here's some information to help you format the data: ... /index.htm

Marc Meumann

Re: Working with Json

Posted: Thu Jun 08, 2017 10:42 am
by 15679888
Thank you Marc, I;ve found the samples, working through them.