Charts the OLAPQuery data set, and creates an OLAPChart and OLAPResults section automatically.
Expression.ShowAsChart()
The following script was associated with a OnClick event. When the user clicks a command button, the OLAPQuery is charted and an OLAPResults and OLAPChart are created automatically:
ActiveDocument.Sections["OLAPQuery"].ShowAsChart()