Net energy inverted

When I import energy my net energy and net power is negative and when I export energy my net energy and net power is positive.

I read that net = consumption - generation

Imo this is inverted in the graph.

Net = Generation - Consumption

Net power (blue line) is positive when exporting, and negative when importing.