ggrepel
1 TopicColor and label failed to display after publishing R visuals (ggplot)
Hi all, I'm trying to create a R visual in Power BI that colored and labeled some specific points in a scatterplot. The plot works fine in the Power BI Desktop, however, when I published the report, all the color and label disappear (same color for all points and no labels). Please see the screenshots below. And R code as follow: ggplot(data = data1, aes(x = X, y = Y))+ geom_point(pch = 16, color = colorcurrent,size = 3)+ theme_minimal() + geom_text_repel(aes(label = labelcurrent),size = 5, color = colorcurrent) where labelcurrent and colorcurrent are vectors contianing the corresponding lable name or color for each observation, i.e. c("black", "blue", ....) and c("", "lableit", ...). What do I need to do to get this working? Thanks for your help in advance! Regards, Vanessa1.2KViews0likes4Comments