Difference: CDPieSetRadius (1 vs. 3)

Revision 32012-02-24 - JeanNeron

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

.PIE SET RADIUS

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

Revision 22011-11-10 - JeanNeron

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

.PIE SET RADIUS

Revision 12011-09-29 - JeanNeron

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

.PIE SET RADIUS

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


Usage:

      PASS         <outer_radius>              FIELD            SHARE? N
      PASS         <inner_radius>              FIELD            SHARE? N
      GOSUB    0CD .PIE SET RADIUS
      *        Check for error
      IF       0CD .PIE SET RADIUS            NE

Description:

This subroutine sets the radius of the pie for the "current" chart, in pixels. If the chart is 'Donut' style (see .PIE SET SHAPE) you can pass both an inner and outer radius. The difference between the two will determine the size of the donut. A Pie chart requires only one radius.

Passing a blank value, or not passing anything will result in the radius being cleared. It will be automatically calculated when the chart is rendered.

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