Difference: CDPieSetOrigin (1 vs. 4)

Revision 42012-02-24 - JeanNeron

Line: 1 to 1
Changed:
<
<
META TOPICPARENT name="CDChartDirectorDesignerAPI"
>
>
META TOPICPARENT name="CDChartDirectorPieChartRoutines"
 

.PIE SET ORIGIN

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

Revision 32011-09-29 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.PIE SET ORIGIN

Line: 22 to 22
 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.

Added:
>
>
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.

Revision 22011-09-14 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.PIE SET ORIGIN

Line: 8 to 8
 

Usage:

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

Description:

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

Revision 12010-03-23 - SteveFrizzell

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.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    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.

<--/commentPlugin-->

-- SteveFrizzell - 2010-03-23

 
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