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. Image for the cookie policy date

line series crop ending points cropped

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

3 Replies

Muneesh Kumar G 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  
 


BE Benjamin September 4, 2019 03:04 AM UTC

Thanks for your assistance. My issue has now being fixed

Muneesh Kumar G 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  
 

Loader.
Live Chat Icon For mobile
Up arrow icon