Your piechart remote data project not working correctly cross-domain?

2 posts, 1 answers
  1. Vaughn Myers
    Vaughn Myers avatar
    5 posts
    Member since:
    Apr 2006

    Posted 22 Jul 2013 Link to this post

    Your example of pie chart remote data binding works great when the web service is hosted in the same place as the HTML, but it seems to be erratic if the web service is hosted somewhere else.

    What I did was create a WCF service that returns a JSON object exactly like your example web service, and then call it with your exact HTML.

    Reproducing the error is simple:  take  the pie chart remote data binding example and change the web service address so it's hosted in a domain different to the HTML. Obviously, you need to change to JSONP and add the callback function.

    Thanks.
  2. Answer
    Vaughn Myers
    Vaughn Myers avatar
    5 posts
    Member since:
    Apr 2006

    Posted 22 Jul 2013 Link to this post

    Response is here: http://www.kendoui.com/forums/kendo-ui-dataviz/sparkline/sparklines-very-erratic-when-there-are-many-in-one-page.aspx

    The solution is to call make each call with a different callback name.
Back to Top