Show operating conditions in a pie chart

I want to show the conditions (like machine on, machine off, fault, prepare) of our machine in a pie chart.
How can I realize this?
The signals of every condition is boolean (0 or 1).

You need to explain what information you want to convey to users in the chart. Is it the relative % of the time spent in each condition? Or the number of reports of each condition? Or something else?

I want to show how long every condition is true in the time of one day.
But at first I have to find out a timer wich counts the time for the duration if the bit of one conditon is true.
Do you have an idea for such a timer?

Do you want one pie chart for all the devices or a seperate chart for each device?

You might want to look at this flow (from the Flow Library) for an idea of how you might go about it.

I want all conditions in one pie chart

How will someone looking at the chart know what anyone slice means? Will it show the last 24 hours or the time from the start of the day?

So you will need to calculate the event time for the device then add up the total time for the device and figure the percentage the event has of the total time. Since the total percentage should be 100%, you can then use the device percentages in the graph to show how long each event took place.

Although - to me - it seems like the graph will just tell you which device has been on the longest, not how long it has been on.

Are you sure that something like this may not be a better choice ?

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.