I get javaScript error when my model return nullable Int. I use MissingValues(ChartLineMissingValues.Gap) but this didn't fix the issue. I really don't want to show the line when there is no values. If I change my code to return zero it will show the Line at zero. this is not what I am looking for
Unhandled exception at line 35, column 17304 in http://localhost:28123/Scripts/kendo/2013.2.716/kendo.all.min.js
0x800a138f - JavaScript runtime error: Unable to get property 'value' of undefined or null reference
Unhandled exception at line 35, column 17304 in http://localhost:28123/Scripts/kendo/2013.2.716/kendo.all.min.js
0x800a138f - JavaScript runtime error: Unable to get property 'value' of undefined or null reference
7 Answers, 1 is accepted
0
Hi Sharif,
Hristo Germanov
Telerik
Could you please send me a running sample project reproducing this issue? Thus I will give all my best to find a quick solution of your requirements.
Regards,Hristo Germanov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Suresh
Top achievements
Rank 1
answered on 05 Sep 2013, 02:43 PM
Hi,
I am also having the same issue. Following is the code snippet.
Can you please give us a fix or work-around for this issue.
Thanks,
Suresh
I am also having the same issue. Following is the code snippet.
List<
double
?> chartData = new List<
double
?>(new double?[] { null, null, null, null });
List<
DateTime
> chartTime = new List<
DateTime
>(new DateTime[] { DateTime.Now.Date,DateTime.Now.Date.AddDays(1),DateTime.Now.Date.AddDays(2),DateTime.Now.Date.AddDays(3)});
var chart = Html.Kendo().Chart();
chart.Name("MissingGap");
chart.SeriesDefaults(seriesDefaults => seriesDefaults.Line());
//Add series
chart.Series(p =>
{
p.Line(chartData).MissingValues(ChartLineMissingValues.Interpolate).Name("Stock Market");
});
chart.CategoryAxis(axis => axis.Date().BaseUnit(ChartAxisBaseUnit.Days).Categories(chartTime));
chart.ValueAxis(axis => axis.Numeric().Labels(labels => labels.Format("{0}")));
chart.Render();
Thanks,
Suresh
0
Hello Suresh,
Hristo Germanov
Telerik
Could you please update to the latest internal build and tell me if you have any problems with it?
Regards,Hristo Germanov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Suresh
Top achievements
Rank 1
answered on 12 Sep 2013, 12:26 PM
Hi Hristo,
This is working with the latest internal build. Thank you.
By the way, do you know when will be the next official build, which will help me in deciding whether to go with this fix or not.
Thanks,
Suresh
This is working with the latest internal build. Thank you.
By the way, do you know when will be the next official build, which will help me in deciding whether to go with this fix or not.
Thanks,
Suresh
0
Hi Suresh,
Hristo Germanov
Telerik
The next official release is Q2 SP1 of Kendo UI and it is scheduled for the middle of the next week.
Regards,Hristo Germanov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Christopher
Top achievements
Rank 1
answered on 04 Dec 2013, 03:00 PM
I am having this issue with v.2013.3.1119.340
0
Hello Christopher,
Could you please send me a running sample project reproducing this issue? Thus I will give all my best to find a quick solution of your requirements.
Regards,
Hristo Germanov
Telerik
Could you please send me a running sample project reproducing this issue? Thus I will give all my best to find a quick solution of your requirements.
Regards,
Hristo Germanov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!