You can look through this thread for a discussion of refreshing widget and especially charts:
The good news is that your use case is even simpler. You don’t need to create an additional item to drive the key property changes since you already have an item that changes every time you want the graph refreshed (props.gridPower). So your key value probably just needs to look like this: