Tags:
create new tag
view all tags

.XY SET BAR CLR:DS

This subroutine sets the color of the bar at the "current" data set template.


Usage:

      PASS         <color_spec_name>          FIELD            SHARE? N
      *        OR
      PASS         <color_value>              FIELD            SHARE? N
      GOSUB    0CD .XY SET BAR CLR:DS
      *        Check for error 
      IF       0CD .XY SET BAR CLR:DS         NE

Description:

Sets the color of the bars at the "current" data set template. You must have initialized the chart as an XY Chart via .CHART INITIALIZE and added a bar layer via .XY ADD BAR LAYER for this to have any effect.

The parameter is optional, if not received or blank, the color will be reset to the default.

You can set the color for the current data point via.XY SET BAR CLR:DP, or the current data group via .XY SET BAR CLR:DG or the current data layer via .XY SET BAR CLR:LR. See also .XY SET BAR CLR.

After setting the bar color, the bar spec becomes the "current" color spec.

See ColorSpec for more information on working with colors.

See Datasets Overview for more information on data sets, data groups, and layers.

Comments:

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


-- JeanNeron - 2011-10-13

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