We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

line series crop ending points cropped

Thread ID:

Created:

Updated:

Platform:

Replies:

147135 Sep 3,2019 04:04 AM UTC Sep 4,2019 04:10 AM UTC Xamarin.Forms 3
loading
Tags: SfChart
Benjamin
Asked On September 3, 2019 04:04 AM UTC

for my line series, the ending points of both side is being cropped, how do i fixed this?

Further, the spacing between each point of the category and numeric axis is too big, is there any way to reduce it?

Line Series

Muneesh Kumar G [Syncfusion]
Replied On September 3, 2019 01:16 PM UTC

Hi Benjamin, 
  
Query 1: The ending points of both side is being cropped, how do i fixed this? 
 
You can resolve this problem by setting PlotOffset property of Axis as per the below code snippet.   
  
<chart:CategoryAxis ShowMajorGridLines="false" PlotOffset="10"> 
                        <chart:CategoryAxis.MajorTickStyle> 
                            <chart:ChartAxisTickStyle TickSize="10"> 
                            </chart:ChartAxisTickStyle> 
                        </chart:CategoryAxis.MajorTickStyle> 
  </chart:CategoryAxis> 
  
  
Query 2: The spacing between each point of the category and numeric axis is too big, is there any way to reduce it? 
 
As we discussed in this forum, the space will divide equally based on the chart Width and Height, we need to customize the Height and Width in order to manage the space.  
 
Regards,   
Muneesh Kumar G  
 


Benjamin
Replied On September 4, 2019 03:04 AM UTC

Thanks for your assistance. My issue has now being fixed

Muneesh Kumar G [Syncfusion]
Replied On September 4, 2019 04:10 AM UTC

Hi Benjamin, 
 
Thanks for the update. 
  
We are glad to know that the given solution works. Please let us know if you need any further assistance. 
 
Thanks,  
Muneesh Kumar G  
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon