Difference: CDXYSetBarGapWithin (1 vs. 2)

Revision 22012-02-25 - JeanNeron

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

.XY SET BAR GAP:WITHIN

This subroutine sets the gap between the bars or a bar group in a bar chart layer.

Revision 12011-10-14 - JeanNeron

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

.XY SET BAR GAP:WITHIN

This subroutine sets the gap between the bars or a bar group in a bar chart layer.


Usage:

      PASS         <subBar_gap>               FIELD            SHARE? N
      GOSUB    0CD .XY SET BAR GAP:WITHIN
      *        Check for error 
      IF       0CD .XY SET BAR GAP:WITHIN     NE

Description:

Sets the gap between bar groups in a bar chart layer. This only applies to 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). The subroutine accepts 1 optional parameter:

<subBar_gap> - This is the portion of the space between the bars in a bar group.

The gap between the bars is expressed as the portion of the space between the bars. For example, a bar gap of 0.2 means 20% of the distance between two adjacent bars is the gap between the bars. A bar gap of 0 means there is no gap in between the bars. The bar gap can be negative. In this case, the bars will overlap.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2011-10-14

 
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