Hi all, new to the community, love using R and shiny. I am stuck on this thing right here
Here is the code I am using,
ggplot()+aes(ymin=0)+
geom_rect(data=figData,aes(fill=category,color = category,ymax=ymax, ymin=ymin, xmax=x1, xmin=x2), size = 2)+
ylim(0,1) + xlim(0, 10) +
coord_polar(theta="y", direction = -1) +
scale_fill_manual(values=group.colors1) +
scale_color_manual(values=group.colors2) +
theme(panel.grid=element_blank()) +
theme(axis.text=element_blank()) +
theme(axis.ticks=element_blank()) +
theme(axis.title.x = element_blank()) +
theme(axis.title.y = element_blank()) +
theme(panel.border = element_blank()) +
theme(legend.position = "none") +
theme(legend.position = "none",
panel.grid = element_line(color = "#000000"),
axis.title = element_blank(),
axis.text = element_blank(),
axis.ticks = element_blank(),
panel.background = element_rect(fill = "#000000", color = "#000000"),
plot.background = element_rect(fill = "#000000", color = "#000000"))
how do I get rid of those white spaces?