Difference: CDChartSetDropShadowXY (1 vs. 2)

Revision 22011-11-10 - JeanNeron

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

.CHART SET DS LOC

Line: 10 to 10
  PASS <y_offset> FIELD SHARE? N GOSUB 0CD .CHART SET DS LOC
    • Check for error
Changed:
<
<
IF 0CD .CHART SET DS LOC NE
>
>
IF 0CD .CHART SET DS LOC NE
 

Description:

This subroutine sets the offset of the drop shadow. You must have activated a drop shadow via .CHART SET DROP SHADOW for this to have any effect.

Revision 12011-09-23 - JeanNeron

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

.CHART SET DS LOC

This subroutine sets the location of the drop shadow for the "current" chart spec.


Usage:

      PASS         <x_offset>                  FIELD            SHARE? N
      PASS         <y_offset>                  FIELD            SHARE? N
      GOSUB    0CD .CHART SET DS LOC
      *        Check for error 
      IF       0CD .CHART SET DS LOC     NE

Description:

This subroutine sets the offset of the drop shadow. You must have activated a drop shadow via .CHART SET DROP SHADOW for this to have any effect.

The parameters are optional, if blank or not passed it will be reset to the default value. If only one parameter is passed, both X and Y will be set to the same value. If passed, the value must be between 0-999, and represents the pixel offset from the upper left corner of the chart. A value of 0,0 will put the drop shadow right under the chart, and increasing values will appear to move the drop shadow farther away from the chart.

See .CHART SET DS LOC:X to set the X coordinate or .CHART SET DS LOC:Y to set the Y coordinate individually.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2011-09-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