I have a chart that uses series data (no dataSource). I also have a dropdown that has time ranges that I use to filter the data.
The chart is configured as the following:
this.chartConfiguration = { title: "Weight Chart", renderAs: "canvas", series: [ { data: dataPoints.map(dp => dp.value), field: "value", type: 'column', color: "#ff1c1c", axis: "weight", markers: { visible: false } } ], pannable: true, zoomable: false, valueAxis: [ { name: "weight", color: "#000000", title: { text: "lbs" }, labels: { format: "n" } } ], tooltip: { visible: true, format: '{0}', template: '${value} lbs' }, categoryAxis: { categories: dataPoints.map(dp => moment(dp.date).format("MM/DD/YY")), max: 15, labels: { rotation: "auto" } } };}InitialWeightChartData.png is how the chart looks like after initial page load
When drop down is selected do filtering and other stuff with the following code:
let threeMonths = moment().subtract(90, "days");let filtered = this.filterDataPointsByDateRange(this.allDataPoints, moment(), threeMonths);let weightDataPoints = this.configureWeightDataPoints(filtered);//this.chartConfiguration.dataSource.data(weightDataPoints.map(dp => dp.value));//this.chartConfiguration.series[0].data = weightDataPoints.map(dp => dp.value);//this.chartConfiguration.series[0].data = weightDataPoints.map(dp => dp.value);//this.detailsChart.options.series[0] = this.configureWeightSeriesDataPoints(filtered);this.handler(filtered, moment(), threeMonths);this.detailsChart.options.categoryAxis = this.chartConfiguration.categoryAxis;this.detailsChart.options.series[0].data = weightDataPoints.map(dp => dp.value); // this.chartConfiguration.series;//this.detailsChart.dataSource.read();this.detailsChart.refresh()InitialWeightChartAfterFilteringDatesHaveChanged.png is how it looks after the refresh. Notice the dates have changed by
this.detailsChart.options.categoryAxis = this.chartConfiguration.categoryAxis;
this.detailsChart.options.series[0].data = weightDataPoints.map(dp => dp.value); seems to be the problematic line
I've also done this.detailsChart.options.series = this.chartConfiguration.series; which doesn't worker either
the line this.handler(filtered, moment(), threeMonths) actually goes through and configures the chart options again as shown in the first code block
the below code appears to work as can seen by the second screen shot....the dates have changed
1.categoryAxis: {2. categories: dataPoints.map(dp => moment(dp.date).format("MM/DD/YY")),3. max: 15,4. labels: {5. rotation: "auto"6. }Thanks

Hello!
I’m using the kendo Gantt as an angular directive and I need to define a range of week days to be displayed on my Gantt. Example: I want to display always from Wednesday to Saturday of the week, for example.
I know that If I set the properties showWorkDays: true, It will be displaying days by default Monday to Friday (excluding Saturday and Sunday as weekends).
But the problem is, I just want to
display an specific range of weekdays,
Starting by, for example, Wednesday and ending on
Saturday ( not Monday to Friday). I saw that in JSP, it’s possible to use workDayStart and workWeekEnd properties to define this range,
based on weekday index.
And I saw also here in the forum, that is possible to set that start day of the week, doing this : kendo.culture().calendar.firstDay = 3 before the Gantt loads (which is working fine for me), but I couldn’t find nothing to set the lastDay of the week.
The question is: how do I set the lastDay? I tried different things and nothing worked. I need to define something similar to the workDayStart and workWeekEnd to the gantt angular directive.
Thank you
I am using chart type bar and pie. When the theme is the default theme (series are not flat but has the glowing effect) the url is entered into the fill attribute.
If the url has query param with the char '(' all series become black.
See attached screenshot.
Please advice
Hello,
We are looking for a way to do a tooltip on the drop down list so we can have additional information on an item. Is this possible?
Has anyone has issues with kendo js blocking the UI thread on the browser?
I have a loading indicator that I show until the grid is ready to load. When the browser starts to load "kendo.web.min.js" it locks the UI thread and the gif stops briefly until the browser loads the js file (usually around 1.5 seconds for the 2mb file).
It's not that big of a deal but when the gif freezes it looks like garbage.
Any ideas?
Hello,
I was using the below code to get the empty cells with no events in it .But not working exactly.
http://dojo.telerik.com/oguzU
If i even select an empty cell it says it has event in it.
Can i get a solution for this.
Hi,
I am looking for a Dropdown list with a tree view(Multi level). Please let me know how can we achieve this in Kendo.
Thanks.
Thanks
Asmita Singh

Hello,
I have modified this example working with slot template:
The modification was to add an input into the slot template, so the slot template looks like this:
"<div style='background:#=getColorBasedOnHour(date)#; height: 100%;width: 100%;'><input/></div>"When I click in the input, it receives focus. However, when I click somewhere else in the scheduler, the input is still focused. To unfocus the input, I have to click outside the area of the scheduler.
I want to unfocus the input when I click somewhere inside the scheduler. Is it possible?
Thanks for answers,
Boris