Dean You've posted a graph with no time on the axis and you don't say which bit of grid import is unacceptable. The grid import earlier in the day is presumably, battery charge, so there should be no issue with that. The grid import later in the day looks to be snapshots illustrating a thermostatically controlled load.
I think other forum members have been trying to reassure you that the snapshots are just points in time. The inverter will meet the full demand of over at 2.4kW but it needs 10-30 seconds to ramp up to meet the demand when the thermostat switches on and similarly, it needs 10-30 seconds to ramp down when the thermostat switches off. We have this when the ironing pile is being worked through. Our Thursday consumption is usually 0.8kWh more than an average non-ironing day. If the snapshot is taken alternately when your oven is switching on, then off, you will see spikes. We have found that the only way to avoid this erratic consumption is to do the ironing when we are exporting, but I'm not brave enough to make this suggestion; I'm just grateful it gets done. We have however, resolved to cook our main meal at lunchtime (even if we don't eat until later) as if it needs to go in the over, we are more likely to be exporting in the middle of the day.
The portal is fine for looking at trends over time, but not the minute-by-minute. Maybe look at import/export over days and weeks rather than shorter timescales? I think your inverter is working just fine, unless you have other data to suggest otherwise.