Forum Discussion
BLPYPL
8 years agoNew Member
R text sizing Bug
Hi, The text sizing in R seems to incorrect recently. Can anyone help? I'm using custom R visuals. I simply use "plot" and "text" to plot some text. I use parameter "cex" in "text". It works in...
BLPYPL
8 years agoNew Member
Here is the code to reproduce the bug:
1. Create a Power BI report and R visual
2. paste following code:
.text="testing%"
par(mar = c(0,0,0,0),bg=NA,cex=3.5)
plot(c(0, 1), c(0, 1),ann = F,asp=1, bty = 'n', type = 'n', xaxt = 'n', yaxt = 'n')
text(x = 0.5, y = 0.2, .text,
col = "red")
3. Publish it to Power BI service
4.Compare the desktop and service version. You will see the text sizing is not correct in the service
I've tried serveral parameters, such as cex, ps, but none seems to work. Can anyone help?
v-juanli-msft
8 years agoCommunity Support
Hi BLPYPL
Thank you for such detailed information, I can reproduce the issue and I am checking with engineer whether it is a bug and when and how to fix it.
I will come back to tell you if there is any update.
Best Reagrds
Maggie