Add new methods to TGraph for getting array values, e.g. getX(index).