Is it possible to change luci realtime graph refresh interval?

I recently got a raspberry pi 4 and I would like to change the realtime graph update resolution to 1 second. Can this be done easily?

YES. I am aware this will result in increased CPU use.

There is an option called "Data collection interval" (Statistics-Setup-Collectd Settings).