Clear the graph widget

Is there a way for the graph widget to be cleared by the firmware?

No. You can delete data only in iOS app for now.