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 ]
Hello,
We have an issue where encoded characters (for example: ö) in the chart category field cause the label to be misaligned.
You can see this in the following dojo example here: https://dojo.telerik.com/aMEYaziy
This dojo is based on your example (https://demos.telerik.com/kendo-ui/bar-charts/index) but I've added an encoded 'รถ' character to the label for Februrary.
In our application we are passing our the labels down via ajax, and defining the field in series.categoryField (as oposed to the hard-coded values in your demo and dojo), but the effect is the same.
Please let us know what the problem is and how we can resolve it.
Thank you,
George
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?
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.
Per version "@types/kendo-ui": "2019.3.0" , typings chart label margins and padding (ChartLegendMargin, ChartLegendPadding, ChartLegendLabelsMargin, ChartCategoryAxisItemTitleMargin,... ) don't accept number values, only a dictionary with top, bottom, left and right.
Numbers are correct values for these properties, as shown on https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart/configuration/series.labels.padding
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.