GraphOptions specifies several of the options for the specified chart.
[form.]Report.GraphOptions(ArrayIndex%) [= sectionCode; graphNum; fontFace; barDirection; labelRisers; gridLines; legend; max; min$]
CrystalReport1.GraphOptions(0) = "FOOTER;0;Arial;H;T;F;X;max;min"
«Sets the font to Arial, sets horizontal bars, shows a data value on every riser (labelRisers = T), and toggles the grid lines off in the first Graph in the Page Footer section.»
With GraphOptions, you can specify changes to one or more graphs at runtime. Those changes then take place sequentially when you make the "Action=1" call. The array index value for GraphOptions simply specifies the sequence number for the change.
CrystalReport1.GraphOptions(0) = "GROUPHDR.0.0; 1; Arial; (H; T; F; legend; max; min"
when making changes to one graph only, but
CrystalReport1.GraphOptions(0) = "TITLE; 1 Arial; H; T; F; X; 100; 0" CrystalReport1.GraphOptions(1) = "TITLE; 1 Arial; H; T; F; X; 100; 0"
when making changes to more than one graph.
Use the following chart as a guide in entering the required property values:
| Parameter | Description | Values expected |
|---|---|---|
Please refer to Overview of Section Codes. | ||
Graphs in a section are numbered, starting with zero, left to right first, then top to bottom. | ||
Specifies the font face you want to use for the entire graph. | ||
In a bar graph, specifies the direction in which you want the graph bars to appear. | ||
Specifies whether or not you want to show the data value on every riser. | ||
Specifies the maximum value you want included in your graph. | ||
Specifies the minimum value you want included in your graph. |
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |