Hi,
I have an issue in the current Kendo 2014.3.1411 with the my sparklines getting clipped when there are data points of negative value and the max value overall is zero. Please see this options object:
{
"data":[-1,0,0,0],
"chartArea":{
"background":"",
"width":125
},
"tooltip":{
"visible":false
},
"axisDefaults":{
"visible":false,
"majorGridLines":{
"visible":false
}
},
"categoryAxis":{
"crosshair":{
"visible":false
}
},
"seriesDefaults":{
"line":{
"color":"#5889AD",
"width":1
},
"markers":{
"visible":true,
"size":1,
"border":{
"color":"#d52b1e",
"width":2
}
}
}
As you can see this is not a great set of data but is something our application is capable of trying to display. Even if you change that -1 to be say -100 the rendering will still be clipped. If you make the values that are 0 to be say 0.1 the rendering works fine.
I believe this to be a defect and would like to bring it to your attention and others who may have the same problem. I have worked around ours by detecting negative values and changing the zeros to be slightly greater than zero.
Thanks,
Rob.
I have an issue in the current Kendo 2014.3.1411 with the my sparklines getting clipped when there are data points of negative value and the max value overall is zero. Please see this options object:
{
"data":[-1,0,0,0],
"chartArea":{
"background":"",
"width":125
},
"tooltip":{
"visible":false
},
"axisDefaults":{
"visible":false,
"majorGridLines":{
"visible":false
}
},
"categoryAxis":{
"crosshair":{
"visible":false
}
},
"seriesDefaults":{
"line":{
"color":"#5889AD",
"width":1
},
"markers":{
"visible":true,
"size":1,
"border":{
"color":"#d52b1e",
"width":2
}
}
}
As you can see this is not a great set of data but is something our application is capable of trying to display. Even if you change that -1 to be say -100 the rendering will still be clipped. If you make the values that are 0 to be say 0.1 the rendering works fine.
I believe this to be a defect and would like to bring it to your attention and others who may have the same problem. I have worked around ours by detecting negative values and changing the zeros to be slightly greater than zero.
Thanks,
Rob.