Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
cguillemette
Frequent Visitor

Line Chart not displaying X-Axis gridlines

Wondering how to show vertical x-axis gridlines on a line chart?

I've turned on the 'X axis' setting for 'Gridlines', but lines are only displaying in Date header below, not in the line chart area.

My Date field is a Hierarchy...not sure is this is cauing issue.

 

cguillemette_0-1603999012554.png

cguillemette_1-1603999252392.png

Any help would be appreciated, Tx 🙂

 

2 REPLIES 2
v-easonf-msft
Community Support
Community Support

Hi, @cguillemette 

Everything is normal on my side. 
Have you tried to convert the hierarchy into a normal date field?
What will happen when you remove “hour”,“half hour” from the hierarchy)

35.png

 

If you possible, could you share a sample pbix for testing?

 

Best Regards,
Community Support Team _ Eason

Anonymous
Not applicable

Hi @cguillemette - Guidlines will display lines in your graph, Something like this:

NamishB_0-1604000938630.png

 

If you want to have an X-Axis just insert> Shape> a line and rotate to 90 Degrees. Tiy can change the colour and change thickness (Weight)

 

Hope this helps.

 

Cheers,

-Namish B

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.