When executing a query from the SQL query page (tbl_sql.php), the query profile chart is not displayed. If you hit the refresh button on the page, it gets drawn after the ajax request returns.
I'm not 100% sure, but it looks like the problem is that the required js for the chart doesn't get loaded before it's needed the first time the query is run. After you hit the refresh button and the ajax request returns, the needed js files are loaded, allowing the chart to be drawn.
I will be submitting a pull request soon for feature request #1363 which improves the query profiler and adds sorting to the profiler results tables. The sorting for the tables also does not get loaded for the same reason that the chart is not drawn.