Right now patterns basically replace fills, and I want to introduce a second mode where they overlay them instead:
- new attribute
marker.pattern.fillmode= enum(default=replace, overlay)
- new attribute
marker.pattern.fgcolor
replace fillmode is the current behaviour:
marker.pattern.bgcolor is transparent
marker.pattern.fgcolor = marker.color
overlay fillmode will be:
marker.pattern.bgcolor = marker.color
marker.pattern.fgcolor will be set to to contrast the bgcolor using the same algo we use to contrast text on bars
Right now patterns basically replace fills, and I want to introduce a second mode where they overlay them instead:
marker.pattern.fillmode= enum(default=replace, overlay)marker.pattern.fgcolorreplacefillmode is the current behaviour:marker.pattern.bgcoloris transparentmarker.pattern.fgcolor=marker.coloroverlayfillmode will be:marker.pattern.bgcolor=marker.colormarker.pattern.fgcolorwill be set to to contrast thebgcolorusing the same algo we use to contrast text on bars