Difference: CDChartSetBGColor (1 vs. 6)

Revision 62012-02-19 - JeanNeron

Line: 1 to 1
Changed:
<
<
META TOPICPARENT name="CDChartDirectorDesignerAPI"
>
>
META TOPICPARENT name="CDChartDirectorBaseChartRoutines"
 

.CHART SET BG COLOR

This subroutine sets the background color of the "current" chart spec.

Revision 52011-09-22 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.CHART SET BG COLOR

Line: 21 to 21
 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.

Added:
>
>
See ColorSpec for more information on working with colors.
 

Comments:

Read what other users have said about this page or add your own comments.

Revision 42011-09-14 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.CHART SET BG COLOR

Line: 9 to 9
 
      PASS         <color_spec_name>          FIELD            SHARE? N
      *        OR
      PASS         <color_value>              FIELD            SHARE? N
Changed:
<
<
GOSUB CHT .CHART SET BG COLOR
>
>
GOSUB 0CD .CHART SET BG COLOR
 
    • Check for error
Changed:
<
<
IF CHT .CHART SET BG COLOR NE
>
>
IF 0CD .CHART SET BG COLOR NE
 

Description:

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>.

Revision 32010-04-11 - SteveFrizzell

Line: 1 to 1
 
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.CHART SET BG COLOR

Line: 16 to 16
  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>.
Changed:
<
<
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.
 
Changed:
<
<
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:

Revision 22010-03-20 - SteveFrizzell

Line: 1 to 1
Changed:
<
<
META TOPICPARENT name="ChartDirectorDesignerAPI"
>
>
META TOPICPARENT name="CDChartDirectorDesignerAPI"
 

.CHART SET BG COLOR

This subroutine sets the background color of the "current" chart spec.

Revision 12010-03-18 - SteveFrizzell

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="ChartDirectorDesignerAPI"

.CHART SET BG COLOR

This subroutine sets the background color of the "current" chart spec.

Usage:

      PASS         <color_spec_name>          FIELD            SHARE? N
      *        OR
      PASS         <color_value>              FIELD            SHARE? N
      GOSUB    CHT .CHART SET BG COLOR
      *        Check for error
      IF       CHT .CHART SET BG COLOR        NE

Description:

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 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.

After setting the background color, the background color spec becomes the "current" color spec.

Comments:

Read what other users have said about this page or add your own comments.

<--/commentPlugin-->

-- SteveFrizzell - 2010-03-18

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback