A TMultiGraph should automatically compute the X and Y axis ranges to make all data points visible.
Another approach (not using a TMultiGraph):