Hi,
I am getting an error on the pie chart. I am simply using array to set the datasource:
Here's the code:
$("#chartSales").kendoChart({
chartArea: {
height: 400
},
legend: { position: "bottom" },
title: { text: '<%=GetLocalResourceString("lbl_Sales")%>', font: "26px Arial,Helvetica,sans-serif" },
seriesClick: onSeriesClick,
dataSource: {
data: seriesArraySales
},
seriesDefaults: {
type: 'pie',
labels: {
visible: false
},
autoFit: true,
pie: { color: "red" }
},
series: [{ categoryField: "name", field: "amount"}],
seriesColors: ["#03a9f4", "#ff9800", "#fad84a", "#4caf50", "#003f5c", "#58508d", "#bc5090", "#ff6361", "#ffa600", "#488f31", "#83af70", "#bad0af", "#f0b8b8", "#9fb494", "#c6c6c6"],
tooltip: {
visible: true,
template: "${ category } - ${ value }"
},
dataBound: function (e) {
var view = e.sender.dataSource.view();
$(".overlay").toggle(view.length === 0);
}
});
Can someone please help.
using libraries : jquery-ui-1.9.1.custom.min.js
jquery.ui.widget.js
jquery.min.js
jquery.min.js
Thanks!
Nav
I have a timepicker field. The built in required rule is ignored since I am using a dateInput field for the masking. When the user types something wrong in the field such as "1:mm PM" (meaning they just typed a 1 in the field) it throws an error that says "A time is required". The console logs out "null" as the value of the time picker field. When the user then goes and types in the 00 so it reads "1:00 PM" it still says "A time is required" and still logs out "null" as the value. If the user then changes anything in the field to some other valid time the message goes away an it validates. How do I fix this?
Here is a Dojo demonstrating the issue:
After trying to get my code to work for 2 hours now, I've found the source, which is explained exactly as SO question from years back: https://stackoverflow.com/questions/26723566/kendoui-datasource-schema-errors-not-firing-when-the-server-returns-400
Basically comes down to having a 4xx request (tried with 400 and 422), then the function inside errors won't be called and I can't properly propagate this to the error callback.
How should I approach this? It works fine on a 200 request, but that would be using the wrong http status code for the response.

Hi,
Is there a way we can add custom images(blob) to Kendo Upload list using jQuery (Before upload to the server)?
hi,
The calendar cannot be clicked. There is' class = "k-state-disabled" on the td label of the calendar.
thanks,
Hi All,
I want to add custom button to Kendo Upload, which we can add images to list from clipboard.
Thanks,
Supun
After changing the data source on a kendo dropdownlist for jquery I am seeing the change event fire upon clicking away from the box without actually selecting anything. Here is the example:
To reproduce the error do the following:
How do I work around this?

Hi,
I would like to be able to toggle planned vs actual view on gantt outside of gantt toolbar as I have a few other steps and conditions to fulfill before I show the data.
Is there any method for doing this or any way you would recommend?
Thank you and regards,
Vedad

Please open Dialog form.
How can I change title for dialog opened with kendo.confirm(... ?
May I suggest that you extend kendo.confirm method with optional second parameter for title.