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

PlotArea - Margin not equivalent

1 Answer 77 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 10 Feb 2015, 09:55 AM
Hi,

I got some axis on the left and right side and it turns out the left margin of the plot area is a few pixels thick when the right margin is not. 
Left side: https://dl.dropboxusercontent.com/u/55589036/Pictures/Screenshots/20150210105316.png
Right side: https://dl.dropboxusercontent.com/u/55589036/Pictures/Screenshots/20150210105510.png

How can I add the same margin to the right side as it appears on the left side?

1 Answer, 1 is accepted

Sort by
0
Accepted
Petar Marchev
Telerik team
answered on 12 Feb 2015, 12:47 PM
Hello Martin,

I think you should be able to simply set a Margin for the axis and it will be displaced to the right:
<telerik:LinearAxis HorizontalLocation="Right" Margin="25 0 0 0" />

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.

 
Tags
ChartView
Asked by
Martin
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or