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

Clear ScatterLine Series does not work

2 Answers 55 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Andrea
Top achievements
Rank 1
Andrea asked on 15 Aug 2018, 06:51 AM

Hi all,

I have a RadCartesianChart with three ScatterLineSeries are plotted in. The ItemSources of the LineSeries are bound to ObservableCollections. Starting the app all works fine and the charts are dsiplayed as expected. I want the LineSeries to reset the lines. For this I clear the ObservableCollections. After running the Clear Method of the ObservableCollections the count of DataPoints in the ScatterLineSeries is set to 0. This is what I expect. But nevertheless the line is plotted with values before running clear.

Is there a notify or other command required to tell the gui element to clear the data?

Many thanks for any hint.

Regards

Andrea

2 Answers, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 20 Aug 2018, 07:06 AM
Hello, Andrea,

I have managed to easily reproduce the behavior. At first sight it seems like a bug, however, we will need some more time to investigate it and provide you with more information and a workaround if we are able to find one. I will write back as soon as we have more information.

Have a great week.

Regards,
Stefan Nenchev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Stefan Nenchev
Telerik team
answered on 18 Sep 2018, 12:44 PM
Hi, Andrea,

Please excuse me for the delay in writing back. We investigated the behavior but could not easily identify the cause of it. With this in mind, I have logged the behavior as a bug in the control so we can investigate it in details and perform additional testing. You can track the item's progress on the following link from our Ideas & Feedback portal - The series are not redrawn when the items in the bound collection are cleared. I suggest you subscribe to the item so that you are automatically notified when there are any updates. I have also updated your Telerik points for reporting the behavior.

Have a great rest of the week.

Regards,
Stefan Nenchev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Chart
Asked by
Andrea
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or