ShowAsChart (Method)

Applies To:

(CubeQuery) QuerySection object

Description:

Creates a new Chart section to display the CubeQuery data as a chart. Calls DownloadToResults as part of its processing to create a table section as a parent for the Chart section. If a table or chart section already exists for the CubeQuery section, a new one is not created.

Syntax:

Expression.ShowAsChart()

Example:

This example show how to create a Chart section showing the data in the CubeQuery grid:

Sections[“Query”].ShowAsChart();