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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Quick question: default removing of axis titles

Hi all! 

 

Is there any way to set the axis titles to be disabled as a default? Maybe with a theme file (json)? I personally don't like them in my visualizations and it's a pain in the neck (on in the wrist) to always manually turn them off. 

2 ACCEPTED SOLUTIONS
v-joesh-msft
Solution Sage
Solution Sage

Hi @Anonymous ,

As mentioned by @SivaMani , you can change the corresponding properties by customizing the theme file. Here is a resource about "Snippets for assembling Power BI Themes", you can refer to it, the following is an example of Line.json:

1.PNG

Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Anonymous
Not applicable

I got it! I had to change a little bit of the answer @SivaMani gave to get the desired outcome! This gave me the outcome I was looking for: 

 

"categoryAxis":[{"show":true,"showAxisTitle": false}],
"valueAxis":[{"show":true,"showAxisTitle": false}],

 

View solution in original post

5 REPLIES 5
v-joesh-msft
Solution Sage
Solution Sage

Hi @Anonymous ,

As mentioned by @SivaMani , you can change the corresponding properties by customizing the theme file. Here is a resource about "Snippets for assembling Power BI Themes", you can refer to it, the following is an example of Line.json:

1.PNG

Best Regards,
Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thank you both for the answers! 

 

Did I understand correctly that you have to define this for each visual separately? If so, that's a bummer, but maybe it'll be beneficial in the long run to do a style file as complete as possible. 

Anonymous
Not applicable

I got it! I had to change a little bit of the answer @SivaMani gave to get the desired outcome! This gave me the outcome I was looking for: 

 

"categoryAxis":[{"show":true,"showAxisTitle": false}],
"valueAxis":[{"show":true,"showAxisTitle": false}],

 

Anonymous
Not applicable

Sorry for the double post! 

 

I tried your solutions, @SivaMani, but it removed all axis' information. I only want to remove the title information, not the values of the axis. The title is the text below the values. 

SivaMani
Resident Rockstar
Resident Rockstar

@Anonymous,

Yes, you can do this with custom theme. Please check the below mentioned properties,
"categoryAxis":[{"show":false}],
"valueAxis":[{"show":false}]

Hope it will help you. I appreciate your kudos!
Thanks,
Siva Mani

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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