Difference: CDPieSetOriginY (1 vs. 3)

Revision 32012-02-24 - JeanNeron

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

.PIE SET ORIGIN:Y

This subroutine sets the y coordinate (vertical) of the center of the pie for the "current" chart.

Revision 22011-11-10 - JeanNeron

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

.PIE SET ORIGIN:Y

Revision 12011-09-29 - JeanNeron

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

.PIE SET ORIGIN:Y

This subroutine sets the y coordinate (vertical) of the center of the pie for the "current" chart.


Usage:

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

Description:

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

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_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 or both coordinates may be set via .PIE SET ORIGIN

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2011-09-29

 
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