I guess there is a work around for your problem. Assume that your graph page's name is "Graph1", and the text object's name is Text, then you can put the graph page's name into the Text object by the following script:
range rngGraph = "[Graph1]"; string strName$ = rngGraph.name$; //if you graph page is active, another way to do this is "string strName$ = page.name$;"