This is a migrated thread and some comments may be shown as answers.

Single point LineSeries is rendered correctly first time but incorrectly after you add and then remove a point

2 Answers 8 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alex
Top achievements
Rank 1
Alex asked on 25 Mar 2014, 04:40 PM
   Hi,
   If you bind a single point collection to the LineSeries it displays an empty chart area which in understandable, there is no second point to draw the line to but if you add another point to the bound ObservableCollection and then remove it it displays a line between two points first (so far so good) but then after you remove the added point and you have only a single point in the collection again it still displays the last drawn line.
   Is there a fix for this situation or workaround?

Thank you,
Alex

2 Answers, 1 is accepted

Sort by
0
Alex
Top achievements
Rank 1
answered on 03 Apr 2014, 01:14 PM
   Does anybody have any ideas?
0
Ivaylo Gergov
Telerik team
answered on 08 Apr 2014, 10:49 AM
Hello,

I tried to reproduce this scenario but with no avail. I have attached a project that demonstrates this approach and everything works as expected on our side. Could you please take a look and modify it in order to reproduce the issue?

Regards,
Ivaylo Gergov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Chart
Asked by
Alex
Top achievements
Rank 1
Answers by
Alex
Top achievements
Rank 1
Ivaylo Gergov
Telerik team
Share this question
or