Skip to content

Pie chart as sum of multiple fields #8143

@PhaedrusTheGreek

Description

@PhaedrusTheGreek

Given the following data, would it be possible to provide a special sort of pie chart where each piece of the pie is the sum of a particular field?

PUT pie-test/test/1
{
    "metric" : {
        "wait" : 2.33,
        "idle" : 4.22,
        "user" : 2.11,
        "system" : 2.2
    }
}

PUT pie-test/test/2
{
    "metric" : {
        "wait" : 3.33,
        "idle" : 11.22,
        "user" : 100.11,
        "system" : 2.2
    }
}

This is spawned from a question in IRC. There's also the same question here.

Metadata

Metadata

Assignees

Labels

Feature:LensFeature:VisualizationsGeneric visualization features (in case no more specific feature label is available)Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//release_note:enhancement

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