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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
marcelot
New Member

Reverts to default in custom format don´t apply changes to data

Hi everyone,

I have a custom component that has some custom options in format like changing the font, color ... but when you do reverts to default the values of these change correctly but do not apply to the displayed text.

For example:
I change the font of the text to Times New Roman and this change is applied correctly on the visual. If I click on Reverts to default, it shows the default value in the format panel (Arial, in this case), but the visual continues to use Times New Roman

 

What can be caused this?
Thanks in advance

1 ACCEPTED SOLUTION
marcelot
New Member

Finally i solved it checking if settings have changed or visual resized in update method and then redraw the visual in this case .

Smiley Very Happy

View solution in original post

2 REPLIES 2
marcelot
New Member

Finally i solved it checking if settings have changed or visual resized in update method and then redraw the visual in this case .

Smiley Very Happy

v-viig
Community Champion
Community Champion

It seems the font family is applied to DOM elements improperly.

We'd recommend to debug the visual step-by-step to find a root case.

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

 

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

Top Solution Authors