Forum Discussion
R visual - responsive visualization in power BI
- 8 years ago
Hi, thanks for your help reporting this bug.
There was a bug fix a little while ago that appears to have unintentionally led to this regression. We already know the fix, it is currently in the pipe to be deployed to general production next week, around 7/13.
In the meantime if this is causing issues, there is a workaround. You can add the following lines to the beginning of your R script:
if (exists("powerbi_rFontName")){library("showtext")
showtext.opts(dpi = powerbi_rPngDeviceDpi)
showtext.auto()
}
This should make the text appear normal size in service without affecting desktop behavior, and should not cause any issues in service once the fix is deployed.
Similar to your script, I have used the coord_flip() function. My visual works perfect when my plot is vertical. When I use the coord_flip() to rotate my visual, the plot rotates but the rendering looks weird. Any idea?
My problem was just the label font being too small once published, which the suggested fix sorted out. Hard to say based on "rendering looks weird" but sounds like you have some other problem not related to the one raised here.