J
Joseph Boland
I have a report with several embedded charts of type "MSGraph.Chart.8". If
I'm not mistaken, each chart is a control with the chart itself a child
object of the control. I have no trouble setting the rowsource property of
these chart controls using code like the following, where
"grphSelfAssessments" is the name of the control in the report.
Reports(strReportName).Controls("grphSelfAssessments").RowSource =
strRowSource
However, I cannot find the right syntax for setting properties of the
underlying chart object, such as the alignment of the X axis label, the chart
title, and so forth.
Please note that my code is working with an already designed report, not
creating one from scratch. In particular, the chart controls already exist
when the report is opened in desing mode in code.
--
Joseph Boland
Application Developer
Educational & Community Supports
University of Oregon
Eugene, OR 97403-1235
I'm not mistaken, each chart is a control with the chart itself a child
object of the control. I have no trouble setting the rowsource property of
these chart controls using code like the following, where
"grphSelfAssessments" is the name of the control in the report.
Reports(strReportName).Controls("grphSelfAssessments").RowSource =
strRowSource
However, I cannot find the right syntax for setting properties of the
underlying chart object, such as the alignment of the X axis label, the chart
title, and so forth.
Please note that my code is working with an already designed report, not
creating one from scratch. In particular, the chart controls already exist
when the report is opened in desing mode in code.
--
Joseph Boland
Application Developer
Educational & Community Supports
University of Oregon
Eugene, OR 97403-1235