Difference: CDAxisSetTitleFontColor (1 vs. 3)

Revision 32012-02-25 - JeanNeron

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

.AXIS SET TTL FONT CLR

This subroutine sets the font color for the title of the "current" axis.

Revision 22011-11-11 - JeanNeron

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

.AXIS SET TTL FONT CLR

Line: 24 to 24
 
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.
Changed:
<
<
After setting the background color, the background color spec becomes the "current" color spec.
>
>
After setting the title color, the title color spec becomes the "current" color spec and the axis "current" label text box becomes the "current" text box.
 
See ColorSpec for more information on working with colors.
Deleted:
<
<
See FontSpecifications for more information on setting fonts and font numbers.
 

Comments:

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

Line: 36 to 35
 
<--/commentPlugin-->

-- JeanNeron - 2011-11-10

Deleted:
<
<
-- JeanNeron - 2011-11-10
 \ No newline at end of file

Revision 12011-11-10 - JeanNeron

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

.AXIS SET TTL FONT CLR

This subroutine sets the font color for the title of the "current" axis.


Usage:

      PASS         <color_spec_name>          FIELD            SHARE? N
      *        OR
      PASS         <color_value>              FIELD            SHARE? N
      GOSUB    0CD .AXIS SET TTL FONT CLR
      *        Check for error
      IF       0CD .AXIS SET TTL FONT CLR     NE

Description:

This subroutine sets the font color for the title for the "current" axis. You must have selected a "current" axis via.AXIS SET CURRENT before calling this routine. This is only useful if you have set an axis title via .AXIS SET TITLE.

This routine receives a single, optional value specifying either a <color_spec_name> or a <color_value>.

If a parameter is not received or if the value received is blank, then the title color of the axis spec is cleared and the default 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 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.

See ColorSpec for more information on working with colors.

See FontSpecifications for more information on setting fonts and font numbers.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2011-11-10

-- JeanNeron - 2011-11-10

 
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