.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