I have a problem with Kendo UI for ASP.NET MVC, below my soure code :
<%= Html.Kendo().Chart(Of MyNamespace.DateIntPair) _
.Name(
"chart"
) _
.Legend(
False
) _
.DataSource(
Function
(ds) ds.Read(
Function
(read) read.Action(
"GetStatsUniqueViews"
,
"Home"
,
New
With
{.id = RouteData.Values(
"id"
)}))) _
.Series(
Function
(series) series.Area(
Function
(model) model.IntValue)) _
.CategoryAxis( _
Function
(axis) axis.Categories(
Function
(model) model.DateValue).
Date
().BaseUnit(ChartAxisBaseUnit.Days)))
%>
When i start the web page, i have this error :
Object reference not set to an instance of an object
When I remove .Date().BaseUnit(ChartAxisBaseUnit.Days, it's works.
Any ideas ?
Thank you in advance.
5 Answers, 1 is accepted
Thank you for bringing our attention to this problem. I reproduced the exception on my side and we will fix this for one of the next internal builds. I updated your Telerik points for the involvement.
Regards,Daniel
the Telerik team
I am glad to inform you that the problem has already been fixed. The changes will be applied in the next service pack which is available for customers only and in the next official releases.
Regards,Daniel
the Telerik team
I'm having the same problem.
How can I download the update available?
When I apply BaseUnit.Days Google Chrome crashes.
Thank you.
Rafael Tomitão
The aforementioned fix is included in the latest official release which is available for download from your account. However, I am not sure if the issue is the same. Is there an exception thrown on the server or the problem occurs when the chart is rendered in the browser? If an exception is not thrown, then could you provide a runnable sample that reproduces the problem or at least the code that you are using so I can check the setup?
Regards,Daniel
Telerik