Overview
Open the plot controls by clicking the plot link. Then choose the line chart option and click "add pgf plot".
You will be presented with a dialog window. Select the dataset you wish to plot. Select the x and y axis
columns. (x is optional) Click the "Add Series" button to add the series. You can add multiple series to the
same chart.
Finally click the add button. This will add the code for the chart in the selected latex document at the point of the cursor.
In order to use the pgf plot facilities, you must include the following at the top of your document, after the document class declaration.
\usepackage{pgfplots}