.PIE SET LBL BOUNDS

This subroutine sets the upper and lower bounds for drawing labels on the "current" chart.


Usage:

      PASS         <top_bound>                FIELD            SHARE? N
      PASS         <bottom_bound>             FIELD            SHARE? N
      GOSUB    0CD .PIE SET LBL BOUNDS
      *        Check for error
      IF       0CD .PIE SET LBL BOUNDS        NE

Description:

This subroutine sets the upper and lower bounds of the sector labels for the "current" chart, in pixels. This is only relevant if the layout method has been set to 'Side' via .PIE SET LBL LAYOUT.

<top_bound> controls the top bound of the labels (the minimum y coordinate), thereby limiting the extent that the labels can be shifted up to avoid overlapping. This parameter is typically used prevent the labels from moving up too much and overlapping with other chart objects (such as the chart title).

<bottom_bound> controls the bottom bound of the labels (the maximum y coordinate), thereby limiting the extent which the labels can be shifted down to avoid overlapping. This parameter is typically used to prevent the labels from moving down too much and overlapping with other chart objects.

You can also set the upper limit individually via .PIE SET LBL BOUNDS:T and the lower limit via .PIE SET LBL BOUNDS:B

Passing a blank value, or not passing anything will result in default values being used.

Comments:

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


-- JeanNeron - 2011-10-03


This topic: Main > WebHome > APPX510Features > CDChartDirectorDesignerAPI > CDPieSetLabelBounds
Topic revision: r2 - 2011-11-11 - 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