Skip to content

Choosing colors #142

@alandefreitas

Description

@alandefreitas

Is there an example where I can choose the colors directly rather than let the library choose a mapping between data types and colors?

Something like:

auto data = trase::create_data().x(x).y(y).color(color).fill(color);

where color is something like:

std::vector<std::string> color = {"#FFA500", "#000000", "#FFFF00"};

etc...

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