What is domainFn and measureFn in graphs from charts_flutter package?

I tried to look at library docs and tried to find it online but almost every source has skipped the explanation of these functions. I can still get my app to behave the way I want it but I would like get clarity on this.