Skip to content

Sum of field value instead of Count #670

@shribigb

Description

@shribigb

Hi,

I am interested in plotting pie/bar chart of a documents field value(sum of field value over an interval) than the count of document in the index. e.g. I have something like following:
date type Ticks
2013-04-22T19:22:00 type_1 30
2013-04-22T19:23:00 type_2 25
2013-04-22T19:24:00 type_1 13
2013-04-22T19:24:00 type_2 22
2013-04-22T19:25:00 type_3 23

Pie chart will plot
Type_1 2
Type_2 2
Type_3 1

But I am interested in plotting distribution of ticks in the interval, so in this case,
Type_1 43
Type_2 47
Type_3 23

Is it possible?

Thanks,

Shri

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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