Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
.PIE SET ORIGINThis 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 CHT .PIE SET ORIGIN * Check for error IF CHT .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.Comments:Read what other users have said about this page or add your own comments. -- SteveFrizzell - 2010-03-23 |