01.$("#testi").click(function() {02. var data=DS.data();03. for (var i=0; i<data.length; i++) {04. var row = DS.at(i);05. if(row.fi==row.en) {06. row.set("ok", true);07. } else {08. row.set("ok", false);09. }10. }11.});For my pie chart, I see that I can set startAngle, but I don't see where I can set the direction of the pie pieces. I would like pie pieces to be added counter-clockwise. Currently, they are added clockwise.
FYI, I am also setting a sort on the data, so the largest is always first. Right now the largest is taking the 12-3pm pie piece, the second largest taking 3-5pm, etc. I want them to go 12-9pm, 9-7pm.
Thanks,
--Ed
The crosshairs in line charts and sparklines do not disappear reliably. This behavior is apparent even on the demo page for sparklines. The result is that there is an extra vertical bar that is stuck on the chart. Hovering over the chart again sometimes fixes the issue.
This behavior can be confusing to a user if the crosshair remains stuck at the end of the chart and the color of the lines look similar, it may look like the data drops off at the end.
In kendo.all.d.ts there is an interface for the AutoComplete select event args:
interface AutoCompleteSelectEvent extends AutoCompleteEvent {
item?: JQuery;
}
In my code this will generate a Typescript error about not matching the AutoCompleteOptions interface:
$("#Data_Part_Description").kendoAutoComplete({
select: (e) => { }
}
What is weird is that if I rename item in AutoCompleteSelectEvent to anything other than item it works.
interface AutoCompleteSelectEvent extends AutoCompleteEvent {
i?: JQuery;
}
.DataSource(dataSource => dataSource .Ajax() .Events(events => events.Error("errorHandler") .Change("changeDS") )... .Update(update => update.Action("Update", "xxx", new { ... }))...function changeDS(e) { console.log(e.action);}