Forum Discussion

JothiG's avatar
JothiG
Helper III
11 months ago
Solved

Adding X-axis line

i want to add X-axis line. is it possible.

  • Hi JothiG ,

     

    Yes, you can easily add the X-axis line to your chart in Power BI. It's likely that the line has been turned off or set to a transparent color in your visual's formatting settings.

    To add it back, you'll first need to click on the chart in your Power BI report to select it. Once selected, navigate to the Visualizations pane, which is typically on the right side of the screen, and click the paintbrush icon 🖌️ to open the Format your visual tab. In this formatting menu, scroll down until you find the X-axis section and click to expand it. Inside these options, look for a sub-section named Line. Here, you can customize the line by setting its Color (black or dark gray is standard), adjusting the Stroke width to control its thickness, and changing the Line style to Solid. Applying these changes will make your X-axis line reappear on the visual.


    Best regards,

  • Hi JothiG 

    There is no formatting option called "X-axis line" in Power BI.
    However, you can achieve the same effect by adding a reference line.
    If your axis starts at 0, just set the reference line value to 0.
    If not, you need to define the logic that determines the baseline value.

    The pbix is attached

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

5 Replies

  • Hi JothiG ,

     

    Yes, you can easily add the X-axis line to your chart in Power BI. It's likely that the line has been turned off or set to a transparent color in your visual's formatting settings.

    To add it back, you'll first need to click on the chart in your Power BI report to select it. Once selected, navigate to the Visualizations pane, which is typically on the right side of the screen, and click the paintbrush icon 🖌️ to open the Format your visual tab. In this formatting menu, scroll down until you find the X-axis section and click to expand it. Inside these options, look for a sub-section named Line. Here, you can customize the line by setting its Color (black or dark gray is standard), adjusting the Stroke width to control its thickness, and changing the Line style to Solid. Applying these changes will make your X-axis line reappear on the visual.


    Best regards,

  • Hi JothiG 

    There is no formatting option called "X-axis line" in Power BI.
    However, you can achieve the same effect by adding a reference line.
    If your axis starts at 0, just set the reference line value to 0.
    If not, you need to define the logic that determines the baseline value.

    The pbix is attached

    If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

  • v-hjannapu's avatar
    v-hjannapu
    Community Support

    Hi JothiG,

    I would also take a moment to thank DataNinja777 Ritaf1983  for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

    I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.

    Regards,
    Community support Team.

    • v-hjannapu's avatar
      v-hjannapu
      Community Support

      Hi JothiG,
      I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We are always here to support you.


      Regards,
      Harshitha.

      • v-hjannapu's avatar
        v-hjannapu
        Community Support

        Hi JothiG  ,

        I wanted to follow up and see if you have had a chance to review the information that was shared. If you have any additional questions or need further clarification, please don’t hesitate to reach out. I am here to assist with any concerns you might have.

        Regards,
        Harshitha.