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

Zoomed Chart Creates Blank White Space Before Series

1 Answer 35 Views
Chart
This is a migrated thread and some comments may be shown as answers.
DMM
Top achievements
Rank 1
DMM asked on 31 Aug 2011, 08:59 PM

I have a question on chart zooming.  When I zoom,  radchart creates blank whitespace before the series. The size of the space varies with the range of my zoom.  I have attached a picture to show what I mean. 

Can I force the chart to paint across the whole plot area and not leave 20% of my chart space blank?

Thanks,
Dave

http://i54.tinypic.com/2dvu0lz.png

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 05 Sep 2011, 03:01 PM
Hello Dave,

Please, set the AxisX.LayoutMode to AixsLayoutMode.Normal. When zooming, RadChart filters out the data, which is not within the zoomed area. Setting AxisX.LayoutMode to AxisLayoutMode.Inside (as shown by your image) effectively shifts the first tick to the right. As there is no data before that, an empty space appears. AxisLayout.Normal moves the tick to the very beginning of the axis.

Kind regards,
Ves
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

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