Bug Report
The diagram.exportImage() throws an error with v.2024.4.1112
"Uncaught TypeError: diagram.exportImage(...).done is not a function"
Regression with 2024.4.1112.
Reproduction of the problem
Run the example from the following API: https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/diagram/methods/exportimage
Current behavior
The export is not working.
Expected behavior
No error shall be present and image must be generated.
Environment
Kendo UI version: 2024.4.1112
jQuery version: x.y
Browser: [all]
Hi Team,
Currently, the Kendo UI Chart's legend labels and Drawing API offers font property, which includes style, size and family only, as described in CSS documentation. Needs underline and strikethrough, which are considered "decorations" on the font in CSS, but seems like since these attributes exist already in editor, the code is around there somewhere. Would like to see either font include support for those attributes or another "decorations" attribution (or maybe underline attribute and strikethrough attributes if that's easier for people to understand).
Thank you!
Charts support keyboard navigation. Currently, the focus indicator is rendered as a thick black border around the different chart items. Is there any way to customize it? We usually use dashed red borders throughout our application to indicate focused elements and it would be great to stay consistent.
I found this article which leverages the highlight and saw that the series.highlight.toggle setting allows modifying the highlight's visual element, but options are very limited and do not allow sufficient customization.
Chart Series provide a toggleVisibility() method that allows to hide some data points of the series (or all of them) from the user. However, setting the first series to invisible breaks the chart's keyboard navigation.
This DOJO demonstrates the behavior: For the sake of simplicity, the first of the two series is toggled invisible right after the chart is rendered, but this may happen at any other point in time. Click anywhere in the DOJO's output area. Press TAB to focus the chart. The following error is logged in the browser console:
Uncaught TypeError: Cannot read properties of undefined (reading 'options') at init.focusVisual (kendo.all.min.js:9:4230266) at init._focusElement (kendo.all.min.js:9:4410242) at init._focusFirstPoint (kendo.all.min.js:9:4409100) at init._focus (kendo.all.min.js:9:4407358)
In Excel, there is an option for Sparkline to set a marker for the highest point, lowest point, first point, last point, and negative point.
I know that it is possible to customize the appearance of the markers using the markers.visual. However, I would like to have the option as a built-in configuration to ensure better performance.
When the zIndex is set the the chart marker in the legend is misaligned.
The line and the marker in the legend are misaligned.
The line and the marker should be aligned even when the zindex is set.
Hi Team,
I would like to see a no-data-template be included for the Kendo UI Chart when there is no data.
Thank you!
Setting the visibility using the toggleVisibility method in the legendItemHover event leads to legendItemHover being triggered multiple times. Thus, the legendItemLeave method is never called.
If you try to move the cursor slightly the legendItemHover event is fired multiple times and the legendItemLeave event is never called.
The legendItemHover should be fired a single time when the mouse enters the legend and also the legendItemLeave should be fired even if the visibility of the legend is set through the toggleVisibility method.
function onLegendItemHover(e){
e.preventDefault();
console.log("Hover");
let chart = e.sender;
let seriesIndex = e.seriesIndex;
for(let i = 0; i < chart.options.series.length; i++){
if(i !== seriesIndex){
let series = chart.findSeriesByIndex(i);
if (series._options.visible) {
chart.findSeriesByIndex(i).toggleVisibility(false);
}
}
}
}
function onLegendItemLeave(e){
e.preventDefault();
let chart = e.sender;
console.log("Leave");
for(let i = 0; i < chart.options.series.length; i++){
let series = chart.findSeriesByIndex(i);
if (!series._options.visible) {
chart.findSeriesByIndex(i).toggleVisibility(true);
}
}
}
Dojo with workaround - https://dojo.telerik.com/@NeliKondova/EpOYadid
I need that the point will be in the start of chart (like justified property behavior) and the line style of "rangeArea" type property will be "step".
In this example the point in the start and the justified property works as expected.
https://dojo.telerik.com/IZuXOyAZ
but in the second example, when I added property: line: {style: "step"} to "rangeArea" type, the point start in the middle of labels, and justified property not working.
https://dojo.telerik.com/ILOxehAB/3
So I need that my chart will be like the second example, but the start point of the line will be like the first example.
Currently each of the labels for the:
Provide their own "font" property setting. However, it would be beneficial if there is a default configuration that can apply a font for each of the aforementioned Chart Label compartments.
Bug report
Chart with log valueAxis allows to deem zoom and throws an error: Uncaught Error: Non positive values cannot be used for a logarithmic axis
Reproduction of the problem
Dojo: https://dojo.telerik.com/OCuziYOr
Expected/desired behavior
The Chart shall not allow this deep zoom
Environment
Kendo UI version:[all]
Browser: [all ]
When the user tries to zoom the Chart and a zero range is selected, an error (Uncaught TypeError: Cannot read properties of undefined (reading 'min')) is thrown in the browsers console.
Shift
key and select a range. Try the min and max of the range to be almost the same.Uncaught TypeError: Cannot read properties of undefined (reading 'min') error is thrown in the console.
screencast - https://somup.com/c06lloBaw2
There should be no error in the browsers console, no matter of the selected range.
Hi Team,
I would like to request the functionality to plot a chart with panes side-by-side instead of only top to bottom.
Thank you!
In case you are using a chart with the following configuration:
$("#chart").kendoChart({
series: [{
type: "radarLine",
missingValues: "gap",
data: [1, null, null, null, 5]
}]
});
There is no line between the last and the first data point of the series.
But when the 2nd and 4th data points are set as well, this connection is added:
$("#chart").kendoChart({
series: [{
type: "radarLine",
missingValues: "gap",
data: [1, 3, null, 3, 5]
}]
});
Expected behaviour: As the chart displays a "circle", all data points next to each other should be connected in case they are having a value.
The same issue can be seen in this DOJO, where the fifth data point is not connected to the rest of the points. This only happens if "missingValues" is set to "gap".
Hi Team,
I would like to request the Kendo UI Chart to be able to use the defined culture for localization. Currently in my application, the date is showing as English formatting(1/30) instead of German(30.1) unless I specify the categoryAxis.labels.dateFormats configuration as seen in this Dojo.
Maybe include a culture property like the theme property?
Thank you for the consideration!
The Kendo Chart supports the baseUnit: "fit" property that displays as many categories as possible. This is useful when there are thousands of data points across many years.
When the data is "fit", the last date may not be displayed(because of the aggregation). I want to have the ability to display the last data point and date(category) as standalone and not a part of the aggregate.
The problem can be seen in the following Dojo:
https://dojo.telerik.com/uQeduJAG
When the Donut Chart has a section with value = 0, the color of that point is displayed inside the donut.
Bug report
ValueAxis.labels.template function invokes twice when Chart is bound to data source
Reproduction of the problem
Check the following Dojo: https://dojo.telerik.com/oJUGixUy/4
Inspect the console
Expected/desired behavior
ValueAxis labels template function shall invoke just one time.
Corner case:
If ValueAxis.labels.font is specified template function is invoked correctly only once.
valueAxis: {
labels: {
// With the font commented out, chart labels get resolved twice
font: '11px Arial, Helvetica, sans-serif',
template: shortLabels
}
},
Environment
**Kendo UI version: [all]
**jQuery version: [all]
**Browser: [all]
Hi Team,
I'd like to request the CategoryAxis.Justified property be supported for other series types of the Kendo UI Chart. In my case, this would be beneficial since I have a combination of a line and box plot Kendo UI Chart.
Thank you!
Hi Team,
I'd like to request an easy, built-in way in which a user can split grouped data of a Kendo UI Chart by a specific datafield. For example, let's say I have 2 groups, and each had their own series to be utilized. But those series would have their own series by another dataField. I'd like to show the root group, but display the child series.
Thank you!