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


 

-- JeanNeron - 2011-09-29

This topic: APPX > WebHome > APPX510Features > CDChartDirectorDesignerAPI > CDChartDirectorPieChartRoutines > CDPieSetRadius
Topic revision: 24 Feb 2012, JeanNeron
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback