Skip to content
This repository was archived by the owner on Jan 17, 2019. It is now read-only.
This repository was archived by the owner on Jan 17, 2019. It is now read-only.

Group by ZERO? #18

@koraliap

Description

@koraliap

Hello,
i am using Dashboard to produce some statistics based on scores. I want a pie which shows the
distribution of the score . It is a child graph from another user.
My code is

var scoreRangesPie = dash.createPieChart({
			container: "#svg2",
			groupBy: "result.score.scaled",
			range: {start: 0, end: 1, increment: 0.1},
			pre: function(data, event){
				return data.where('actor.mbox = "' + event.in + '"');
			},
			aggregate: ADL.count(),
			});

when my graph shows up, it does not have a slice for score.scaled=0, although my datas include statements with score.scaled='0. The graph shows correct all other scores but totally ignores statements with score=0.
I would be grateful if you had any clue.
Yours,
K.

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