Skip to content

pattern bgcolor & fgcolor as well as overlay fillmode #5728

Closed
@nicolaskruchten

Description

@nicolaskruchten

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions