Plot a single data(API) value versus time to a chart

How to plot a single API(interger) to a chart. already set the api plugin and success reading a single data(integer). From here I need help to plot this data every 5 minute to a graph

image