LineSeries requires at minimum 3 data to draw a line serie

1 Answer 140 Views
Chart
Sébastien
Top achievements
Rank 2
Iron
Iron
Iron
Sébastien asked on 20 Jan 2023, 09:17 PM
Hi,

This is a bug in my opinion, this a line can be drawn from 2 points.

While this will probably never fixed in the UWP project, I'm 99% sure the bug is in the WinUI project too since most of the rendering code is surely shared.

To repro the bug, just comment the 3rd data in the MainPage.xaml.cs file.

Sébastien

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 23 Jan 2023, 10:56 AM | edited on 23 Jan 2023, 10:57 AM

Hi Sebastien,

I have reproduced the behavior and logged an issue on your behalf. You can track its progress here: https://feedback.telerik.com/uwp/1594645-chart-lineseries-is-not-drawn-with-2-data-points 

I cannot suggest a workaround when two data points are used.

Regards,
Didi
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Sébastien
Top achievements
Rank 2
Iron
Iron
Iron
commented on 23 Jan 2023, 04:02 PM

Hi,

I found a workaround. Duplicating the last point does the trick.

Sébastien
Tags
Chart
Asked by
Sébastien
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Didi
Telerik team
Share this question
or