NB! It seems this console command is not compatible with CS2.
Command Profile

NET_GRAPHMSECS

CS:GO

This command sets the amount of seconds that the latency graph should represent. Default is 400.

Syntax
net_graphmsecs [Milliseconds]

Description

This command sets the amount of seconds that the latency graph should represent. Default is 400.

Syntax And Arguments

net_graphmsecs [Milliseconds]
Milliseconds The amount of milliseconds that the latency graph should repesent. 1000 = 1 second.

Related Commands