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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Anonymous
Not applicable

"Rendering" issue: Custom Visual with R

Hi there,

I´ve created a visual for PowerBI using R language and the processmapR package. Everything is working fine but when I display my visual in PowerBI its set to a fixed size - I cant resize it using the PowerBI visual-frame. If I drag the framelines the visual doesnt adapt to it.

 

The below Code is the end of my R Script where I transform an eventlog into a processmap and then into an export function.

events %>%
process_map(render = T) %>%
export_graph(file_name = '001.png',file_type = 'PNG')

 

My output of the visual is using the command export_graph. I know I can change the size here, but then the visual just gets distorted but not nicely resized.

I´m not sure whether I need to change something in my R code, in visual.less or somewhere else, to get my visual working with the PowerBI frames.

PS: If my description is unclear, please let me know so I can try to explain it different.

0 REPLIES 0

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.