How to display line chart with totals in labels

I want to display time series chart for free and paid orders. But want to display totals for both free and paid in labels for given period. It should be something like below. Is this possible using grafana?
I tried with legends. It won’t support formatting of text, position of text and display comma separated values.
Please provide any examples on similar scenario.