Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2070
Column chart -Remove background line
posted

Hai

I see a line in column chart behind the bars. I don't want this. I tried to remove this but dint get success. Can you tell me how to remove this lines? If i set a far margin value for the X axis means the line comes near that bar. It looks not good. Please find the attachment.

Thanks!

Parents
No Data
Reply
  • 26458
    Verified Answer
    Offline posted

    Are you referring to the gridlines?

    They can be turned off by setting:
    chart.Axis.X.MajorGridLines.Visible = false
    chart.Axis.X.MinorGridLines.Visible = false

    and the same way for the Y axis.

Children