Select Results--> Display chart to define the layout for the chart being created from the query results.