Unplanned
Last Updated: 05 May 2025 11:16 by ADMIN
Created by: Alexa
Comments: 1
Category: Chart
Type: Bug Report
0

Hello,

I noticed in some of my charts that when I call saveAsPDF, the series.name seems to be just a literal string of the series.name option, even when I use a template.

Please see the attached dojo to reproduce (I based this dojo off of the Chart API series.name as template dojo example).

https://dojo.telerik.com/ZgsUVIjM

I noticed that this behavior starts in 2024.4.1112. Prior versions evaluated the template for the PDF.

I do have a workaround for this, which is included in comments in my dojo. I just exportPDF and then use kendo.saveAs.

Additionally, I noticed that the bars in the chart are at 0 in the PDF. I'm not worrying about that at this time, I'm exclusively interested in the series.name template being evaluated on saveAsPDF.

Here are some screenshots of the dojo and resulting pdf for v2024.4.1112:

 

 

Here is a screenshot of the pdf when the same dojo is run on 2024.3.1015:

Please let me know if you'd rather I paste the dojo code directly into this ticket, or attach as a code file.

Thanks!

-Alexa

Unplanned
Last Updated: 15 Jan 2025 09:58 by Bhumi

Bug report

Drawing API  Tooltip for categoryAxis Chart labels do not show with v.2024.4.1112

Reproduction of the problem
https://docs.telerik.com/kendo-ui/knowledge-base/tooltip-for-category-axis-labels

Expected/desired behavior
The Charts should be exported to the selected file format

The issue is a regression starting with 2024.4.1112
Environment

jQuery: 3.4.1

Kendo UI version: 2024.4.1112
Browser: [all]

Unplanned
Last Updated: 20 Aug 2024 07:59 by ADMIN
Scheduled for 2024 Q4 (11 Oct)
Created by: Michael D
Comments: 4
Category: Chart
Type: Bug Report
1

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)

Unplanned
Last Updated: 25 Mar 2024 08:21 by Admin

Bug Report

When the zIndex is set the the chart marker in the legend is misaligned.

Reproduction of the problem

  1. Open the Dojo - https://dojo.telerik.com/@NeliK/OCEtoRuz

Current behavior

The line and the marker in the legend are misaligned.
image

Expected/desired behavior

The line and the marker should be aligned even when the zindex is set.
image

Environment

  • Kendo UI version: 2024.1.319
  • Browser: [all ]
Unplanned
Last Updated: 18 Mar 2024 09:40 by ADMIN

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".

Unplanned
Last Updated: 15 Jan 2024 11:45 by Sam

Bug report

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.

Reproduction of the problem

  1. Open the Dojo example - https://dojo.telerik.com/@NeliKondova/UVIVaBoH
  2. Hover the legend

Current behavior

If you try to move the cursor slightly the legendItemHover event is fired multiple times and the legendItemLeave event is never called.

Expected/desired behavior

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.

Workaround - Check for visible/not visible series in the series._options

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

Environment

  • Kendo UI version: 2023.3.1114
  • Browser: [all ]
Unplanned
Last Updated: 09 Jan 2024 14:46 by Gal

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.

Unplanned
Last Updated: 14 Nov 2023 09:56 by Lukasz

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 ]

Unplanned
Last Updated: 12 Oct 2023 12:17 by Lukasz

Bug report

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.

Reproduction of the problem

  1. Open the Dojo - https://dojo.telerik.com/@NeliKondova/eQiKUqOB
  2. Press the Shift key and select a range. Try the min and max of the range to be almost the same.

Current behavior

Uncaught TypeError: Cannot read properties of undefined (reading 'min') error is thrown in the console.
screencast - https://somup.com/c06lloBaw2

Expected/desired behavior

There should be no error in the browsers console, no matter of the selected range.

Environment

  • Kendo UI version: 2023.3.1010
  • Browser: [all ]
Unplanned
Last Updated: 13 Jun 2022 11:49 by Sanjoy

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.

Unplanned
Last Updated: 14 Jan 2022 07:27 by ADMIN

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]

Unplanned
Last Updated: 06 Aug 2021 07:32 by ADMIN

### Bug report

When the title of the legend in the Kendo UI Chart widget is longer, the labels are not centered as per the default legend alignment.

### Reproduction of the problem

1) Create a Chart widget and set the title of the legend to "If the title is longer than the series names is not centered anymore is left aligned";

2) The title is centered, but the labels are aligned to the left.

A Dojo sample for reproduction: https://dojo.telerik.com/UBoTOBID


### Expected/desired behavior

The labels of the legend should be centered below the title.


### Environment

* **Kendo UI version: 2021.2.616
* **jQuery version: 1.12.4
* **Browser: [all]

Unplanned
Last Updated: 03 Feb 2020 11:35 by ADMIN

Hi,

As you can see in this dojo https://dojo.telerik.com/UTuPeMUw, there is a problem with the grid lines when I set the reverse property to true and the max property to 270 (the grid lines of angles 30, 60 and 90 are hidden).

Thank you