Tags:
create new tag
view all tags

.XY SET BAR OLAP:RATIO

This subroutine sets the overlap ratio among bars within a bar group in a multi-bar chart.


Usage:

      PASS         <olap_ratio>               FIELD            SHARE? N
      GOSUB    0CD .XY SET BAR OLAP:RATIO
      *        Check for error
      IF       0CD .XY SET BAR OLAP:RATIO     NE

Description:

This subroutine sets the overlap ratio among bars within a bar group in a multi-bar chart.

You have to define a Layer via .XY ADD BAR LAYER for this subroutine to have any effect.

By default, in a multi-bar chart, the bars are not overlapped, but are separated with a gap in between. This subroutine can be used to set an alternative style, where the bars partially overlap. Also see .XY SET BAR GAP.

The parameter is optional, and if blank or not passed, will be reset to the default value.

<olap_ratio> - The overlapping ratio between adjacent bars in a bar group. Should be between 0 to 1.

Also see .XY SET BAR OLAP:ORDER to the order by itself or .XY SET BAR OLAP to set both the ratio and order at the same time.

Comments:

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


-- JeanNeron - 2011-10-19

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2012-02-25 - JeanNeron
 
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