cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Heidi Regular Visitor
Regular Visitor

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

Accepted Solutions
v-joesh-msft New Contributor
New Contributor

Re: Quick question: default removing of axis titles

Hi @Heidi ,

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

Heidi Regular Visitor
Regular Visitor

Re: Quick question: default removing of axis titles

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
Highlighted
SivaMani Senior Member
Senior Member

Re: Quick question: default removing of axis titles

@Heidi,

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

v-joesh-msft New Contributor
New Contributor

Re: Quick question: default removing of axis titles

Hi @Heidi ,

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

Heidi Regular Visitor
Regular Visitor

Re: Quick question: default removing of axis titles

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. 

Heidi Regular Visitor
Regular Visitor

Re: Quick question: default removing of axis titles

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. 

Heidi Regular Visitor
Regular Visitor

Re: Quick question: default removing of axis titles

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

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors