I have this data.

var1 var2 var3
apple 1 4
banana 2 6
strawberry 3 9


To draw a graph, I do
Code:
twoway line var3 var2
But I want to write var1 into the x-axis like this. How can I do this? I opened the image editor and tried various things but couldn't find how to do it. Array