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
75
UltraWebChart: How to display a solid X Axis line when bar values go negative
posted

I don't see any properties that allow me to set the X Axis as a solid line (like the green line below)across the bar chart when some of the bar values are negative.

Any idea? Thanks in advance for your help.

 

  • 75
    posted

    Got it. Thanks for your help.

  • 995
    Suggested Answer
    posted

    Hi,

    You can set the LineColor, LineDrawStyle, LineEndCapStyle, and LineThickness properties to customize the look of axis lines. In your case you can set following properties to set the thickness property of the X Axis;

    this.UltraChart1.Data.ZeroAligned = true;

    this.UltraChart1.Axis.X.LineThickness = 10;