ACC: How to Format a Label for Each Axis of a GraphLast reviewed: May 13, 1997Article ID: Q147193 |
The information in this article applies to:
SUMMARYModerate: Requires basic macro, coding, and interoperability skills. The Microsoft Access Chart Wizard (or Graph Wizard in Microsoft Access version 2.0) enables you to format a label for each axis of a chart. You can modify the label formats in Microsoft Graph and then save those changes for later use. Under certain circumstances, however, it is not possible to simply reformat the data in Microsoft Graph. To resolve this situation, you should apply the desired formatting before the information is sent to the chart.
MORE INFORMATIONWhen a chart is created, the nature of the chart and/or the type of grouping may require a temporary modification of the data that is sent to the chart. This modification takes place in the SQL statement that is generated for the chart by the Chart Wizard. In the example cited for this article, a Date field is converted to an integer number using the Year() function. Because this data is no longer a Date data type, it cannot be formatted using the available Date formats. When a chart is created using the Chart Wizard, an SQL statement is built. This statement is placed in the RowSource property of the chart object. Each time the form or report in which the chart resides is refreshed, the SQL statement is re-executed and the results are sent to Microsoft Graph.
How to Change the Format of the Labels in a ChartThe following example describes the steps to change the format of the labels in a chart. For Microsoft Access 7.0 and 97:
Changing the Label Format (Microsoft Access 2.0, 7.0, and 97)
REFERENCESFor more information about editing graphs, search the Help Index for "Graphs," or ask the Microsoft Access 97 Office Assistant. For more information about this subject in Microsoft Access 1.x, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q99398 TITLE: ACC1x: Formatting a Label for Each Axis of a Graph |
Keywords : IntpGrph kbtool
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |