This is a migrated thread and some comments may be shown as answers.

Error with 2 Charts on same page

1 Answer 117 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Jesper
Top achievements
Rank 1
Jesper asked on 26 Feb 2016, 01:36 PM

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)

1 Answer, 1 is accepted

Sort by
0
Stamo Gochev
Telerik team
answered on 02 Mar 2016, 05:58 AM
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
Tags
Chart (HTML5)
Asked by
Jesper
Top achievements
Rank 1
Answers by
Stamo Gochev
Telerik team
Share this question
or