Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
In focus mode the R chart (based on ggplot2) is not rendering as should be:
Out of focus mode the chart renders OK
code for graph:
library (ggplot2) library(scales) library(ggrepel) if (exists("powerbi_rFontName")){ library("showtext") showtext.opts(dpi = powerbi_rPngDeviceDpi) showtext.auto() } ggplot(dataset, aes(x = as.Date(get('local scheduled date')), y = get('user marked % avg'), fill=experiment, colour = experiment ) )+ geom_errorbar(aes(width= .7, ymin=get('Marked Lower CI'), ymax=get('Marked Upper CI'))) + geom_point(size = 2.5)+ geom_line(size = 1)+ geom_text_repel(aes(label=percent( get('user marked % avg'))))+ scale_x_date(date_breaks = "1 day")+ theme_classic( base_size = 14 )+ theme(axis.text.x = element_text(size = 10, angle = 45, colour = "black",vjust = 1, hjust = 1))+ labs(x = "Date", y = "Reminded Reminders %") + scale_y_continuous(labels=percent) + geom_smooth(method = "lm", se = FALSE, linetype = "dashed") + facet_grid(.~get('Version Features'))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.