Difference: CDXYSetPlotArea (1 vs. 5)

Revision 52012-02-24 - JeanNeron

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

.XY SET PLOT AREA

This subroutine sets position and size of the plot area for an XY type chart.

Revision 42011-12-07 - JeanNeron

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

.XY SET PLOT AREA

Line: 15 to 15
  IF 0CD .XY SET PLOT AREA NE

Description:

Changed:
<
<
This subroutine sets the location and size of the plot area for an XY chart, in pixels. You must have initialized the chart as an XY Chart via .CHART INITIALIZE for this to have any effect.
>
>
This subroutine sets the location and size of the plot area for an XY chart, in pixels. You must have initialized the chart as an XY Chart via .CHART INITIALIZE for this to have any effect. Plot area is the portion of the chart area where the chart will be displayed. Legends, labels, axis labels, etc, are all outside of the plot area and have to fit between the plot area and the chart size.
  The parameters are optional, if blank or not passed they will be reset to their default values. If passed, the values must be between 0-99999.

Revision 32011-12-05 - JeanNeron

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

.XY SET PLOT AREA

Line: 15 to 15
  IF 0CD .XY SET PLOT AREA NE

Description:

Changed:
<
<
This subroutine sets the location and size of the plot area for an XY chart, in pixels. You must have intialized the chart as an XY Chart via .CHART INITIALIZE for this to have any effect.
>
>
This subroutine sets the location and size of the plot area for an XY chart, in pixels. You must have initialized the chart as an XY Chart via .CHART INITIALIZE for this to have any effect.
  The parameters are optional, if blank or not passed they will be reset to their default values. If passed, the values must be between 0-99999.

Revision 22011-11-11 - JeanNeron

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

.XY SET PLOT AREA

Revision 12011-10-11 - JeanNeron

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

.XY SET PLOT AREA

This subroutine sets position and size of the plot area for an XY type chart.


Usage:

      PASS         <x_coord>                  FIELD            SHARE? N
      PASS         <y_coord>                  FIELD            SHARE? N
      PASS         <plot_area_width>          FIELD            SHARE? N
      PASS         <plot_area_height>         FIELD            SHARE? N
      GOSUB    0CD .XY SET PLOT AREA
      *        Check for error 
      IF       0CD .XY SET PLOT AREA     NE

Description:

This subroutine sets the location and size of the plot area for an XY chart, in pixels. You must have intialized the chart as an XY Chart via .CHART INITIALIZE for this to have any effect.

The parameters are optional, if blank or not passed they will be reset to their default values. If passed, the values must be between 0-99999.

The <x_coord> and <y_coord> represent the location of the upper left corner of the plot area. <plot_area_width> is the width of the plot area, and <plot_area_height> is the height of the plot area.

These parameters can also be set individually via .XY SET PLOT AREA:X, .XY SET PLOT AREA:Y, .XY SET PLOT AREA:W and .XY SET PLOT AREA:H.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2011-10-11

 
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