Reply
DataNinja777
Super User
Super User
Partially syndicated - Outbound

Showing all data in line chart without scroll bar

Hi Power BI community,

 

I'd like to present line chart of movement over the past 10 years for year-month granurality.  However, horizontal space is not enough and horizontal scroll bar appears even though it is unwanted. I don't need to see all the year month (could be every other year-month), and I'd like to get rid of the horizontal scroll bar.  Please could anyone let me know how I can modify the visual to show the whole picture without an awkward horizontal scroll bar?  

Thanks for your help.  

 

 

1 ACCEPTED SOLUTION

Syndicated - Outbound

Hi @DataNinja777 
Unfortunately, we can't show on /off or have different formats for hierarchy levels for the graph axes.
So there is no option ti "hide the labels".
2 alternatives ( as usual 🙂 )

1. Instead of using the automatic hierarchy, use the year column and month column, it less pixels so it will look much better :

Ritaf1983_0-1701356439870.png

2. you can hide it in a White shape...but if the user needs to drill up / down it can be a problem:

Ritaf1983_1-1701357038859.png

Result :

Ritaf1983_2-1701357102793.png

 

The pbix with both options is attached.

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

members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Syndicated - Outbound

Hi @DataNinja777 
There is no option to change the proportions of the charts and pixels that they need except for the minimum category which you can only modify to larger, not to smaller.
The steps that you can apply as alternatives :

1. Use a continuous axis instead of a categorical"

Ritaf1983_0-1701332349960.png

2. Resize the canvas width to the pixels that you need for all 120 points of 10 years:

Ritaf1983_1-1701332458405.png

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

members find it more quickly

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Syndicated - Outbound

Thank you @Ritaf1983  for the instruction.  

 

By tinkering with canvas section, I managed to get rid of the scroll bar by widening the horizontal length.  

In my line chart visual, the selections do not seem to be same as your 1st screen print, and I couldn't see the "continuous axis".  

DataNinja777_0-1701345767837.png

My remaining issue is that 

DataNinja777_1-1701345947144.png

I'd like to get the mmm-yyyy granurality line chart while only showing the year label as showing all mmm-yyyy will be too clattered looking.  

Thank a lot for your help!

 

Syndicated - Outbound

Hi @DataNinja777 
Unfortunately, we can't show on /off or have different formats for hierarchy levels for the graph axes.
So there is no option ti "hide the labels".
2 alternatives ( as usual 🙂 )

1. Instead of using the automatic hierarchy, use the year column and month column, it less pixels so it will look much better :

Ritaf1983_0-1701356439870.png

2. you can hide it in a White shape...but if the user needs to drill up / down it can be a problem:

Ritaf1983_1-1701357038859.png

Result :

Ritaf1983_2-1701357102793.png

 

The pbix with both options is attached.

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

members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)