- Here is the error, only thrown in IE
SCRIPT5007: Unable to get property 'getTime' of undefined or null reference
File: kendo.all.min.js, Line: 71, Column: 8937
- I'm using v 2015.3.1111
- The div containing the charts is not drawn (display: none) while generating the charts
- Here is my JS to generate the chart:
$(chartId).kendoChart({
title: {
text: data.DataSet.ChannelData[i].ChannelName
},
series: [{
name:
"Data"
,
visibleInLegend:
false
,
tooltip: {
template:
"value: #= value.y #, time: #= FormatDate(value.x) #"
,
visible:
true
},
type:
"scatterLine"
,
xField:
"Time"
,
yField:
"Value"
,
data: formattedData,
markers: {
visible:
false
}
}],
chartArea: {
width: (data.Columns == 3 ? 358 : (data.Columns == 2 ? 537 : 1074))
},
xAxis: [{
type:
"date"
,
baseUnit:
"seconds"
}],
yAxis: [{
axisCrossingValue: [-50000]
}],
pannable:
true
,
zoomable:
true
,
});