Skip to content

[EuiStat] Allow for customization of colors #3606

@formgeist

Description

@formgeist

Summary

The existing EuiStat component allows for coloring the values by specific color variables (our default color set). We would like to use the EuiStat as a large legend/KPI component in the Observability homepage visualizations. We want to be able to color the values by the assigned color in the visualization, which uses the euiPaletteColorBlind color palette.

Would it be possible to allow the euiPalette colors to be assigned in the props? E.g. define euiColorVis9 as a color for value.

Logs

Uptime

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions