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

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.


-- JeanNeron - 2011-10-11


This topic: Main > WebHome > APPX510Features > CDChartDirectorDesignerAPI > CDXYSetPlotArea
Topic revision: r3 - 2011-12-05 - 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