You can use the graph editor to add and position text boxes to appear in table form on your graph. There are also many ways for you to easily reproduce these changes. You can record your changes and reapply them with the recording, or you can use the gr_edit command. The gr_edit command, when placed at the beginning of graph editor commands, will apply the same change in command form. To find your graph editor commands, you can open a .grec graph editor recording in a text editor, or if you have saved your graph as a .gph Stata graph, you can also open these .gph files in a text editor. The .gph files will have a bunch of nonsense at the start, but at the end of the file you should be able to see the editor commands.
To generate this graph in Stata, use the following commands: