Axis Label cut off

When I plot a graph and add it to Pdf, sometimes the tip of the axis will get cut off. How can I fix this? Picture below to help.


1 Reply

MK Muneesh Kumar G Syncfusion Team April 10, 2018 05:30 AM UTC

Hi Caleb, 
 
Thanks for using Syncfusion products.  
 
We can achieve your requirement by using below solutions.  
 
Solution 1 : Using Margin property in SfChart we can avoid tip of axis label get cut off. Please find the below code snippet. 
 
Code snippet [XAML]: 
 
 
<chart:SfChart  Margin="10"/> 
 
 
Solution 2 : Using EdgeLabelsDrawingMode property in axis we can avoid tip of axis label get cut off. Please find the below code snippet. 
 
Code snippet [XAML]: 
 
<chart:SfChart.SecondaryAxis> 
<chart:NumericalAxis x:Name="yAxis" EdgeLabelsDrawingMode="Shift"/> 
</chart:SfChart.SecondaryAxis> 
 
Please find the below user documentation link for more details.  
 
 
Please let us know if you have any queries.  
 
Thanks, 
Muneesh Kumar G 


Loader.
Up arrow icon