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
Syndicate_Admin
Administrator
Administrator

La fuente personalizada no funciona para la leyenda y la información sobre herramientas

Hola

Me enfrento al siguiente problema mientras intento cambiar la fontFamily de todos los elementos visuales de mi informe utilizando el siguiente archivo json.

* Los valores archivados solo se cambian en función del archivo json

* La leyenda y la información sobre herramientas no están cambiando, incluso si doy explícitamente para el visual específico

Hágame saber si he cometido algún error en mi código o si es necesario agregar algo para lograr lo mismo.

Gracias de antemano 🙂

Archivo Json:

{
"nombre":"Cambiar familia de fuentes",
"visualStyles":{
"*":{
"*":{
"*":[
{
"fontSize":11,
"fontFamily":"Segoe UI"
}
],
"título":[
{
"mostrar":verdadero,
"fontColor":{
"sólido":{
"color":"#FFFFFF"
}
},

"allignment":"centro"
}
],
"leyenda": [{
"show": verdadero,
"posición": "Abajo",
"showTitle": false,
"titleText": "",
"fontColor": "#666666",
"fontSize": 10,
"fontFamily": "Segoe UI"
}] ,
"antecedentes":[
{
"mostrar":verdadero,
"color":{
"sólido":{
"color":"#FFFFFF"
}
},
"transparencia":0
}
],
"lockAspect":[
{
"mostrar":verdadero
}
],
"frontera":[
{
"mostrar":falso
}
],
"visualTooltip":[
{
"type":"Predeterminado"
}
],
"stylePreset":[
{
"nombre":"Ninguno"
}
],
"etiquetas":[
{
"fontColor":{
"sólido":{
"color":"#000000"
}
}
}
]
}
},
"página":{
"*":{
"antecedentes":[
{
"color":{
"sólido":{
"color":"#e6e6e6"
}
},
"transparencia":0
}
]
}
}
}
}

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

Hola, @3307

Por favor, compruebe si este hilo podría ayudar:

https://community.powerbi.com/t5/Desktop/theme-json-for-visuals-fontfamily/td-p/1036558

Saludos
Equipo de soporte de la comunidad _ Eason

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.