HtmlChart and a List DataSource

2 posts, 0 answers
  1. Dave
    Dave avatar
    32 posts
    Member since:
    Feb 2008

    Posted 16 Oct 2012 Link to this post

    just trying the HtmlChart from Version 2012.2.724.35 using a List DataSource and the sample code from the HtmlChart List demo.  While running the control in IE9, discovered this javascript error 

    The Java Debug returns an error

    Expected ']' at line



    [-]  this._dataSource "[[{\"MarketShare2010\":0.19,\"MarketShare2011\":0.45},{\"MarketShare2010\":0.19,\"MarketShare2011\":0.45},{\"MarketShare2010\":0.19,\"MarketShare2011\":0.45},{\"MarketShare2010\":0.19,\"MarketShare2011\":0.45},{\"MarketShare2010\":0.19,\"MarketShare2011\":0.45},{\"MarketShare2010\":0.19,\"MarketShare2011\":0.45},{\"MarketShare2010\":0.19,\"MarketShare2011\":0.45}]{\"MarketShare2010\":0.19,\"MarketShare2011\":0.45},{\"MarketShare2010\":0.19,\"MarketShare2011\":0.45},{\"MarketShare2010\":0.19,\"MarketShare2011\":0.45},{\"MarketShare2010\":0.19,\"MarketShare2011\":0.45},{\"MarketShare2010\":0.19,\"MarketShare2011\":0.45},{\"MarketShare2010\":0.19,\"MarketShare2011\":0.45},{\"MarketShare2010\":0.19,\"MarketShare2011\":0.45}]" 

    It appears to be malformed. Any suggestions are appreciated
    Cheers

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3596 posts

    Posted 19 Oct 2012 Link to this post

    Hi Dave,

    There were some issues with certain cultures that had commas for decimal signs. They have been fixed with later versions of the control, so I advise that you upgrade to the latest (Q3 2012 currently, the Q2 2012 SP2 also has this fix) and test again.


    All the best,
    Marin Bratanov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top