Skip to content

In a LINQ statement i get the same color #11

@DenisMtfl

Description

@DenisMtfl

When i use LINQ i get the same color for every item

Example:
datasets = viewResult.GroupBy(g => g.Name).Select(x => new { label = x.Key, backgroundColor = "#"+ColorGenerator.GetLightRandomColor<HEX>().Value, data = x.Select(x => x.Wert).ToList() })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions