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

Remove Background cross Axis Line ???

Thread ID:

Created:

Updated:

Platform:

Replies:

148493 Oct 22,2019 01:56 PM UTC Oct 23,2019 09:49 AM UTC Flutter 3
loading
Tags: SfCartesianChart
Arvind Mewada
Asked On October 22, 2019 01:56 PM UTC

Hello .
Please reply me as soon as possible 
how to remove background cross axis line.

thanks so much.

Dharanidharan Dharmasivam [Syncfusion]
Replied On October 22, 2019 02:30 PM UTC

Hi Arvind, 
 
Thanks for using the Syncfusion Flutter chart widget. Your requirement can be achieved by hiding the major gridlines of the axis. You can find the below code to hide the background lines, 
 
 
 SfCartesianChart( 
 
                primaryXAxis: NumericAxis( 
                    //Hide the gridlines of x-axis 
                    majorGridLines: MajorGridLines(width: 0), 
                    //Hide the axis line of x-axis 
                    axisLine: AxisLine(width: 0), 
                ), 
 
                primaryYAxis: NumericAxis( 
                    //Hide the gridlines of y-axis 
                    majorGridLines: MajorGridLines(width: 0), 
                    //Hide the axis line of y-axis 
                    axisLine: AxisLine(width: 0) 
               ), 
 
  ) 
 
 
We have also prepared a sample for your reference and you can find our user guide here. 
 
Hope this helps. 
 
Thanks, 
Dharani. 


Arvind Mewada
Replied On October 22, 2019 02:46 PM UTC

Thanks so much.

Dharanidharan Dharmasivam [Syncfusion]
Replied On October 23, 2019 09:49 AM UTC

Hi Arvind, 
 
Most welcome. Kindly revert us if you need further assistance. We are always happy in assisting you. 
 
Thanks, 
Dharani. 


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