How to Combine data into one graph

Hello,

I am trying to understand how to combine the output from a custom check into one or two graphs. It looks like I would configure a template for the check? I am having trouble finding the correct syntax in the documentation, this is something that is possible to do correct?

Thank you for any assistance.