Custom overlap colour?
Closed this issue · 2 comments
zx8754 commented
Can we set custom colour for overlapping sections, currently it is blending the colours of two sets, in below example sets are red and green, so the overlap colour is orange. Can we set it to be, for example, black?
# R version 4.0.2
# eulerr_6.1.0
library(eulerr)
fit <- euler(c("A" = 1, "B" = 10, "A&B" = 5))
plot(fit, fills = list(fill = c("red", "green")), legend = list(side = "right"))
Related SO post:
zx8754 commented
Oh, looks like it is possible to give colours to overlaps, from the example in the Vignette: