Save and test the page
Div |
---|
|
Image Modified Estimated Time: 1-2 min |
Now, go back to the Sales by Product page and click Save to save it. You should now see a page that appears as shown on the right. The pie chart is shown, with the data table appearing after it.
If you see an error such as "Error rendering macro 'sql-query' : com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException", then check the syntax of the SELECT statement within the SQL Query macro container.
If you see an error such as "Error rendering macro 'sql-query' : Unable to connect to database", then verify that the SQL Query macro's Data source name parameter is set to the correct value and that the examplegeardb data source profile was set up per the installation instructions.