How can I create a Pi Chart Of a Boolean in a 24 hour period?

chronograf

#1

How can I create a Pie Chart Of a Boolean in a 24 hour period in chronograph? This would be a percentage of time true and percentage of time false.

So I have a measurement called “Status”, and a boolean field called “IsCycling”

what query can I enter to graph this?


#2

@TheColonel26,
Chronograf doesn’t currently support pie charts. However you can create that visualization with a different library. Please take a look at this blog for inspiration.