Error with 2 Charts on same page

2 posts, 0 answers
  1. Jesper
    Jesper avatar
    1 posts
    Member since:
    Jun 2014

    Posted 26 Feb Link to this post

    I have a page with 2 html chart controls on it. When I set the datasource of both charts to an empty list of objects I get this error when the charts are rendered:

     

    TypeError: this._chartObject is undefined
    b.RadHtmlChart.prototype._setSeriesPropertyAsSeriesDefaults()
     ScriptResource.axd:127
    b.RadHtmlChart.prototype._loadData()
     ScriptResource.axd:122
    b.RadHtmlChart.prototype.createChart()
     ScriptResource.axd:50
    b.RadHtmlChart.prototype.initialize()
     ScriptResource.axd:31
    Sys.Component.prototype.endUpdate()
     ScriptResource.axd:5
    Sys.Component.create()
     ScriptResource.axd:5
    <anonymous>
     dashboard.aspx:970
    Sys.EventHandlerList.prototype.getHandler/<()
     ScriptResource.axd:5
    Sys._Application.prototype._raiseInit()
     ScriptResource.axd:5
    Sys._Application.prototype.initialize()
     ScriptResource.axd:5
    b()
     ScriptResource.axd:5
    Sys._Application.prototype._domReady/a()
     ScriptResource.axd:5
     ScriptResource.axd:127:59

     

    I am using the latest version (2016.1.225.45) and I also saw the error in version (2016.1.113.45)

  2. Stamo Gochev
    Admin
    Stamo Gochev avatar
    157 posts

    Posted 01 Mar Link to this post

    Hello Jesper,

    I tried to reproduce the issue with both versions of our product using the attached page, but no JavaScript error is thrown.

    Can you modify my example or send me a page that demonstrates the problem, so I can investigate it?

    Regards,
    Stamo Gochev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top