Warning:
If you update HA to version 2023.5.x you will run into the following issue/bug:
Integration - Riemann sum integral: Value Graph is broken
2023.5.4 is not resolving this issue: