
(this question was originally asked on stackOverflow https://stackoverflow.com/questions/57198635)
I want to limit the number of labels in the categoryAxis of my kendo chart.
So far I've calculated an automatic step from the number of data points and the width of the chart and it's worked great. But I'm starting to receive some data that triggers Kendo's automatic date label format switch to minutes and now I have 60 times more labels than I should, which creates huge amounts of lag (and makes the chart unreadable).
I've looked into setting a maxDateGroup, but that actually reduces the number of categories, thus ignoring some of the data.
I found a way to get the number of labels on the forums :
```
// get reference to the chart widget
var chart = $("#chart").data("kendoChart");
// get the categories length
chart._plotArea.categoryAxis.children.length
```
But it requires to draw the chart first, then read the property, then adjust accordingly and redraw the chart. Which isn't exactly ideal.
So I'm wondering if there is a way to set a max number of labels, or maybe limit labels to 1 per category ? Or any other trick-shot really :)
Note : this automatic switch works great for data that actually is recorded every minutes, but the series that's causing me problems is recorded every 30 minutes. Maybe there is some workaround here but I can't recall where I saw how to fiddle with these properties.
When we call Kendorangepicker, it enables 2 input fields - start and end dates. Is it possible to open kendorangepicker from single input field and once the ranges are selected, dates should return to the input field like 01-01-2019 - 20-09-2019.
Thanks,
Saravana MS
function OnError(e) { if (e.errors) { var message = ""; // Create a message containing all errors. $.each(e.errors, function (key, value) { if ('errors' in value) { $.each(value.errors, function () { message += this + "\n"; }); } }); // Display the message viewModel.set("error", message); errorWnd.center().open(); var grid = $("#Promotions").data("kendoGrid"); grid.cancelChanges(); } }var grid = $("#Promotions").data("kendoGrid");//reference the grid's name here, instead of '#Promotions'Hi,
Here is the example of grid that I am trying - https://dojo.telerik.com/IsoDUruR/4. I want to remove the dirty flag once save button is clicked. However, it doesnt work. Any idea?
Thanks!


Hi Team,
Am using kendo chunksave for folder upload, its working perfectly fine in local & server.
We tried to move the same piece of code to another server . but its returning the response code 302
Its suppose to get called multiple times based on number of files. but for some reason in our new server , only the first call is happening & the rest of the process is aborted due to the response code 302.
observations
1. response code
2. content type - in text/html , where its supposed to be application/json
shared both success & error logs,
