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

Zooming and scrolling bugs

5 Answers 212 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 1
Erik asked on 25 Feb 2011, 03:32 PM
Zooming and scrolling on the x-axis seems to have some issues:

  • The point on the far left stays in view. I would expect it to disappear
  • No line is drawn between the last point in view on the right, and the first point outside the viewable range on the right
  • When I zoom in between two data point, the graph is replaced with the text "No Data Series"
  • Scrolling sometimes doesn't result in an updated graph

The .avi file linked here shows me using the mouse to drag the scrollbar around and dragging the scrollbar handles to zoom in and out:
telerikchartzoomscrollbugs.avi

My xaml is simply:

<telerikChart:RadChart.DefaultView>
                  <telerikCharting:ChartDefaultView>
                     <telerikCharting:ChartDefaultView.ChartArea>
                        <telerikCharting:ChartArea>
                           <telerikCharting:ChartArea.ZoomScrollSettingsX>
                              <telerikCharting:ZoomScrollSettings ScrollMode="ScrollAndZoom"/>
                           </telerikCharting:ChartArea.ZoomScrollSettingsX>
                        </telerikCharting:ChartArea>
                     </telerikCharting:ChartDefaultView.ChartArea>
                  </telerikCharting:ChartDefaultView>
               </telerikChart:RadChart.DefaultView>


[edit]
forgot to mention the version I'm using: 2010.3.1314
[/edit]

5 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 02 Mar 2011, 03:54 PM
Hi Erik,

Basically, all of these effects come as a result of the zoom/scroll implementation specifics. To zoom or scroll, RadChart filters the underlying data and then calculates X axis range according to the filtered data. Also, this range is calculated, so that it starts from the first point within the range. This actually allows you to change the left range boundary and still get the same period start as it is again the same datapoint, which is the first one to fall within the selected range. Again, due to the filtering there is no line after the last point in the chart and finally, for the same reason you can see the "No Data" message when you zoom with no datapoints in range.

I am afraid zoom/scroll in RadChart does not cope well with clustered data due to the above reasons and this is something, that our developers are aware of. You can find it logged in our public issue tracking system here. Please, accept our apologies for the inconvenience caused.

Best regards,
Ves
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Erik
Top achievements
Rank 1
answered on 02 Mar 2011, 04:01 PM
Is there an ETA on when this will be fixed? This is absolutely a make or break issue for us, and I'm quite surprised to find that such basic functionality is not implemented correctly.
0
Ves
Telerik team
answered on 04 Mar 2011, 10:24 AM
Hi Erik,

I am afraid we have not scheduled any updates for the moment, but you can apply a different approach, which will allow you to achieve the desired result along with smooth live scrolling. For this purpose you can re-template the ChartArea, you can find a sample attached to this forum thread.

Best regards,
Ves
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Erik
Top achievements
Rank 1
answered on 20 Aug 2012, 01:57 PM
Is there any progress on this issue?
0
Ves
Telerik team
answered on 22 Aug 2012, 12:22 PM
Hi Erik,

This, along with multiple other improvements,has been applied in our new RadChartView. You can find the basic differences between the two controls outlined here.

Kind regards,
Ves
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Chart
Asked by
Erik
Top achievements
Rank 1
Answers by
Ves
Telerik team
Erik
Top achievements
Rank 1
Share this question
or