Difference: CDXYSetLegendTxt (1 vs. 7)

Revision 72012-02-25 - JeanNeron

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

.XY SET LEGEND TXT

This subroutine sets the name to be included in the Legend box.

Revision 62012-01-11 - JeanNeron

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

.XY SET LEGEND TXT

Line: 12 to 12
  IF 0CD .XY SET LEGEND TXT NE

Description:

Changed:
<
<
Sets the name to be included in the legend box for the "current" dataset of the current data group of the current XY Layer. You must have initialized the chart as an XY Chart via.CHART INITIALIZE and added a bar layer via .XY ADD BAR LAYER and added a data set template via .LAYER ADD DATASET TM for this to have any effect.
>
>
Sets the name to be included in the legend box for the "current" dataset template of the current data group of the current XY Layer. You must have initialized the chart as an XY Chart via.CHART INITIALIZE and added a bar layer via .XY ADD BAR LAYER and added a data set template via .LAYER ADD DATASET TM for this to have any effect.
  The parameter is optional. If not passed, or blank, the current legend will be removed and the current Text spec will be deleted. If a value is passed, it will become a legend in the current legend box.

Revision 52011-12-22 - JeanNeron

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

.XY SET LEGEND TXT

Line: 12 to 12
  IF 0CD .XY SET LEGEND TXT NE

Description:

Changed:
<
<
Sets the name to be included in the legend box for the "current" dataset of the current data group of the current XY Layer. You must have initialized the chart as an XY Chart via.CHART INITIALIZE and added a bar layer via .XY ADD BAR LAYER and added a data set template via .LAYER ADD DATASET for this to have any effect.
>
>
Sets the name to be included in the legend box for the "current" dataset of the current data group of the current XY Layer. You must have initialized the chart as an XY Chart via.CHART INITIALIZE and added a bar layer via .XY ADD BAR LAYER and added a data set template via .LAYER ADD DATASET TM for this to have any effect.
  The parameter is optional. If not passed, or blank, the current legend will be removed and the current Text spec will be deleted. If a value is passed, it will become a legend in the current legend box.

Revision 42011-12-16 - JeanNeron

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

.XY SET LEGEND TXT

Line: 12 to 12
  IF 0CD .XY SET LEGEND TXT NE

Description:

Changed:
<
<
Sets the name to be included in the legend box for the "current" dataset of the current data group of the current XY Layer. You must have initialized the chart as an XY Chart via.CHART INITIALIZE and added a bar layer via .XY ADD BAR LAYER for this to have any effect.
>
>
Sets the name to be included in the legend box for the "current" dataset of the current data group of the current XY Layer. You must have initialized the chart as an XY Chart via.CHART INITIALIZE and added a bar layer via .XY ADD BAR LAYER and added a data set template via .LAYER ADD DATASET for this to have any effect.
  The parameter is optional. If not passed, or blank, the current legend will be removed and the current Text spec will be deleted. If a value is passed, it will become a legend in the current legend box.

Revision 32011-12-05 - JeanNeron

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

.XY SET LEGEND TXT

Line: 12 to 12
  IF 0CD .XY SET LEGEND TXT NE

Description:

Changed:
<
<
Sets the name to be included in the legend box for the "current" dataset of the current data group of the current XY Layer. You must have intialized the chart as an XY Chart via.CHART INITIALIZE and added a bar layer via .XY ADD BAR LAYER for this to have any effect.
>
>
Sets the name to be included in the legend box for the "current" dataset of the current data group of the current XY Layer. You must have initialized the chart as an XY Chart via.CHART INITIALIZE and added a bar layer via .XY ADD BAR LAYER for this to have any effect.
  The parameter is optional. If not passed, or blank, the current legend will be removed and the current Text spec will be deleted. If a value is passed, it will become a legend in the current legend box.

Revision 22011-11-11 - JeanNeron

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

.XY SET LEGEND TXT

Revision 12011-10-19 - JeanNeron

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

.XY SET LEGEND TXT

This subroutine sets the name to be included in the Legend box.


Usage:

      PASS         <legend_name>            FIELD            SHARE? N
      GOSUB    0CD .XY SET LEGEND TXT
      *        Check for error 
      IF       0CD .XY SET LEGEND TXT     NE

Description:

Sets the name to be included in the legend box for the "current" dataset of the current data group of the current XY Layer. You must have intialized the chart as an XY Chart via.CHART INITIALIZE and added a bar layer via .XY ADD BAR LAYER for this to have any effect.

The parameter is optional. If not passed, or blank, the current legend will be removed and the current Text spec will be deleted. If a value is passed, it will become a legend in the current legend box.

After setting the Legend text, it becomes the "current" text spec.

See Datasets Overview for more information on data sets, data groups, and layers.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2011-10-19

 
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