Anonymous
8 years agoNot applicable
Status:
Accepted
R font size too small on PowerBI Service.
When I publish a report with a R chart on PB service the fonts became too small. Both in R Studio and PB Desktop seems OK. The problem ins't with the script since i've tested with plot(dataset) o...
benalexkeen
8 years agoFrequent Visitor
I'm having the same issue.
For an easy way to reproduce this issue, you can use the following simple R code (and any dummy values in the "Values" data field as the mpg data frame comes with R):
library(ggplot2)
p <- ggplot(mpg, aes(class))
p <- p + geom_bar(fill="blue")
p <- p + theme_classic()
p <- p + theme(
axis.text.x = element_text(size = 14, angle=45, hjust = 1),
axis.text.y = element_text(size = 14),
)
print(p)
Viewing locally all custom R visuals and R visuals packaged as pbiviz files are fine, but when viewing online I have the same issue as above no matter what the text size in the code above is set to.
Power BI Desktop ScreenshotPower BI Online Screenshot