Difference: CDXYSetBarW (1 vs. 4)

Revision 42012-02-25 - JeanNeron

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

.XY SET BAR W

This subroutine sets the bar and subBar width in a chart layer.

Revision 32011-11-11 - JeanNeron

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

.XY SET BAR W

Line: 6 to 6
 

Usage:

Changed:
<
<
* Opt PASS         <bar_width>                FIELD            SHARE? N
* Opt PASS         <subBar_width>             FIELD            SHARE? N
*     GOSUB    0CD .XY SET BAR W

>
>
      PASS         <bar_width>                FIELD            SHARE? N
      PASS         <subBar_width>             FIELD            SHARE? N
      GOSUB    0CD .XY SET BAR W

 
    • Check for error
Changed:
<
<
* IF 0CD .XY SET BAR W NE
>
>
IF 0CD .XY SET BAR W NE
 

Description:

Revision 22011-11-08 - JeanNeron

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

.XY SET BAR GAP

>
>

.XY SET BAR W

  This subroutine sets the bar and subBar width in a chart layer.
Line: 12 to 12
 
    • Check for error
* IF 0CD .XY SET BAR W NE
Changed:
<
<
Description:
>
>

Description:

 
Sets the bar width of the bars or subbars in a bar chart layer. The subroutine accepts 2 optional parameters:
Line: 21 to 20
  <subBar_width> - This argument only applies to multi-bar charts. It is the width of the bars in a bar group in pixels.
Changed:
<
<
For multi-bar layers (bar layers using the Side data combine method, or for stacked bar layers with multiple data groups, see .XY ADD BAR LAYER), barGap refers to the portion of the space between bar groups, while subBarGap refers to the portion of the space between bars within the bar group.

Comments:

>
>
See .XY SET BAR W:GROUP to set <bar_width> only, or .XY SET BAR W:WITHIN to set <subBar_width> only.

Comments:

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

Revision 12011-11-08 - JeanNeron

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

.XY SET BAR GAP

This subroutine sets the bar and subBar width in a chart layer.


Usage:

* Opt PASS         <bar_width>                FIELD            SHARE? N
* Opt PASS         <subBar_width>             FIELD            SHARE? N
*     GOSUB    0CD .XY SET BAR W
      *        Check for error
*     IF       0CD .XY SET BAR W              NE

Description:

Sets the bar width of the bars or subbars in a bar chart layer. The subroutine accepts 2 optional parameters:

<bar_width> - The width of the bars (or bar groups for multi-bar layers) in pixels.

<subBar_width> - This argument only applies to multi-bar charts. It is the width of the bars in a bar group in pixels.

For multi-bar layers (bar layers using the Side data combine method, or for stacked bar layers with multiple data groups, see .XY ADD BAR LAYER), barGap refers to the portion of the space between bar groups, while subBarGap refers to the portion of the space between bars within the bar group.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2011-11-08

 
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