Tags:
create new tag
view all tags

.XY SET BAR OLAP

This subroutine sets overlapping among bars within a bar group in a multi-bar chart.


Usage:

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

Description:

This subroutine sets overlapping 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 parameters are optional, and if blank or not passed, will be reset to their default values.

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

<olap_order> - Valid values are First, Firstontop, First On Top, Last, Lastontop, Last On Top. If this value is First, Firstontop, or First On Top, the first data set will be on top of the second data during overlapping, and the second data set will be on top of the third data set, and so on. If this value is Last, Lastontop, or Last On Top, then the overlapping order will be reversed. The default is 'last', so the last data added will be on top.

Also see .XY SET BAR OLAP:ORDER to set the order by itself or .XY SET BAR OLAP:RATIO to set the ratio by itself.

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: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 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