In what format does Grafana take the data?

Should it be as [value, timestamp] ?
How can I add a third variable?