[Solved] HtmlCharts empty with InvokeLoadDate = AfterPageLoad

1 Answer 41 Views
Chart (HTML5)
Fit2Page
Top achievements
Rank 3
Bronze
Bronze
Iron
Fit2Page asked on 07 Oct 2026, 08:14 AM

Hi,

 

I have three Charts on a page with Stored Procedures as datasource and:

 

rc_pumppower.InvokeLoadData = HtmlChart.LoadDataInvocation.AfterPageLoad

Two of the charts end up empty, one is OK when accessing the page.

What could be causing this?

 

Thank,

Marc

 

1 Answer, 1 is accepted

Sort by
0
Vasko
Telerik team
answered on 09 Oct 2026, 07:39 AM

Hi Marc,

When InvokeLoadData is set to AfterPageLoad, each RadHtmlChart loads through a separate asynchronous callback after the page is rendered.
Because of that, one chart can render correctly while others remain empty if their callback data requests fail or return unusable data.

The most common causes are mismatched field names (DataFieldY / DataLabelsField), non-numeric values returned for DataFieldY, or stored procedures returning no rows due to filters.

For RadHtmlChart, numeric series fields should come from numeric SQL types (int, decimal, etc.), not string values.
A runnable Northwind sample with three charts and stored-procedure data sources confirms this works when schema and types are consistent across all procedures.

As a quick diagnostic, temporarily set InvokeLoadData to OnPageLoad; if charts then render, the issue is specifically in the async callback stage.

Regards,
Vasko
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources! 
Tags
Chart (HTML5)
Asked by
Fit2Page
Top achievements
Rank 3
Bronze
Bronze
Iron
Answers by
Vasko
Telerik team
Share this question
or