Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
.XY ADD BAR LAYER | ||||||||
Line: 6 to 6 | ||||||||
Usage: | ||||||||
Changed: | ||||||||
< < | PASS <data_combine_method> FIELD SHARE? N PASS <bar_color_style> FIELD SHARE? N GOSUB 0CD .XY ADD BAR LAYER | |||||||
> > | * Opt PASS <data_combine_method> FIELD SHARE? N * Opt PASS <bar_color_style> SHARE? N * Opt PASS <auto_link> SHARE? N * GOSUB 0CD .XY ADD BAR LAYER | |||||||
| ||||||||
Changed: | ||||||||
< < | IF 0CD .XY ADD BAR LAYER NE | |||||||
> > | * IF 0CD .XY ADD BAR LAYER NE | |||||||
Description: | ||||||||
Changed: | ||||||||
< < | This subroutine adds a Bar layer to the "current" chart spec and automatically links the "current" dataset to it, if there is one. You must have intialized the chart as an XY Chart via .CHART INITIALIZE for this to have any effect. | |||||||
> > | This subroutine adds a Bar layer to the "current" chart spec and optionally links the "current" dataset to it, if there is one. You must have intialized the chart as an XY Chart via .CHART INITIALIZE for this to have any effect. | |||||||
This subroutine is used to add one or more bar layers to your chart. An XY chart must have at least one Layer. | ||||||||
Changed: | ||||||||
< < | This routine receives two optional values, a <data_combine_method> and a <bar_color_style>. | |||||||
> > | This routine receives three optional values, a <data_combine_method>, a <bar_color_style> and <auto_link>. | |||||||
If we are only going to have one data set on our chart, then the <data_combine_method> does not really apply. If we have multiple data sets, then the <data_combine_method> will determine how they will be shown. Valid values are: | ||||||||
Line: 31 to 33 | ||||||||
If blank or not passed, then each data set will be plotted in it's own layer. | ||||||||
Changed: | ||||||||
< < | <bar_color_style> must be either blank or 'multiple'. Blank means that every bar in the layer will be the same color. 'Multiple' means that you will set the color of each bar via .XY SET BAR CLR. | |||||||
> > | <bar_color_style> must be either blank or 'multiple'. Blank means that every bar in the layer will be the same color. 'Multiple' means that you must the color of each bar via .XY SET BAR CLR. | |||||||
Changed: | ||||||||
< < | If you have created your data set before calling this subroutine, then a default data group and data template will be created and linked to your data set automatically. | |||||||
> > | <auto_link> must be one of On, Off, True or False. If not passed, or set to On or True, then if you have created your data set before calling this subroutine, a default data group and data template will be created and linked to your data set automatically. This can be helpful if you only have one dataset to link. If you have multiple data sets, you might find it easier to manually create your data group (.LAYER ADD DATA GROUP) and template (.LAYER ADD DATASET) and then link it (.LAYER LINK DATASET). | |||||||
See Datasets Overview for more information on working with Layers, Data Groups, Data Templates, Data Sets and Data Points.
Comments: |