Tags:
create new tag
view all tags

.PIE SET ORIGIN

This subroutine sets the x and y coordinates (horizontal and vertical) of the center of the pie for the "current" chart.

Usage:

      PASS         <pie_X_coord>              FIELD            SHARE? N
      PASS         <pie_Y_coord>              FIELD            SHARE? N
      GOSUB    0CD .PIE SET ORIGIN
      *        Check for error
      IF       0CD .PIE SET ORIGIN            NE

Description:

This subroutine sets the origin of the pie for the "current" chart.

The <pie_x_coord> value is relative to the top left corner of the chart. This value represents the number of pixels that the pie origin is to be positioned to the right.

The <pie_y_coord> value is relative to the top left corner of the chart. This value represents the number of pixels that the pie origin is to be positioned down.

Passing the <pie_x_coord> parameter is optional. If the <pie_x_coord> parameter is not passed or if the value passed is blank, then a default value is computed for the x coordinate of the pie origin when the chart is rendered. The default value is the width of the chart divided by 2.

Passing the <pie_y_coord> parameter is optional. If the <pie_y_coord> parameter is not passed or if the value passed is blank, then a default value is computed for the y coordinate of the pie origin when the chart is rendered. The default value is the height of the chart divided by 2. If the chart has a title, then the origin is shifted downward by an additional 10 pixels.

The X coordindate may be set at individually via .PIE SET ORIGIN:X and the Y coordinate may be set via .PIE SET ORIGIN:Y

Comments:

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

-- SteveFrizzell - 2010-03-23

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