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]
We are using asp mvc, but the but it is completely reproduceable with only jquery as shown in the file attached.
When using a scatter chart with a date axis any zooming with the mouse wheel will crash most if not all browsers.
At the very least current versions of chrome (97.0.4692.99), firefox (96.0.1) and edge (97.0.1072.62).
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.
Hi Team,
I would like to request the Bar/Column charts to be able to be configured with a Target Line similar to the bullet charts.
Thank you!
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.
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.
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 ]
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.
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
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.
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.
Dear support team,
we are facing an issue when trying to use "setOptions" to update a Chart.
It works fine when using a normal bar chart but seems to be broken when using stacked bars:
https://dojo.telerik.com/AKEWaLIR
Are we doing something wrong or is this a bug?
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]