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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

tzvikei

Welcome to the custom visuals community blog!

 
Comments

Is it possible to change format the title fonts, size, and color so they all appear the same for each visualization? I was able to accomplish this with Legend, but cannot seem to figure it out with Titles for my visuals. 

Hi @bw70316

 

Custom Visuals can not control Title properties. We'd recommend to use Power BI Themes to change Title color for whole report.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

I have tried doing this with my imported theme. I don't see in the documentation where to manipulate titles for entire visualizations. Can you demo how to do this similar to my legend... I have tried doing this with title for all my visuals with no luck. 

 

 

 
 "title":[{
                "show":false

            }]

}]

 

 "legend": [{
                "show": true,
                "position":"LeftCenter",
                "showTitle": true,
                "titleText": "",
                "legendColor": { "solid": { "color": "#060606"}},
                "fontFamily": "Century Gothic",
                "fontSize": 12
            }]

 

Do you want to apply the same options for all of Titles? Do you use any custom visuals?

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

First off, thanks for the reply. I forgot to do that last time. Secondly, no I currently have not created custom visuals. Just JSON themes in reports. I followed the documentation in this link: https://docs.microsoft.com/en-us/power-bi/desktop-report-themes... here is my current JSON.. If you know how, could you please explain how to do what I am doing for my legened for my titles?

{

"name": "CEI",

"dataColors": ["#07138d" , "#2aabe2" , "#fdce0c" ,  "#9edc5d", "#7a36ad", "#e0a7f9", "#b7dee8", "#e16f06"],

"background":"#FFFFFF",

"foreground": "#007C59",

"tableAccent":"#FCB514",

"visualStyles": {
    "*": {
        "*": {
            "*":[{
                "responsive":true,
                "wordWrap":true,
                "fontFamily":"Georgia",
                "fontColor":"#060606",
                "fontSize":13
            }],
                     

            
            "objects": {
                
            "wordWrap":[{
                "show":true
            }],
            "labels": [{
                "show":true
                
            }]
            },

        
            "categoryAxis": [{
                "showAxisTitle":true
            }],
            "valueAxis":[{
                "showAxisTitle": false
                }],
            "legend": [{
                "show": true,
                "position":"LeftCenter",
                "showTitle": true,
                "titleText": "",
                "legendColor": { "solid": { "color": "#060606"}},
                "fontFamily": "Arial Black",
                "fontSize": 12
            }]
          
          
          

        }}
    
    }
}

Our recommendation is to post this question at Desktop thread as current one is only about Custom Visuals.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

Anonymous

Is it possible to create a search bar where I'll put data in a comma-separated manner and my table below will get modified by the search bar?

I've tried attribute slicer but the search bar is too small and the size of the search bar is not formattable. Is there any other option available? or can I make my custom visual for searching data? Is it possible in powerbi please let me know