|
META TOPICPARENT |
name="CDChartDirectorDesignerAPI" |
.CHART SET BG COLOR |
|
This subroutine set the background color of the chart area for the "current" chart spec. This routine receives a single, optional value specifying either a <color_spec_name> or a <color_value>. |
|
< < | If a parameter is not received, then the background color of the chart spec is cleared and the default background color will be rendered. |
> > | If a parameter is not received or if the value received is blank, then the background color of the chart spec is cleared and the default background color will be rendered. |
| |
|
< < | If a parameter is received, the system first assumes that the value received is a <color_spec_name> and checks to see if a color spec record has been previously initialized with that name. If a color spec record is found, then that color spec record is used to create a color spec for the background color. If a color spec record is not found, then the system assumes that the value received is a literal <color_value> and uses the specified color to create a color spec for the background color. |
> > | If a parameter is received, the system first assumes that the value received is a <color_spec_name> and checks to see if a color spec record has been previously initialized with that name. If a color spec record is found, then that color spec record is used as a prototype to create a color spec for the background color. If a color spec record is not found, then the system assumes that the value received is a literal <color_value> and uses the specified color to create a color spec for the background color. |
|
After setting the background color, the background color spec becomes the "current" color spec.
Comments: |