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

Wrong behavior of points on LineSeries.

2 Answers 45 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 03 Feb 2015, 10:53 AM
Hi,

in our production app my team noticed strange behavior of RadChart control. Points on LineSeries wasn't on their place after zooming. First we thought, that was problem with our XAML styles or data provided via ObservableCollection, but everything was ok. Then we try to reproduce the bug on clean new WPF project and we did it. When you have more then one LineSeries (when you have one that bug exists too, but hard to notice, becouse only few or exacly one point can have wrong position) on your Chart and try to zoom, then points change their position to wrong, like not rerendering at all. I attached screenshot and solution that reproducing this bug. Can you try yourself and confirm that is a bug in your RadChart control?

There's solution: http://www27.zippyshare.com/v/oJX0ymTg/file.html

Greetings,
Paul.

2 Answers, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 06 Feb 2015, 09:31 AM
Hi Paul,

Thank you for the attached project and explanations. I was able to quickly reproduce the faulty behavior. It appears that you do not have to zoom in to get this glitch, you can resize the chart and when the axes change their step and range, the second series seems not to get notified and it uses the old axis range to render.

The RadChart is the old charting solution and we have not made any changes to the code in the last three years. Our efforts are focused on the new ChartView which has a much better overall performance, it is very flexible and easy to set up. I suggest you completely remove the Charting.dll reference and switch to the new chart.

qsf examples
online documentation
sdk samples

Regards,
Petar Marchev
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.

 
0
Paul
Top achievements
Rank 1
answered on 09 Feb 2015, 12:46 PM
Thanks for confirmation that is a faulty behavior. 

Regards,
Paul.
Tags
Chart
Asked by
Paul
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Paul
Top achievements
Rank 1
Share this question
or