jolars/eulerr

Custom overlap colour?

Closed this issue · 2 comments

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"))

image

Related SO post:

Oh, looks like it is possible to give colours to overlaps, from the example in the Vignette:

@jolars regarding linked SO post, I understand why it is happening, I tried to explain with my answer, looks like OP is not happy.

You might want to explain it better. Question has a bounty, now :)