---+ .PIE SET ORIGIN _This subroutine sets the x and y coordinates (horizontal and vertical) of the center of the pie for the "current" chart._ %TOC% ---++ Usage: <verbatim> 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</verbatim> ---++ 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 [[CDPieSetOriginX][.PIE SET ORIGIN:X]] and the Y coordinate may be set via [[CDPieSetOriginY][.PIE SET ORIGIN:Y]] ---++ Comments: _Read what other users have said about this page or add your own comments._ %COMMENT% -- Main.SteveFrizzell - 2010-03-23
This topic: Main
>
WebHome
>
APPX510Features
>
CDChartDirectorDesignerAPI
>
CDChartDirectorPieChartRoutines
>
CDPieSetOrigin
Topic revision: r4 - 2012-02-24 - JeanNeron
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback