I have a project in which multiple values are being plotted on cayenne platform, when ever my device gets off and restarts after some time (3 times a day for 2.5 hours) on the graph values never get to zero instead the trend shows a straight line between last value and the new value received after break.
Is there any way that the graph goes to zero whenever my device gets off?
Please, help.

why does your device gets off?

it is the need of project. Actually the system gets off for some time on which my monitoring device is attached.

if you intend to do it in your code, then just before putting it off send a zero value to chart.

Yes, that could be a simple solution but in my case I cannot do that because the main power is cut of at any instant of time.
Please advise me can we do on the plat form or not?

not possible.