Difference: CDChartSetTitle (1 vs. 6)

Revision 62012-02-19 - JeanNeron

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

.CHART SET TITLE

This subroutine is called to set the title for the "current" chart.

Revision 52011-09-14 - JeanNeron

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

.CHART SET TITLE

Line: 8 to 8
 

Usage:

      PASS         <chart_title>              FIELD            SHARE? N
      PASS         <text_box_name>            FIELD            SHARE? N
Changed:
<
<
GOSUB CHT .CHART SET TITLE
>
>
GOSUB 0CD .CHART SET TITLE
 
    • Check for error
Changed:
<
<
IF CHT .CHART SET TITLE NE
>
>
IF 0CD .CHART SET TITLE NE
 

Description:

This subroutine sets the title for the "current" chart. This subroutine only needs to be called if the chart is to have a title or if a previously set chart title is to be changed or removed.

Revision 42010-04-09 - SteveFrizzell

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

.CHART SET TITLE

Changed:
<
<
This subroutine is called to set the title for the "current" chart spec.
>
>
This subroutine is called to set the title for the "current" chart.
 

Usage:

      PASS         <chart_title>              FIELD            SHARE? N
Changed:
<
<
PASS FIELD SHARE? N
>
>
PASS FIELD SHARE? N
  GOSUB CHT .CHART SET TITLE
    • Check for error IF CHT .CHART SET TITLE NE

Description:

Changed:
<
<
This subroutine sets the title for the "current" chart.
>
>
This subroutine sets the title for the "current" chart. This subroutine only needs to be called if the chart is to have a title or if a previously set chart title is to be changed or removed.
 
Changed:
<
<
The parameters for this subroutine are both optional.
>
>
<chart_title> is the text string which will be rendered as the chart title in a text box normally positioned at the top the chart area. The <chart_title> parameter is optional.
  • If a non-blank <chart_title> is passed, then a title is set for the "current" chart. If a title has been previously set, then that title is replaced.
  • If a <chart_title> is not passed or if a blank title is passed, then no title is set. If a title has been previously set, then that title is cleared along with all of the related chart title attributes.

<text_box_name> is the name of a previously initialized text box. The <text_box_name> parameter is optional.

  • If a <text_box_name> is passed, then the attributes of the specified text box are used as a prototype for the attributes of the <chart_title>. Two special keywords may be used in lieu of a <text_box_name>: "INITIALIZE" and "CURRENT"
    • "INITIALIZE" indicates that the chart title is to be set and no special title attributes are to be set. Any previously set title attributes are to be cleared.
    • "CURRENT" indicates that the chart title is to be set and the attributes of the "current" text box are to be used as a prototype for the attributes of the <chart_title>.
  • If a <text_box_name> is not passed, then the following rules determine how the attributes of the chart title are set:
    • If the chart title has been previously set, then the new chart title is set and any previously set attributes of the chart title are not changed.
    • If the chart title has not been previously set, then the attributes of the "current" text box will be used as a prototype for the attributes of the <chart_title> provided that the "current" text box has been explicitly initialized or is associated with another chart's title. If the "current" text box is not appropriate, then no attributes of the <chart_title> will be set in conjunction with setting the chart title.
 
Changed:
<
<
If a <chart_title> is passed, then the title is set for the "current" chart spec.
>
>
If no attributes are set for a chart title, the title is rendered using certain default text attributes which are appropriate for a chart title. For example, the chart title will be be positioned at the top of the chart area, centered horizontally, and rendered using a larger, bold font.
 
Changed:
<
<
If a <chart_title> is not passed, then any existing chart title for the "current" chart spec is cleared along with all of the related chart title attributes.

If a <text_spec_name> is passed, then the text attributes of the named text spec are set as the default attributes for the chart title.

The chart title become the "current" text object and subsequent calls to the various text routines set/modify the text attributes of the title.

>
>
The chart title text box become the "current" text box and subsequent calls to the various text subroutines may be made to further set/modify the text attributes of the chart title.
 

Comments:

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

Revision 32010-03-20 - SteveFrizzell

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

.CHART SET TITLE

This subroutine is called to set the title for the "current" chart spec.

Line: 31 to 31
 
<--/commentPlugin-->

-- SteveFrizzell - 2010-03-17

Added:
>
>
META TOPICMOVED by="SteveFrizzell" date="1269082509" from="Main.ChartSetTitle" to="Main.CDChartSetTitle"

Revision 22010-03-17 - SteveFrizzell

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

.CHART SET TITLE

Changed:
<
<
This subroutine is called to set the title for a chart.
>
>
This subroutine is called to set the title for the "current" chart spec.
 
Added:
>
>

Usage:

      PASS         <chart_title>              FIELD            SHARE? N
      PASS         <text_spec_name>           FIELD            SHARE? N
      GOSUB    CHT .CHART SET TITLE
      *        Check for error
      IF       CHT .CHART SET TITLE           NE

Description:

 
Changed:
<
<
Usage:
>
>
This subroutine sets the title for the "current" chart.
 
Changed:
<
<
Description:
>
>
The parameters for this subroutine are both optional.

If a <chart_title> is passed, then the title is set for the "current" chart spec.

If a <chart_title> is not passed, then any existing chart title for the "current" chart spec is cleared along with all of the related chart title attributes.

If a <text_spec_name> is passed, then the text attributes of the named text spec are set as the default attributes for the chart title.

The chart title become the "current" text object and subsequent calls to the various text routines set/modify the text attributes of the title.

 

Comments:

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

Revision 12010-03-17 - SteveFrizzell

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

.CHART SET TITLE

This subroutine is called to set the title for a chart.

Usage:

Description:

Comments:

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

<--/commentPlugin-->

-- SteveFrizzell - 2010-03-17

 
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