How can I add the corresponding data to the graph,just like image shows

Hi,

You can use tags to display the errors on the legend.

Good Luck