Skip to content

Custom ordinal color schemes #1218

@filipkis

Description

@filipkis

Hi,

I would like to be able to somehow specify a custom color scheme so I can create my charts with our brand colors. As far as I saw from documentation and digging through the source code, there is no way to specify a custom scheme. On can use interpolate option, but that works only when there is a range, so not with ordinal scales.

My suggestion would be that you check if scheme is an array or function and then threat it as custom color scheme, otherwise it behaves as it does now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions