Difference: CDChartDirectorDesignerAPI (1 vs. 114)

Revision 1142016-10-10 - AlKalter

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

Chart Director API for APPX

Changed:
<
<
This API can be used by an APPX designer to create business charts within an APPX application.
>
>
These APIs can be used by an APPX designer to create business charts within an APPX application.
 

Installation Tips

Overview

Line: 23 to 23
  Read what other users have said about this page or add your own comments.
Changed:
<
<

In the application CD1 00 I find some subroutines (for example: ROUND METER). In there I find some 0CD API's, like for example .METER SET AMETER.

>
>
In the application CD1 00 I find some subroutines (for example: ROUND METER). In there I find some 0CD API's, like for example .METER SET AMETER.
  I do not find them in this chapter of the Wiki.
Changed:
<
<
Is it true that a lot of API's are not yet documented in this wiki?
>
>
Is it true that a lot of API's are not yet documented in this wiki?
  -- Wim Jongejan - 2015-01-27
Changed:
<
<
They haven't been fully tested yet. If they work for you, feel free to use them. Also check out the input processes that begin with .TEST in 1CD
>
>
They haven't been fully tested yet. If they work for you, feel free to use them. Also check out the input processes that begin with .TEST in 1CD
  -- Jean Neron - 2015-01-28
<--/commentPlugin-->

Revision 1132015-01-28 - JeanNeron

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

Chart Director API for APPX

Line: 31 to 31
 Is it true that a lot of API's are not yet documented in this wiki?

-- Wim Jongejan - 2015-01-27

Added:
>
>

They haven't been fully tested yet. If they work for you, feel free to use them. Also check out the input processes that begin with .TEST in 1CD

-- Jean Neron - 2015-01-28

 
<--/commentPlugin-->

-- SteveFrizzell - 2010-02-14

Revision 1122015-01-27 - WimJongejan

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

Chart Director API for APPX

Line: 23 to 23
  Read what other users have said about this page or add your own comments.
Added:
>
>

In the application CD1 00 I find some subroutines (for example: ROUND METER). In there I find some 0CD API's, like for example .METER SET AMETER. I do not find them in this chapter of the Wiki.

Is it true that a lot of API's are not yet documented in this wiki?

-- Wim Jongejan - 2015-01-27

 
<--/commentPlugin-->

-- SteveFrizzell - 2010-02-14

Revision 1112012-03-23 - JeanNeron

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

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Changed:
<
<

Known Issues

>
>

Installation Tips

 

Overview

Data Routines

Line: 19 to 18
 

Pie Chart Routines

XY Chart Routines

Changed:
<
<
>
>

Known Issues

 

Comments:

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

Revision 1102011-12-05 - JeanNeron

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

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Changed:
<
<

Known Issues

>
>

Known Issues

 
Deleted:
<
<
  • The Linear Meter chart type has a few problems:
    • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
    • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.
  • The .CHART SET BG IMAGE routine does not pick up images in the default image directory, only a full pathname works
    • It verifies the file exists only for a full pathname, should verify image directory as well
    • Also check .CHART SET BG WALLPAPR, probably has the same problem.
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
  • The .CHART SET SHAPE AA seems to update the memory file, but unless you also call .CHART SET TXT AA MODE, nothing gets put in the php script. Even if you call .CHART SET TXT AA MODE, the parameter for shape AA is always true, even if you turned it off via .CHART SET SHAPE AA
  • The .LEGEND SET ICON GAP seems to update the memory file, but unless you also call .LEGEND SET ICON SZ, nothing gets written to the php script.
  • The .LEGEND SET TEMPLATE causes the chart to fail to render unless you enclose the text in "'s. When generating the php script, the API should do this automatically.
  • Setting the vertical gap via .LEGEND SET GAP:V doesn't work unless you also set the horizontal gap via .LEGEND SET GAP:H. If the horizontal gap is not set, the php script doesn't include the setKeySpacing method, which controls both horizontal & vertical.
  • .PIE SET LBL LAYOUT accepts 'INSIDE' as an argument to put the labels inside the sectors, but it doesn't work.
  • .PIE SET LBL BOUNDS (and the routines to set upper/lower individually) appear to work and the generated PHP code looks right, but it seems to have no effect on the generated chart.
  • The .PIE SET SECT EDGE W subroutine sets the value in the memory files, but the rendered chart doesn't look any different. Looks like when setSectorStyle code is generated, the edge width is missing. Also, if you don't also set .PIE SET SECT SHADING, the setSectorStyle code is not generated at all, even if a width was specified.
  • If you explode all the sectors in a pie chart via .PIE SET SECT POSITION then you can't adust the distance on specific sectors via .PIE SET SECT EXP DIST. The generated setExplode method does not include the distance parameter or isn't being generated for individual sectors.
  • .PIE SET LBL DISTANCE doesn't seem to do anything.
  • If you pass a 'data point' to .XY SET BAR CLR, funny things happen. It creates a LAYERDGP record & saves the RID. Subsequent calls to .XY SET BAR CLR with no 'data point' will just change the colour on the LAYERDGP record, which probably isn't what the designer wanted. The colours will probably not render correctly on the chart.
  • The .XY SET BAR LBL MIN SZ subroutine is used to set the minimum distance for a label to appear within a bar on a bar chart, but there doesn't seem to be a way to get labels inside the bar on a bar chart in the first place.
  • Setting custom shapes on the second data group in a multi layer bar chart does not work. The PHP code looks right, possible CD bug?
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE.
  • .AXIS SET AXIS L has no effect on the length of the axis line.
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART,"* Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?)
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity.
  • The .AXIS SET LBL ROTATION subroutine has no affect. The memory file is updated, but the chart rendering does not use the values.
  • The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale.
  • Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director.
  • .COLOR SET DASH LINE accepts hex values with a prefix of '0x', '#' or nothing at all, but the chart will only be rendered if the prefix is '0x'. Either improve the edits, or convert the '#' or no prefix to a '0x' prefix before updating COLRSPEC.
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method.
  • Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work.
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).
  • .TEXT SET TXT MAX:H has no affect. The memory file is updated, but does not affect the rendered chart. If set via .TEXT SET TXT MAX, then it works.
  • The .TEXT SET TXT MARGIN:(T,L,B,R) subroutines apply the specified margin to all margins instead of just the one the routine is designed for.
  • Sample Chart Issues:
    • P07. PIE CHART WITH LEGEND (2) (and others)
      • no gradient background (no API)
      • no CDML support for labels (no %'s in legend box)
    • P09. ICON PIE CHART (2)
      • no logo in bottom right corner
    • P13. 3D DONUT CHART
      • no separator line under title (addLine property)
    • P14. TEXTURE DONUT CHART
      • no textures (pattern not passed to .PIE SET SECT BG CLR?)
    • B02. MULTI-COLOR BAR CHART
      • Unable to set 3D border effects for the bars, there's no API for it.
    • B03. SOFT BAR SHADING
      • Unable to set gradient background (no API)
      • Unable to set soft lighting effect of the bars (no API)
      • Unable to set font attributes of system generated Y-axis labels.
 

Overview

Data Routines

Revision 1092011-12-02 - JeanNeron

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

Chart Director API for APPX

Line: 17 to 17
 
  • The .LEGEND SET ICON GAP seems to update the memory file, but unless you also call .LEGEND SET ICON SZ, nothing gets written to the php script.
  • The .LEGEND SET TEMPLATE causes the chart to fail to render unless you enclose the text in "'s. When generating the php script, the API should do this automatically.
  • Setting the vertical gap via .LEGEND SET GAP:V doesn't work unless you also set the horizontal gap via .LEGEND SET GAP:H. If the horizontal gap is not set, the php script doesn't include the setKeySpacing method, which controls both horizontal & vertical.
Changed:
<
<
  • .PIE SET LBL LAYOUT accepts 'INSIDE' as an argument to put the labels inside the sectors, but it doesn't work.
  • .PIE SET LBL BOUNDS (and the routines to set upper/lower individually) appear to work and the generated PHP code looks right, but it seems to have no effect on the generated chart.
  • The .PIE SET SECT EDGE W subroutine sets the value in the memory files, but the rendered chart doesn't look any different. Looks like when setSectorStyle code is generated, the edge width is missing. Also, if you don't also set .PIE SET SECT SHADING, the setSectorStyle code is not generated at all, even if a width was specified.
  • If you explode all the sectors in a pie chart via .PIE SET SECT POSITION then you can't adust the distance on specific sectors via .PIE SET SECT EXP DIST. The generated setExplode method does not include the distance parameter or isn't being generated for individual sectors.
  • .PIE SET LBL DISTANCE doesn't seem to do anything.
>
>
  • .PIE SET LBL LAYOUT accepts 'INSIDE' as an argument to put the labels inside the sectors, but it doesn't work.
  • .PIE SET LBL BOUNDS (and the routines to set upper/lower individually) appear to work and the generated PHP code looks right, but it seems to have no effect on the generated chart.
  • The .PIE SET SECT EDGE W subroutine sets the value in the memory files, but the rendered chart doesn't look any different. Looks like when setSectorStyle code is generated, the edge width is missing. Also, if you don't also set .PIE SET SECT SHADING, the setSectorStyle code is not generated at all, even if a width was specified.
  • If you explode all the sectors in a pie chart via .PIE SET SECT POSITION then you can't adust the distance on specific sectors via .PIE SET SECT EXP DIST. The generated setExplode method does not include the distance parameter or isn't being generated for individual sectors.
  • .PIE SET LBL DISTANCE doesn't seem to do anything.
 
  • If you pass a 'data point' to .XY SET BAR CLR, funny things happen. It creates a LAYERDGP record & saves the RID. Subsequent calls to .XY SET BAR CLR with no 'data point' will just change the colour on the LAYERDGP record, which probably isn't what the designer wanted. The colours will probably not render correctly on the chart.
  • The .XY SET BAR LBL MIN SZ subroutine is used to set the minimum distance for a label to appear within a bar on a bar chart, but there doesn't seem to be a way to get labels inside the bar on a bar chart in the first place.
  • Setting custom shapes on the second data group in a multi layer bar chart does not work. The PHP code looks right, possible CD bug?
Line: 40 to 40
 
  • .TEXT SET TXT MAX:H has no affect. The memory file is updated, but does not affect the rendered chart. If set via .TEXT SET TXT MAX, then it works.
  • The .TEXT SET TXT MARGIN:(T,L,B,R) subroutines apply the specified margin to all margins instead of just the one the routine is designed for.
  • Sample Chart Issues:
Changed:
<
<
    • - 07. PIE CHART WITH LEGEND (2) (and others)
    • - no gradient background
    • - no CDML support for labels (no %'s in legend box)
    • -09. ICON PIE CHART (2)
    • - no logo in bottom right corner
    • -13. 3D DONUT CHART
    • - no separator line under title (addLine property)
    • - 14. TEXTURE DONUT CHART
    • - no textures (pattern not passed to .PIE SET SECT BG CLR?)
>
>
    • P07. PIE CHART WITH LEGEND (2) (and others)
      • no gradient background (no API)
      • no CDML support for labels (no %'s in legend box)
    • P09. ICON PIE CHART (2)
      • no logo in bottom right corner
    • P13. 3D DONUT CHART
      • no separator line under title (addLine property)
    • P14. TEXTURE DONUT CHART
      • no textures (pattern not passed to .PIE SET SECT BG CLR?)
    • B02. MULTI-COLOR BAR CHART
      • Unable to set 3D border effects for the bars, there's no API for it.
    • B03. SOFT BAR SHADING
      • Unable to set gradient background (no API)
      • Unable to set soft lighting effect of the bars (no API)
      • Unable to set font attributes of system generated Y-axis labels.
 

Overview

Data Routines

Revision 1082011-11-25 - JeanNeron

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

Chart Director API for APPX

Line: 39 to 39
 
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).
  • .TEXT SET TXT MAX:H has no affect. The memory file is updated, but does not affect the rendered chart. If set via .TEXT SET TXT MAX, then it works.
  • The .TEXT SET TXT MARGIN:(T,L,B,R) subroutines apply the specified margin to all margins instead of just the one the routine is designed for.
Added:
>
>
  • Sample Chart Issues:
    • - 07. PIE CHART WITH LEGEND (2) (and others)
    • - no gradient background
    • - no CDML support for labels (no %'s in legend box)
    • -09. ICON PIE CHART (2)
    • - no logo in bottom right corner
    • -13. 3D DONUT CHART
    • - no separator line under title (addLine property)
    • - 14. TEXTURE DONUT CHART
    • - no textures (pattern not passed to .PIE SET SECT BG CLR?)
 

Overview

Data Routines

Line: 50 to 60
 

Base Chart Routines

Pie Chart Routines

Deleted:
<
<

Pie Chart Routines

Pie Chart Routines - General

.PIE SET DATASET

 
Changed:
<
<
Associate a dataset with the pie chart.

.PIE SET ORIGIN

>
>

XY Chart Routines

 
Changed:
<
<
Set the x and y coordinates (horizonal and vertical) of the center of the pie.

.PIE SET ORIGIN:X

>
>

Comments:

 
Changed:
<
<
Set the x coordinate (horizontal) of the center of the pie.

.PIE SET ORIGIN:Y

>
>
Read what other users have said about this page or add your own comments.
 
Changed:
<
<
Set the y coordinate (vertical) of the center of the pie.

.PIE SET RADIUS

Set the radius of the pie.

Pie Chart Routines - 3D View

.PIE SET VIEW

Set the view of the pie to be 2D or 3D.

.PIE SET 3D MODE

Set the 3D mode to be Standard or Shadow.

.PIE SET 3D DEPTH

Set the 3D depth of the pie.

.PIE SET SECT 3D DEPTH

Set the 3D depth for all pie sectors, a range of pie sectors, an individual pie sector or the current pie sector.

.PIE SET 3D VIEW ANGLE

Set the 3D viewing angle of the pie.

Pie Chart Routines - Donut Style

.PIE SET SHAPE

Set the shape of the pie to be Standard or Donut.

.PIE SET RADIUS:OUTER

Set the outer radius of a Donut pie.

.PIE SET RADIUS:INNER

Set the inner radius of a Donut pie.

Pie Chart Routines - Sector Layout

.PIE SET LAYOUT

Set the starting angle of the first sector in the pie and the layout direction for the pie sectors.

.PIE SET LAYOUT:ANGLE

Set the starting angle of the first sector in the pie.

.PIE SET LAYOUT:DIR

Set the layout direction for the pie sectors.

Pie Chart Routines - Label Options

.PIE SET LBL BOUNDS

Set the Top and Bottom bounds for the pie sector labels (Side Label Layout only).

.PIE SET LBL BOUNDS:T

Set the Top bound for the pie sector labels (Side Label Layout only).

.PIE SET LBL BOUNDS:B

Set the Bottom bound for the pie sector labels (Side Label Layout only).

Pie Chart Sector Routines

The following routines can be used to create or initialize pie sector specs and set the various sector style attributes.

Pie Chart Sector Routines - General

.PIE SECT INITIALIZE

Initialize a specific pie sector spec.

.PIE SECT ADD NEXT

Add a next pie chart sector spec for the "current" pie chart and optionally sets the corresponding data value and the corresponding Label.

.PIE SECT SET CURRENT

Set the "current" pie chart sector to be a previously initialized pie sector of the "current" chart.

Pie Chart Sector Routines - Background Options

.PIE SET SECT BG CLR

Set the background color for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

.PIE SET SECT SHADING

Set the Shading Method for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Pie Chart Sector Routines - Edge Options

.PIE SET SECT EDGE CLR

Set the Edge Color for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

.PIE SET SECT EDGE W

Set the Edge Width for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Pie Chart Sector Routines - Explode Options

.PIE SET SECT POSITION

Set the Position (Normal or Exploded) for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

.PIE SET SECT EXP DIST

Set the Explosion Distance for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Pie Chart Sector Routines - Labels

The following routines can be used to set the various label attributes for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.

.PIE SET SECT LABEL

Set the Label text of an individual pie sector or the "current" pie sector.

.PIE SET LBL LAYOUT

Set the Label Layout Method (Inside, Circular, Side) for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.

.PIE SET LBL DISTANCE

Set the Distance between the pie perimeter and the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector. The Label Distance is usually specified in conjunction with a Label Layout Method. If a Label Distance is specified and a Label Layout Method is not specified, the Circular method is used.

.PIE SET LBL JN LN CLR

Set the Color of the lines that join the pie sector perimeter with the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.

.PIE SET LBL JN LN W

Set the Width of the lines that join the pie sector perimeter with the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.

.PIE SET LBL FORMAT

Set the Format for the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.

Not Yet Implemented

The following routines have not been implemented. However, until such time as they are implemented, the corresponding .TEXT routines can be used instead.

.PIE SET LBL FONT NAM

Set the font name and font index for all sectors of the current pie chart.

.PIE SET LBL FONT IDX

Set the font index for all sectors of the current pie chart.

.PIE SET LBL FONT STL

Set the font style (normal, bold, italic) for all sectors of the current pie chart.

.PIE SET LBL FONT SZ

Set the font size for all sectors of the current pie chart.

.PIE SET LBL FONT CLR

Set the font color for all sectors of the current pie chart.

.PIE SET LBL ROTATION

Set the rotation angle for all sectors of the current pie chart.

XY Chart Routines

General

.XY SET PLOT AREA

Set the position and size of the plot area.

.XY SET PLOT AREA:X

Set the x coordinate of the plot area position.

.XY SET PLOT AREA:Y

Set the y coordinate of the plot area position.

.XY SET PLOT AREA:W

Set the width of the plot area.

.XY SET PLOT AREA:H

Set the height of the plot area.

.XY SET PA BG CLR

Set the Plot Area background colors.

.XY SET PA EDGE CLR

Set the Plot Area edge color.

.XY SET PA HGRID CLR

Set the Plot Area horizontal grid color.

.XY SET PA VGRID CLR

Set the Plot Area vertical grid color.

.XY ADD BAR LAYER

Adds a Bar layer to the current chart spec.

.XY SET BAR CLR

Set the color of the bars in the current Data Point, Data Set, Data Group, or XY Bar Layer

.XY SET BAR CLR:DP

Set the color of the bars for the current Data Point

.XY SET BAR CLR:DS

Set the color of the bars for the current Data Set

.XY SET BAR CLR:DG

Set the color of the bars for the current Data Group

.XY SET BAR CLR:LR

Set the color of the bars for the current XY Bar Layer

.XY SET BAR GAP

Set the horizontal gap between the bars or bar groups.

.XY SET BAR GAP:BTW

Set the horizontal gap between the bars.

.XY SET BAR GAP:WITHIN

Set the horizontal gap between the bar groups.

.XY SET BAR LBL MIN SZ

Sets the minimum height (or width for horizontal bars) of the bar segments below which data labels will be hidden.

.XY SET BAR LEGEND ISZ

Sets the height and width of the icons used in a legend.

.XY SET LEGEND TXT

Set the name to be included in the legend box.

.XY SET BAR OLAP

Sets the overlap ratio and order among overlapping bars within a bar group in a multi-bar chart

.XY SET BAR OLAP:ORDER

Sets the order among overlapping bars within a bar group in a multi-bar chart

.XY SET BAR OLAP:RATIO

Sets the overlap ratio among overlapping bars within a bar group in a multi-bar chart

.XY SET BAR SHAPE

Set the shape of the bars in the current Data Point, Data Set, Data Group, or XY Bar Layer

.XY SET BAR SHAPE:DP

Set the shape of the bars for the current Data Point

.XY SET BAR SHAPE:DS

Set the shape of the bars for the current Data Set

.XY SET BAR SHAPE:DG

Set the shape of the bars for the current Data Group

.XY SET BAR SHAPE:LR

Set the shape of the bars for the current XY Bar Layer

.XY SET BAR W

Set the bar and subbar width for the current XY Layer

.XY SET BAR W:GROUP

Set the bar width for the current XY Layer

.XY SET BAR W:WITHIN

Set the subbar width for the current XY Layer

.XY SET BAR 3D DEPTH

Set the 3D depth of the current bar layer

Axis Routines

General

.AXIS SET CURRENT

Set the specified axis ("x", "y") of the "current" chart to be the "current" axis. (a second optional parameter can specify "Primary" or "Secondary")

.AXIS SET AXIS CLR

Set the color of the "current" axis.

.AXIS SET AXIS L

Set the length of the "current" axis line.

.AXIS SET AXIS W

Set the width of the "current" axis line.

.AXIS SET AXIS MARGIN

Set the margins (top and bottom/left and right) of the "current" axis.

.AXIS SET AXIS MODE

Set the axis mode of the "current" axis to be INDENTED or DEFAULT.

.AXIS SET AXIS OFFSET

Set the offset (x and y) of the "current" axis.

.AXIS SET AXIS SCALE

Set the top extension, bottom extension, and zero affinity values that are to be used when auto-scaling the "current" axis.

.AXIS SET AXIS RND MIN

Controls whether or not the minimum value of the "current" axis should be rounded to correspond with a tick value.

.AXIS SET AXIS RND MAX

Controls whether or not the maximum value of the "current" axis should be rounded to correspond with a tick value.

.AXIS SET AXIS VAL DIR

Set the direction for the values of the "current" axis.

Axis Tick Routines

.AXIS SET TICK CLR

Set the color of the (major and minor) ticks on the "current" axis.

.AXIS SET TICK L

Set the length of the (major and minor) ticks on the "current" axis.

.AXIS SET TICK W

Set the width of the (major and minor) ticks on the "current" axis.

.AXIS SET TICK OFFSET

Set the offset of the ticks on the "current" axis.

.AXIS SET TICK MIN INC

Set the minimum tick increment of the ticks on the "current" axis.

.AXIS SET TICK DENSITY

Set the distance in pixels between major ticks and minor ticks on the "current" axis.

Axis Title Routines

.AXIS SET TITLE

Set a title for the "current" axis.

.AXIS SET TTL FONT NAM

Set the font name and font index for the title of the "current" Axis.

.AXIS SET TTL FONT IDX

Set the font index for the title of the "current" axis.

.AXIS SET TTL FONT STL

Set the font style (normal, bold, italic) for the title of the "current" axis.

.AXIS SET TTL FONT SZ

Set the font size for the title of the "current" axis.

.AXIS SET TTL FONT CLR

Set the font color for the title of the "current" axis.

.AXIS SET TTL ALIGN

Set the alignment of the axis title relative to the axis for the "current" axis.

.AXIS SET TTL GAP

Set the gap between the axis title and the axis for the "current" axis.

Axis Label Routines

.AXIS LABEL ADD NEXT

Add the specified label to the "current" Axis of the "current" chart.

.AXIS SET LBL FONT NAM

Set the font name and font index for the "current" label of the "current" Axis.

.AXIS SET LBL FONT IDX

Set the font index for the "current" label of the "current" axis.

.AXIS SET LBL FONT STL

Set the font style (normal, bold, italic) for the "current" label of the "current" axis.

.AXIS SET LBL FONT SZ

Set the font size for the "current" label of the "current" axis.

.AXIS SET LBL FONT CLR

Set the font color for the "current" label of the "current" axis.

.AXIS SET LBL ROTATION

Set the rotation angle for the "current" label of the "current" axis.

.AXIS SET LBL FORMAT

Set the Format for the axis labels for the "current" axis.

.AXIS SET LBL GAP

Set the distance between the axis label and the tick in pixels for the "current" axis.

.AXIS SET LBL OFFSET

Set the offset of the labels and the offset units for the the "current" axis. The offset units is an optional second parameter. The default for the offset unit is pixels.

Shape Routines

.SHAPE INITIALIZE

Initialize a Shape Object

.SHAPE SET CURRENT

Set the "current" Shape Object to be a previously initialized Shape Object.

.SHAPE GET NAME

Get the name of the "current" Shape Object.

.SHAPE SET DEFAULT

Clear the "current" Shape Object.

.SHAPE SET SHAPE ID

Changes the Shape ID of the "current" Shape Object.

.SHAPE SET SIDES CNT

Set the number of sides, points or width for the current shape.

.SHAPE SET POINTS CNT

Sets the number of sides, points or width for the current shape.

.SHAPE SET WIDTH PCT

Sets the number of sides, points or width for the current shape.

.SHAPE SET NEXT POINT

Creates a custom shape.

>
>
<--/commentPlugin-->
  -- SteveFrizzell - 2010-02-14

Revision 1072011-11-24 - JeanNeron

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

Chart Director API for APPX

Line: 39 to 39
 
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).
  • .TEXT SET TXT MAX:H has no affect. The memory file is updated, but does not affect the rendered chart. If set via .TEXT SET TXT MAX, then it works.
  • The .TEXT SET TXT MARGIN:(T,L,B,R) subroutines apply the specified margin to all margins instead of just the one the routine is designed for.
Changed:
<
<

Overview

>
>

Overview

 
Changed:
<
<
Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Using the API

>
>

Data Routines

 
Changed:
<
<
There are some key concepts you should understand before using the Chart Design subroutines.

Designing a Chart

>
>

Text Object Routines

 
Changed:
<
<
Chart design is accomplished by calling the appropriate Chart Design subroutines in the appropriate sequence to create a chart specification.

Defining a Dataset

>
>

Color Routines

 
Changed:
<
<
Datasets are defined by calling the appropriate Dataset Design subroutines in the appropriate sequence to create a dataset definition.

Rendering a Chart

>
>

Base Chart Routines

 
Changed:
<
<
A chart is rendered by calling the Chart Render subroutine for a chart specification and its associated dataset definition(s).

Base Chart Routines

Base Chart Routines - General

.CHART INITIALIZE

Initialize a chart.

.CHART RENDER

Render the "current" chart.

.CHART SET CURRENT

Set the "current" chart to be a previously initialized chart.

.CHART GET NAME

Get the name of the "current" chart.

.CHART SET TITLE

Set the title of the "current" chart.

.CHART SET LEGEND BOX

Set a Legend Box at the specified X and Y coordinates of the "current" chart.

Base Chart Routines - Background

.CHART SET BG SIZE

Set the size (height and width) of the "current" chart.

.CHART SET BG SIZE:H

Set the height of the "current" chart.

.CHART SET BG SIZE:W

Set the width of the "current" chart.

.CHART SET BG COLOR

Set the background color of the "current" chart to the "current" color.

.CHART SET BG WALLPAPR

Set the pathname of a wallpaper image that is to be tiled within the background area of the "current" chart.

.CHART SET BG IMAGE

Set the pathname of an image file that is to be positioned within the background area of the "current" chart.

Base Chart Routines - Edge Options

.CHART SET EDGE COLOR

Set the edge color of the "current" chart.

.CHART SET EDGE EFFECT

Set the edge effect of the "current" chart.

.CHART SET EDGE WIDTH

Set the edge width of the "current" chart. Used in conjunction with Edge Effect.

Base Chart Routines - Corner Options

.CHART SET CNR STYLE

Set the corner style (Square or Rounded) of the "current" chart.

.CHART SET CNR R

Set the corner radius' of the "current" chart.

.CHART SET CNR R:TL

Set the radius of the Top Left corner of the "current" chart.

.CHART SET CNR R:TR

Set the radius of the Top Right corner of the "current" chart.

.CHART SET CNR R:BR

Set the radius of the Bottom Right corner of the "current" chart.

.CHART SET CNR R:BL

Set the radius of the Bottom Left corner of the "current" chart.

.CHART SET CNR EXT CLR

Set the exterior color for rounded corners for the "current" chart.

Base Chart Routines - Drop Shadow Options

.CHART SET DROP SHADOW

Set the Drop Shadow Effect to be On or Off for the "current" chart.

.CHART SET DS COLOR

Set the Color of the Drop Shadow Effect for the "current" chart.

.CHART SET DS LOC

Set the X and Y coordinates of the offset of the Drop Shadow Effect for the "current" chart.

.CHART SET DS LOC:X

Set the X coordinate of the offset of the Drop Shadow Effect for the "current" chart.

.CHART SET DS LOC:Y

Set the Y coordinate of the offset of the Drop Shadow Effect for the "current" chart.

.CHART SET DS BLUR RAD

Set the Blur Radius of the Drop Shadow Effect for the "current" chart.

Base Chart Routines - Options

.CHART SET TRANS TYPE

Set the Transparency Type for the "current" chart.

.CHART SET TRANS COLOR

Set the Transparency Color for the "Current" chart. This field is usually set in conjunction with the "Single Color" Transparency Type.

.CHART SET SHAPE AA

Set the Shape Anti-Alias to be On or Off for the "current" chart.

.CHART SET TXT AA MODE

Set the Text Anti-Alias Mode for the "current" chart.

Not Yet Implemented

.CHART ADD TO MULTI

Add the "current" chart object to the specified Multi-Chart.

.CHART ADD EM CHART

Add the specified chart object to the "current" Multi-Chart.

Base Chart Routines - Legend Box

.LEGEND SET TEMPLATE

Set the template of the legend text for the "current" Legend Box.

.LEGEND SET KEY LAYOUT

Set the Layout Method for the Legend Keys for the "current" Legend Box.

.LEGEND SET KEY COLS

Set the number of columns to be used with the "Columnar" Key Layout Method for the "current" Legend Box.

.LEGEND SET KEY ORDER

Set the key order to be ascending or descending for the "current" Legend Box.

.LEGEND SET ICON SZ

Set the width and height of the legend key icons for the "current" Legend Box.

.LEGEND SET ICON SZ:W

Set the width of the legend key icons for the "current" Legend Box.

.LEGEND SET ICON SZ:H

Set the height of the legend key icons for the "current" Legend Box.

.LEGEND SET ICON GAP

Set the distance between the Legend icon and the Legend text.

.LEGEND SET KEY GAP

Set the horizontal gap between two legend entries for horizontal legend layout and the vertical gap (line spacing) between the legend keys for the "current" Legend Box.

.LEGEND SET KEY GAP:H

Set the horizontal gap between two legend entries for horizontal legend layout for the "current" Legend Box.

.LEGEND SET KEY GAP:V

Set the vertical gap (line spacing) between the legend keys of the "current" Legend Box.

.LEGEND SET ICON E CLR

Set the edge color for the key icons for the "current" Legend Box. Applies only to rectangular icons.

.LEGEND SET ICON E EFF

Set the edge effect for the key icons for the "current" Legend Box. Applies only to rectangular icons.

.LEGEND SET ICON E W

Set the edge width for the key icons for the "current" Legend Box. Used in conjunction with Edge Effect.

.LEGEND SET KEY STYLE

Set the key style for the "current" Legend Box.

Base Chart Routines - Legend Box Keys

.LEGEND KEY ADD NEXT

Add the next legend box key to the "current" Legend Box.

.LEGEND KEY INITIALIZE

Initialize a legend box key at the specified position for the "current" Legend Box.

.LEGEND KEY SET LN W

Set the line width for a legend key that represents lines in line charts at the specified legend key position for the "current" Legend Box.

Pie Chart Routines

>
>

Pie Chart Routines

Pie Chart Routines

 

Pie Chart Routines - General

.PIE SET DATASET

Line: 570 to 400
 
.AXIS SET LBL OFFSET

Set the offset of the labels and the offset units for the the "current" axis. The offset units is an optional second parameter. The default for the offset unit is pixels.

Deleted:
<
<

Data Routines

Dataset Routines

.DATASET INITIALIZE

Initialize a Dataset.

.DATASET SET CURRENT

Set the "current" Dataset to be a previously initialized Dataset.

.DATASET GET NAME

Get the name of the "current" Dataset.

.LAYER ADD DATA GROUP

Adds a data group to the current chart layer

.LAYER ADD DATASET

Adds a dataset template to the current data group

.LAYER LINK DATASET

Links a set of data points to a dataset template.

Dataset Point Routines

.POINT ADD NEW

Add a new Point to the "current" Dataset.

.POINT SET VALUE

Set the value of the "current" Point in the "current" Dataset.

Text Box Routines

General Text Box Routines

.TEXT INITIALIZE

Initialize a Text Object

.TEXT SET CURRENT

Set the "current" Text Object to be a previously initialized Text Object.

.TEXT GET NAME

Get the name of the "current" Text Object.

.TEXT SET TEXT

Set the text of the "current" Text Object.

Font Routines

.TEXT SET FONT NAME

Set the font name and font index for the "current" Text Object.

.TEXT SET FONT INDEX

Set the font index.

.TEXT SET FONT STYLE

Set the font style (normal, bold, italic) for the "current" Text Object.

.TEXT SET FONT SZ

Set the font size for the "current" Text Object.

.TEXT SET FONT SZ:H

Set the height of the font for the "current" Text Object.

.TEXT SET FONT SZ:W

Set the width of the font for the "current" Text Object.

.TEXT SET FONT CLR

Set the font color for the "current" Text Object.

Text Box Routines

.TEXT SET BX BG CLR

Set the background color for the "current" Text Object.

.TEXT SET BX EDGE CLR

Set the edge color for the "current" Text Object.

.TEXT SET BX EDGE EFF

Set the edge effect (Flat, Raised, or Depressed) of the "current" Text Object.

.TEXT SET BX EDGE W

Set the edge width of the "current" Text Object.

.TEXT SET BX CNR STYLE

Set the corner style (Square or Rounded) of the "current" Text Object.

.TEXT SET BX CNR R

Set the corner radius of the "current" Text Object.

.TEXT SET BX CNR R:TL

Set the radius of the Top Left corner of the "current" Text Object.

.TEXT SET BX CNR R:TR

Set the radius of the Top Right corner of the "current" Text Object.

.TEXT SET BX CNR R:BR

Set the radius of the Bottom Right corner of the "current" Text Object.

.TEXT SET BX CNR R:BL

Set the radius of the Bottom Left corner of the "current" Text Object.

.TEXT SET BX LOC

Set the offset (x and y) of the "current" Text Object.

.TEXT SET BX LOC:X

Set the x offset of the "current" Text Object.

.TEXT SET BX LOC:Y

Set the y offset of the "current" Text Object.

.TEXT SET BX SZ

Set the size (height and width) of the "current" Text Object.

.TEXT SET BX SZ:H

Set the height of the "current" Text Object.

.TEXT SET BX SZ:W

Set the width of the "current" Text Object.

.TEXT SET BX Z ORDER

Set the Z Order of the "current" Text Object.

Text Format Routines

.TEXT SET TXT MAX SZ

Set the maximum size (width and height) of the text that can be displayed in the "current" Text Object.

.TEXT SET TXT MAX SZ:W

Set the maximum width (in pixels) of the text that can be displayed in the "current" Text Object.

.TEXT SET TXT MAX SZ:H

Set the maximum height (in lines) of the text that can be displayed in the "current" Text Object.

.TEXT SET TXT MARGIN

Set the margins for the text in the "current" Text Object.

.TEXT SET TXT MARGIN:L

Set the Left margin for the text in the "current" Text Object.

.TEXT SET TXT MARGIN:R

Set the Right margin for the text in the "current" Text Object.

.TEXT SET TXT MARGIN:T

Set the Top margin for the text in the "current" Text Object.

.TEXT SET TXT MARGIN:B

Set the Bottom margin for the text in the "current" Text Object.

.TEXT SET TXT ROTATION

Set the rotation angle for the text in the "current" Text Object.

.TEXT SET TXT ALIGN

Set the alignment of the text in the "current" Text Object.

.TEXT SET TXT LAYOUT

Set the layout direction of the text(horizontal or Vertical) in the "current" Text Object.

Color Routines

.COLOR INITIALIZE

Initialize a Color Object.

.COLOR SET CURRENT

Set the "current" Color Object to be a previously initialized Color Object.

.COLOR GET NAME

Get the name of the "current" Color Object.

.COLOR SET DEFAULT

Clear the "current" Color Object.

.COLOR SET COLOR

Set the color of the "current" Color Object.

.COLOR SET COLOR:RGB

Set the individual colors of the "current" Color Object.

.COLOR SET COLOR:R

Set the Red value of the "current" Color Object.

.COLOR SET COLOR:G

Set the Green value of the "current" Color Object.

.COLOR SET COLOR:B

Set the Blue value of the "current" Color Object.

.COLOR SET COLOR:A

Set the Alpha value of the "current" Color Object.

.COLOR SET TRANSPARENT

Set the "current" Color Object to be Transparent.

.COLOR SET OPAQUE

Set the "current" Color Object to be Opaque.

.COLOR SET METAL

Set the direction for brightness modulation to create a Metal color effect for the "current" Color Object.

.COLOR SET GOLD

Sets the color of the "current" Color Object to be Yellow (FFEE44) and sets the direction for brightness modulation to create a Gold Metal color effect.

.COLOR SET SILVER

Sets the color of the "current" Color Object to be Grey (DDDDDD) and sets the direction for brightness modulation to create a Silver Metal color effect.

.COLOR SET BRUSH METAL

Set the strength of the texture to create a Brushed Metal Effect for the "current" Color Object.

.COLOR SET BRIGHTNESS

Set the brightness of the "current" Color Object.

.COLOR SET HALF COLOR

Set the intensity of the "current" Color Object to be one half of the normal intensity.

.COLOR SET DASH LINE

Set the dash line pattern for the "current" Color Object.

 

Shape Routines

.SHAPE INITIALIZE

Revision 1062011-11-18 - JeanNeron

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

Chart Director API for APPX

Line: 37 to 37
 
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method.
  • Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work.
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).
Added:
>
>
  • .TEXT SET TXT MAX:H has no affect. The memory file is updated, but does not affect the rendered chart. If set via .TEXT SET TXT MAX, then it works.
  • The .TEXT SET TXT MARGIN:(T,L,B,R) subroutines apply the specified margin to all margins instead of just the one the routine is designed for.
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Revision 1052011-11-18 - JeanNeron

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

Chart Director API for APPX

Line: 667 to 667
 Set the radius of the Bottom Left corner of the "current" Text Object.
.TEXT SET BX LOC
Changed:
<
<
Set the location (x and y) of the "current" Text Object.
>
>
Set the offset (x and y) of the "current" Text Object.
 
.TEXT SET BX LOC:X
Changed:
<
<
Set the x coordinate of the location of the "current" Text Object.
>
>
Set the x offset of the "current" Text Object.
 
.TEXT SET BX LOC:Y
Changed:
<
<
Set the y coordinate of the location of the "current" Text Object.
>
>
Set the y offset of the "current" Text Object.
 
.TEXT SET BX SZ

Set the size (height and width) of the "current" Text Object.

Revision 1042011-11-17 - JeanNeron

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

Chart Director API for APPX

Line: 34 to 34
 
  • Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director.
  • .COLOR SET DASH LINE accepts hex values with a prefix of '0x', '#' or nothing at all, but the chart will only be rendered if the prefix is '0x'. Either improve the edits, or convert the '#' or no prefix to a '0x' prefix before updating COLRSPEC.
Added:
>
>
  • .TEXT SET FONT SZ is supposed to accept a height & width, but only uses height to set font size in the addTitle method.
  • Setting a width via .TEXT SET FONT SZ:W and then using the text box in .CHART SET TITLE does not work.
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Revision 1032011-11-17 - JeanNeron

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

Chart Director API for APPX

Line: 26 to 26
 
  • The .XY SET BAR LBL MIN SZ subroutine is used to set the minimum distance for a label to appear within a bar on a bar chart, but there doesn't seem to be a way to get labels inside the bar on a bar chart in the first place.
  • Setting custom shapes on the second data group in a multi layer bar chart does not work. The PHP code looks right, possible CD bug?
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE.
Deleted:
<
<
  • Code examples are supposed to be copy/pasteable into the ILF editor, but there's a good chance lots of them won't work, as this requirement wasn't known when the pages were written. Review all ILF samples to make sure they work?
 
  • .AXIS SET AXIS L has no effect on the length of the axis line.
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART,"* Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?)
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity.
Line: 598 to 597
 Set the value of the "current" Point in the "current" Dataset.

Text Box Routines

General Text Box Routines

Changed:
<
<
.TEXT INITIALIZE
>
>
.TEXT INITIALIZE
  Initialize a Text Object
.TEXT SET CURRENT

Revision 1022011-11-16 - JeanNeron

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

Chart Director API for APPX

Line: 32 to 32
 
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity.
  • The .AXIS SET LBL ROTATION subroutine has no affect. The memory file is updated, but the chart rendering does not use the values.
  • The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale.
Added:
>
>
  • Attempting to set the brightness via .COLOR SET BRIGHTNESS results in a php error: PHP Fatal error: Call to undefined function adjustBrightness() in <whatever file> on line <whatever line>. FWIW, adjustBrightness is documented in Chart Director.
  • Attempting to set the brightness via .COLOR SET HALF COLOR results in a php error: PHP Fatal error: Call to undefined function halfColor() in <whatever file> on line <whatever line>. FWIW halfColor is documented in Chart Director.
  • .COLOR SET DASH LINE accepts hex values with a prefix of '0x', '#' or nothing at all, but the chart will only be rendered if the prefix is '0x'. Either improve the edits, or convert the '#' or no prefix to a '0x' prefix before updating COLRSPEC.
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Line: 266 to 269
 

.PIE SET LAYOUT:DIR

Set the layout direction for the pie sectors.

Changed:
<
<

Pie Chart Routines - Label Options

>
>

Pie Chart Routines - Label Options

 

.PIE SET LBL BOUNDS

Set the Top and Bottom bounds for the pie sector labels (Side Label Layout only).

Line: 763 to 766
 Sets the color of the "current" Color Object to be Grey (DDDDDD) and sets the direction for brightness modulation to create a Silver Metal color effect.

.COLOR SET BRUSH METAL

Changed:
<
<
Set the strength of the texture to create a Brushed Metal Effect for the "current" Color Object. Must be None, Light, Medium, or Strong. This routine is usually called in conjunction with .COLOR SET METAL.
>
>
Set the strength of the texture to create a Brushed Metal Effect for the "current" Color Object.
 

.COLOR SET BRIGHTNESS

Set the brightness of the "current" Color Object.

Revision 1012011-11-16 - JeanNeron

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

Chart Director API for APPX

Line: 748 to 748
 Set the Alpha value of the "current" Color Object.

.COLOR SET TRANSPARENT

Changed:
<
<
Set the alpha channel of the "current" Color Object to be Transparent.
>
>
Set the "current" Color Object to be Transparent.
 

.COLOR SET OPAQUE

Changed:
<
<
Set the alpha channel of the "current" Color Object to be Opaque.
>
>
Set the "current" Color Object to be Opaque.
 

.COLOR SET METAL

Set the direction for brightness modulation to create a Metal color effect for the "current" Color Object.

Revision 1002011-11-11 - JeanNeron

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

Chart Director API for APPX

Line: 31 to 31
 
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART,"* Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?)
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity.
  • The .AXIS SET LBL ROTATION subroutine has no affect. The memory file is updated, but the chart rendering does not use the values.
Added:
>
>
  • The .AXIS SET LBL OFFSET routine accepts Pixel or Scale as a second parameter, but the rendered chart always treats the offset as Scale.
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Revision 992011-11-11 - JeanNeron

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

Chart Director API for APPX

Line: 30 to 30
 
  • .AXIS SET AXIS L has no effect on the length of the axis line.
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART,"* Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?)
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity.
Changed:
<
<
>
>
  • The .AXIS SET LBL ROTATION subroutine has no affect. The memory file is updated, but the chart rendering does not use the values.
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Line: 534 to 534
 

Axis Label Routines

.AXIS LABEL ADD NEXT
Changed:
<
<
Add the next label to the "current" Axis of the "current" chart.
>
>
Add the specified label to the "current" Axis of the "current" chart.
 
.AXIS SET LBL FONT NAM

Set the font name and font index for the "current" label of the "current" Axis.

Revision 982011-11-11 - JeanNeron

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

Chart Director API for APPX

Line: 588 to 588
 

Dataset Point Routines

.POINT ADD NEW
Changed:
<
<
Add a new Point to the "current" Dataset. Also create a corresponding sector spec for the "current" (pie) chart if one does not exist.
>
>
Add a new Point to the "current" Dataset.
 
.POINT SET VALUE

Set the value of the "current" Point in the "current" Dataset.

Changed:
<
<
Text Box Routines
>
>

Text Box Routines

 

General Text Box Routines

.TEXT INITIALIZE

Revision 972011-11-10 - JeanNeron

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

Chart Director API for APPX

Line: 515 to 515
 Set the font name and font index for the title of the "current" Axis.
.AXIS SET TTL FONT IDX
Changed:
<
<
Set the font index for the title of the "current" axis. (set the current textspec to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT INDEX)
>
>
Set the font index for the title of the "current" axis.
 
.AXIS SET TTL FONT STL
Changed:
<
<
Set the font style (normal, bold, italic) for the title of the "current" axis. (set the current textspec to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT STYLE)
>
>
Set the font style (normal, bold, italic) for the title of the "current" axis.
 
.AXIS SET TTL FONT SZ
Changed:
<
<
Set the font size for the title of the "current" axis. (set the current textspec to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT SZ)
>
>
Set the font size for the title of the "current" axis.
 
.AXIS SET TTL FONT CLR
Changed:
<
<
Set the font color for the title of the "current" axis. (set the current textspec to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT CLR)
>
>
Set the font color for the title of the "current" axis.
 
.AXIS SET TTL ALIGN

Set the alignment of the axis title relative to the axis for the "current" axis.

.AXIS SET TTL GAP
Changed:
<
<
Set the gap between the axis title and the axis for the "current" axis. Note: Title gap does not seem to work correctly in all cases. Possible bug in Chart Director.
>
>
Set the gap between the axis title and the axis for the "current" axis.
 

Axis Label Routines

.AXIS LABEL ADD NEXT

Add the next label to the "current" Axis of the "current" chart.

.AXIS SET LBL FONT NAM
Changed:
<
<
Set the font name and font index for the "current" label of the "current" Axis. (set the current textspec to be the current label TEXTSPEC of the current axis and call .TEXT SET FONT NAME)
>
>
Set the font name and font index for the "current" label of the "current" Axis.
 
.AXIS SET LBL FONT IDX
Changed:
<
<
Set the font index for the "current" label of the "current" axis. (set the current textspec to be the current label TEXTSPEC of the current axis and call .TEXT SET FONT INDEX)
>
>
Set the font index for the "current" label of the "current" axis.
 
.AXIS SET LBL FONT STL
Changed:
<
<
Set the font style (normal, bold, italic) for the "current" label of the "current" axis. (set the current textspec to be the current label TEXTSPEC of the current axis and call .TEXT SET FONT STYLE)
>
>
Set the font style (normal, bold, italic) for the "current" label of the "current" axis.
 
.AXIS SET LBL FONT SZ
Changed:
<
<
Set the font size for the "current" label of the "current" axis. (set the current textspec to be the current label TEXTSPEC of the current axis and call .TEXT SET FONT SZ)
>
>
Set the font size for the "current" label of the "current" axis.
 
.AXIS SET LBL FONT CLR
Changed:
<
<
Set the font color for the "current" label of the "current" axis. (set the current textspec to be the current label TEXTSPEC of the current axis and call .TEXT SET FONT CLR)
>
>
Set the font color for the "current" label of the "current" axis.
 
.AXIS SET LBL ROTATION
Changed:
<
<
Set the rotation angle for the "current" label of the "current" axis. (set the current textspec to be the current label TEXTSPEC of the current axis and call .TEXT SET LBL ROTATION)
>
>
Set the rotation angle for the "current" label of the "current" axis.
 
.AXIS SET LBL FORMAT
Changed:
<
<
Set the Format for the axis labels for the "current" axis. (The label format field is stored in the LABEL1 spec record.).
>
>
Set the Format for the axis labels for the "current" axis.
 
.AXIS SET LBL GAP

Set the distance between the axis label and the tick in pixels for the "current" axis.

Revision 962011-11-10 - JeanNeron

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

Chart Director API for APPX

Line: 509 to 509
 

Axis Title Routines

.AXIS SET TITLE
Changed:
<
<
Set a title for the "current" axis. (creates a TEXTSPEC record which then becomes the current TEXT spec similar to .CHART SET TITLE)
>
>
Set a title for the "current" axis.
 
.AXIS SET TTL FONT NAM
Changed:
<
<
Set the font name and font index for the title of the "current" Axis. (set the current textspec to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT NAME)
>
>
Set the font name and font index for the title of the "current" Axis.
 
.AXIS SET TTL FONT IDX

Set the font index for the title of the "current" axis. (set the current textspec to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT INDEX)

Revision 952011-11-10 - JeanNeron

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

Chart Director API for APPX

Line: 29 to 29
 
  • Code examples are supposed to be copy/pasteable into the ILF editor, but there's a good chance lots of them won't work, as this requirement wasn't known when the pages were written. Review all ILF samples to make sure they work?
  • .AXIS SET AXIS L has no effect on the length of the axis line.
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART,"* Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?)
Changed:
<
<
>
>
  • Setting AXISSPEC TICK MAJ DIST and AXISSPEC TICK MIN DIST (via .AXIS SET TICK DENSITY) calls the setMinTickInc method instead of setTickDensity.
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Line: 116 to 117
 

.CHART SET CNR EXT CLR

Set the exterior color for rounded corners for the "current" chart.

Deleted:
<
<

 

Base Chart Routines - Drop Shadow Options

.CHART SET DROP SHADOW

Line: 136 to 136
 

.CHART SET DS BLUR RAD

Set the Blur Radius of the Drop Shadow Effect for the "current" chart.

Deleted:
<
<

 

Base Chart Routines - Options

.CHART SET TRANS TYPE

Revision 942011-11-09 - JeanNeron

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

Chart Director API for APPX

Line: 28 to 28
 
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE.
  • Code examples are supposed to be copy/pasteable into the ILF editor, but there's a good chance lots of them won't work, as this requirement wasn't known when the pages were written. Review all ILF samples to make sure they work?
  • .AXIS SET AXIS L has no effect on the length of the axis line.
Added:
>
>
  • .AXIS SET AXIS RND MIN and .AXIS SET AXIS RND MAX don't work unless you use both subroutines. (Sub C.XYCHART,"* Set axis rounded minimum & maximum IF 0CD AXISSPEC AXIS RND MIN NE AND 0CD AXISSPEC AXIS RND MAX NE". Should be an OR?)
 

Overview

Line: 480 to 481
 Set the top extension, bottom extension, and zero affinity values that are to be used when auto-scaling the "current" axis.
.AXIS SET AXIS RND MIN
Changed:
<
<
Set to "true" if the minimum value of the "current" axis should be rounded to correspond with a tick value. (true, false, or blank allowed)
>
>
Controls whether or not the minimum value of the "current" axis should be rounded to correspond with a tick value.
 
.AXIS SET AXIS RND MAX
Changed:
<
<
Set to "true" if the maximum value of the "current" axis should be rounded to correspond with a tick value. (true, false, or blank allowed)
>
>
Controls whether or not the maximum value of the "current" axis should be rounded to correspond with a tick value.
 
.AXIS SET AXIS VAL DIR
Changed:
<
<
Set the direction for the values of the "current" axis. (NORMAL or REVERSE)
>
>
Set the direction for the values of the "current" axis.
 

Axis Tick Routines

.AXIS SET TICK CLR

Revision 932011-11-09 - JeanNeron

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

Chart Director API for APPX

Line: 27 to 27
 
  • Setting custom shapes on the second data group in a multi layer bar chart does not work. The PHP code looks right, possible CD bug?
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE.
  • Code examples are supposed to be copy/pasteable into the ILF editor, but there's a good chance lots of them won't work, as this requirement wasn't known when the pages were written. Review all ILF samples to make sure they work?
Added:
>
>
  • .AXIS SET AXIS L has no effect on the length of the axis line.
 

Overview

Revision 922011-11-09 - JeanNeron

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

Chart Director API for APPX

Line: 22 to 22
 
  • The .PIE SET SECT EDGE W subroutine sets the value in the memory files, but the rendered chart doesn't look any different. Looks like when setSectorStyle code is generated, the edge width is missing. Also, if you don't also set .PIE SET SECT SHADING, the setSectorStyle code is not generated at all, even if a width was specified.
  • If you explode all the sectors in a pie chart via .PIE SET SECT POSITION then you can't adust the distance on specific sectors via .PIE SET SECT EXP DIST. The generated setExplode method does not include the distance parameter or isn't being generated for individual sectors.
  • .PIE SET LBL DISTANCE doesn't seem to do anything.
Deleted:
<
<
  • XY Chart - if you try to run it >1 time (ie, set Frame type to 'Repeating' in example program), the 2nd time thru will cancel with 'Error - Record Not in File - Dataset'.
 
  • If you pass a 'data point' to .XY SET BAR CLR, funny things happen. It creates a LAYERDGP record & saves the RID. Subsequent calls to .XY SET BAR CLR with no 'data point' will just change the colour on the LAYERDGP record, which probably isn't what the designer wanted. The colours will probably not render correctly on the chart.
  • The .XY SET BAR LBL MIN SZ subroutine is used to set the minimum distance for a label to appear within a bar on a bar chart, but there doesn't seem to be a way to get labels inside the bar on a bar chart in the first place.
  • Setting custom shapes on the second data group in a multi layer bar chart does not work. The PHP code looks right, possible CD bug?

Revision 912011-11-08 - JeanNeron

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

Chart Director API for APPX

Line: 27 to 27
 
  • The .XY SET BAR LBL MIN SZ subroutine is used to set the minimum distance for a label to appear within a bar on a bar chart, but there doesn't seem to be a way to get labels inside the bar on a bar chart in the first place.
  • Setting custom shapes on the second data group in a multi layer bar chart does not work. The PHP code looks right, possible CD bug?
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE.
Changed:
<
<
  • Code examples are supposed to be copy/pasteable into the ILF editor, but there's a good change lots of them won't work, as this requirement wasn't known when the pages were written. Review all ILF samples to make sure they work?
>
>
  • Code examples are supposed to be copy/pasteable into the ILF editor, but there's a good chance lots of them won't work, as this requirement wasn't known when the pages were written. Review all ILF samples to make sure they work?
 

Overview

Line: 442 to 442
 Set the shape of the bars for the current XY Bar Layer
.XY SET BAR W
Added:
>
>
Set the bar and subbar width for the current XY Layer
 
.XY SET BAR W:GROUP
Added:
>
>
Set the bar width for the current XY Layer
 
.XY SET BAR W:WITHIN
Added:
>
>
Set the subbar width for the current XY Layer
 
.XY SET BAR 3D DEPTH
Changed:
<
<
Set the 3D depth of the current bar layer.
>
>
Set the 3D depth of the current bar layer
 

Axis Routines

General

.AXIS SET CURRENT

Revision 902011-11-03 - JeanNeron

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

Chart Director API for APPX

Line: 26 to 26
 
  • If you pass a 'data point' to .XY SET BAR CLR, funny things happen. It creates a LAYERDGP record & saves the RID. Subsequent calls to .XY SET BAR CLR with no 'data point' will just change the colour on the LAYERDGP record, which probably isn't what the designer wanted. The colours will probably not render correctly on the chart.
  • The .XY SET BAR LBL MIN SZ subroutine is used to set the minimum distance for a label to appear within a bar on a bar chart, but there doesn't seem to be a way to get labels inside the bar on a bar chart in the first place.
  • Setting custom shapes on the second data group in a multi layer bar chart does not work. The PHP code looks right, possible CD bug?
Added:
>
>
  • Consider renaming .LAYER ADD DATASET to something that includes TEMPLATE, since the use of 'dataset' conflicts with the use of 'dataset' when adding data points. Also consider renaming .LAYER LINK DATASET to include the word TEMPLATE.
  • Code examples are supposed to be copy/pasteable into the ILF editor, but there's a good change lots of them won't work, as this requirement wasn't known when the pages were written. Review all ILF samples to make sure they work?
 

Overview

Line: 575 to 577
  .LAYER ADD DATASET
Changed:
<
<
Adds a dataset to the current data group
>
>
Adds a dataset template to the current data group
  .LAYER LINK DATASET
Changed:
<
<
Links a set of data points to a dataset.
>
>
Links a set of data points to a dataset template.
 

Dataset Point Routines

.POINT ADD NEW

Revision 892011-11-03 - JeanNeron

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

Chart Director API for APPX

Line: 568 to 568
 
.DATASET GET NAME

Get the name of the "current" Dataset.

Added:
>
>
.LAYER ADD DATA GROUP

Adds a data group to the current chart layer

.LAYER ADD DATASET

Adds a dataset to the current data group

.LAYER LINK DATASET

Links a set of data points to a dataset.

 

Dataset Point Routines

.POINT ADD NEW
Line: 575 to 587
 
.POINT SET VALUE

Set the value of the "current" Point in the "current" Dataset.

Changed:
<
<

Text Box Routines

>
>
Text Box Routines
 

General Text Box Routines

.TEXT INITIALIZE

Revision 882011-10-20 - JeanNeron

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

Chart Director API for APPX

Line: 770 to 770
 Clear the "current" Shape Object.

.SHAPE SET SHAPE ID

Changed:
<
<
Set the Shape ID of the "current" Shape Object.
>
>
Changes the Shape ID of the "current" Shape Object.
 

.SHAPE SET SIDES CNT

Changed:
<
<
Set the number of sides for the current shape.
>
>
Set the number of sides, points or width for the current shape.
 

.SHAPE SET POINTS CNT

Changed:
<
<
Set the number of points for the current shape.
>
>
Sets the number of sides, points or width for the current shape.
 

.SHAPE SET WIDTH PCT

Changed:
<
<
Set the width percentage (0-1) for the current shape.
>
>
Sets the number of sides, points or width for the current shape.
 

.SHAPE SET NEXT POINT

Changed:
<
<
Set the next point for the "current" CustomShape Object.
>
>
Creates a custom shape.
  -- SteveFrizzell - 2010-02-14

Revision 872011-10-20 - JeanNeron

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

Chart Director API for APPX

Line: 25 to 25
 
  • XY Chart - if you try to run it >1 time (ie, set Frame type to 'Repeating' in example program), the 2nd time thru will cancel with 'Error - Record Not in File - Dataset'.
  • If you pass a 'data point' to .XY SET BAR CLR, funny things happen. It creates a LAYERDGP record & saves the RID. Subsequent calls to .XY SET BAR CLR with no 'data point' will just change the colour on the LAYERDGP record, which probably isn't what the designer wanted. The colours will probably not render correctly on the chart.
  • The .XY SET BAR LBL MIN SZ subroutine is used to set the minimum distance for a label to appear within a bar on a bar chart, but there doesn't seem to be a way to get labels inside the bar on a bar chart in the first place.
Added:
>
>
  • Setting custom shapes on the second data group in a multi layer bar chart does not work. The PHP code looks right, possible CD bug?
 

Overview

Revision 862011-10-19 - JeanNeron

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

Chart Director API for APPX

Line: 406 to 406
 Set the horizontal gap between the bar groups.
.XY SET BAR LBL MIN SZ
Added:
>
>
Sets the minimum height (or width for horizontal bars) of the bar segments below which data labels will be hidden.
 
.XY SET BAR LEGEND ISZ

Sets the height and width of the icons used in a legend.

Line: 414 to 415
 Set the name to be included in the legend box.
.XY SET BAR OLAP
Added:
>
>
Sets the overlap ratio and order among overlapping bars within a bar group in a multi-bar chart
 
.XY SET BAR OLAP:ORDER
Added:
>
>
Sets the order among overlapping bars within a bar group in a multi-bar chart
 
.XY SET BAR OLAP:RATIO
Added:
>
>
Sets the overlap ratio among overlapping bars within a bar group in a multi-bar chart
 
.XY SET BAR SHAPE

Set the shape of the bars in the current Data Point, Data Set, Data Group, or XY Bar Layer

Revision 852011-10-19 - JeanNeron

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

Chart Director API for APPX

Line: 24 to 24
 
  • .PIE SET LBL DISTANCE doesn't seem to do anything.
  • XY Chart - if you try to run it >1 time (ie, set Frame type to 'Repeating' in example program), the 2nd time thru will cancel with 'Error - Record Not in File - Dataset'.
  • If you pass a 'data point' to .XY SET BAR CLR, funny things happen. It creates a LAYERDGP record & saves the RID. Subsequent calls to .XY SET BAR CLR with no 'data point' will just change the colour on the LAYERDGP record, which probably isn't what the designer wanted. The colours will probably not render correctly on the chart.
Added:
>
>
  • The .XY SET BAR LBL MIN SZ subroutine is used to set the minimum distance for a label to appear within a bar on a bar chart, but there doesn't seem to be a way to get labels inside the bar on a bar chart in the first place.
 

Overview

Line: 408 to 409
 
.XY SET BAR LEGEND ISZ

Sets the height and width of the icons used in a legend.

Changed:
<
<
.XY SET BAR LEGEND TXT
>
>
.XY SET LEGEND TXT
 
Added:
>
>
Set the name to be included in the legend box.
 
.XY SET BAR OLAP

.XY SET BAR OLAP:ORDER

Revision 842011-10-18 - JeanNeron

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

Chart Director API for APPX

Line: 407 to 407
 
.XY SET BAR LEGEND ISZ
Added:
>
>
Sets the height and width of the icons used in a legend.
 
.XY SET BAR LEGEND TXT

.XY SET BAR OLAP

Revision 832011-10-14 - JeanNeron

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

Chart Director API for APPX

Line: 396 to 396
 Set the color of the bars for the current XY Bar Layer
.XY SET BAR GAP
Changed:
<
<
Set the horizontal gap between the bars.
>
>
Set the horizontal gap between the bars or bar groups.
 
.XY SET BAR GAP:BTW
Added:
>
>
Set the horizontal gap between the bars.
 
.XY SET BAR GAP:WITHIN
Added:
>
>
Set the horizontal gap between the bar groups.
 
.XY SET BAR LBL MIN SZ

.XY SET BAR LEGEND ISZ

Revision 822011-10-14 - JeanNeron

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

Chart Director API for APPX

Line: 23 to 23
 
  • If you explode all the sectors in a pie chart via .PIE SET SECT POSITION then you can't adust the distance on specific sectors via .PIE SET SECT EXP DIST. The generated setExplode method does not include the distance parameter or isn't being generated for individual sectors.
  • .PIE SET LBL DISTANCE doesn't seem to do anything.
  • XY Chart - if you try to run it >1 time (ie, set Frame type to 'Repeating' in example program), the 2nd time thru will cancel with 'Error - Record Not in File - Dataset'.
Added:
>
>
  • If you pass a 'data point' to .XY SET BAR CLR, funny things happen. It creates a LAYERDGP record & saves the RID. Subsequent calls to .XY SET BAR CLR with no 'data point' will just change the colour on the LAYERDGP record, which probably isn't what the designer wanted. The colours will probably not render correctly on the chart.
 

Overview

Revision 812011-10-12 - JeanNeron

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

Chart Director API for APPX

Line: 22 to 22
 
  • The .PIE SET SECT EDGE W subroutine sets the value in the memory files, but the rendered chart doesn't look any different. Looks like when setSectorStyle code is generated, the edge width is missing. Also, if you don't also set .PIE SET SECT SHADING, the setSectorStyle code is not generated at all, even if a width was specified.
  • If you explode all the sectors in a pie chart via .PIE SET SECT POSITION then you can't adust the distance on specific sectors via .PIE SET SECT EXP DIST. The generated setExplode method does not include the distance parameter or isn't being generated for individual sectors.
  • .PIE SET LBL DISTANCE doesn't seem to do anything.
Added:
>
>
  • XY Chart - if you try to run it >1 time (ie, set Frame type to 'Repeating' in example program), the 2nd time thru will cancel with 'Error - Record Not in File - Dataset'.
 

Overview

Revision 802011-10-06 - JeanNeron

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

Chart Director API for APPX

Line: 13 to 13
 
    • It verifies the file exists only for a full pathname, should verify image directory as well
    • Also check .CHART SET BG WALLPAPR, probably has the same problem.
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
Deleted:
<
<
  • The .CHART SET EXT CLR routine is mentioned here but does not exist.
 
  • The .CHART SET SHAPE AA seems to update the memory file, but unless you also call .CHART SET TXT AA MODE, nothing gets put in the php script. Even if you call .CHART SET TXT AA MODE, the parameter for shape AA is always true, even if you turned it off via .CHART SET SHAPE AA
  • The .LEGEND SET ICON GAP seems to update the memory file, but unless you also call .LEGEND SET ICON SZ, nothing gets written to the php script.
  • The .LEGEND SET TEMPLATE causes the chart to fail to render unless you enclose the text in "'s. When generating the php script, the API should do this automatically.
Line: 107 to 106
 

.CHART SET CNR R:BL

Set the radius of the Bottom Left corner of the "current" chart.

Changed:
<
<

.CHART SET EXT CLR

>
>

.CHART SET CNR EXT CLR

 
Changed:
<
<
Set the exterior color for rounded corners and/or the Drop Shadow effect of the "current" chart.
>
>
Set the exterior color for rounded corners for the "current" chart.

 

Base Chart Routines - Drop Shadow Options

.CHART SET DROP SHADOW

Line: 129 to 129
 

.CHART SET DS BLUR RAD

Set the Blur Radius of the Drop Shadow Effect for the "current" chart.

Changed:
<
<

.CHART SET EXT CLR

Set the exterior color for rounded corners and/or the Drop Shadow effect of the "current" chart.

>
>

 

Base Chart Routines - Options

.CHART SET TRANS TYPE

Revision 792011-10-06 - JeanNeron

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

Chart Director API for APPX

Line: 235 to 235
 

.PIE SET 3D DEPTH

Set the 3D depth of the pie.

Added:
>
>

.PIE SET SECT 3D DEPTH

Set the 3D depth for all pie sectors, a range of pie sectors, an individual pie sector or the current pie sector.

 

.PIE SET 3D VIEW ANGLE

Set the 3D viewing angle of the pie.

Line: 258 to 261
 

.PIE SET LAYOUT:DIR

Set the layout direction for the pie sectors.

Changed:
<
<

Pie Chart Routines - Label Options

>
>

Pie Chart Routines - Label Options

 

.PIE SET LBL BOUNDS

Set the Top and Bottom bounds for the pie sector labels (Side Label Layout only).

Revision 782011-10-05 - JeanNeron

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

Chart Director API for APPX

Line: 22 to 22
 
  • .PIE SET LBL BOUNDS (and the routines to set upper/lower individually) appear to work and the generated PHP code looks right, but it seems to have no effect on the generated chart.
  • The .PIE SET SECT EDGE W subroutine sets the value in the memory files, but the rendered chart doesn't look any different. Looks like when setSectorStyle code is generated, the edge width is missing. Also, if you don't also set .PIE SET SECT SHADING, the setSectorStyle code is not generated at all, even if a width was specified.
  • If you explode all the sectors in a pie chart via .PIE SET SECT POSITION then you can't adust the distance on specific sectors via .PIE SET SECT EXP DIST. The generated setExplode method does not include the distance parameter or isn't being generated for individual sectors.
Added:
>
>
 

Overview

Revision 772011-10-05 - JeanNeron

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

Chart Director API for APPX

Line: 21 to 21
 
  • .PIE SET LBL LAYOUT accepts 'INSIDE' as an argument to put the labels inside the sectors, but it doesn't work.
  • .PIE SET LBL BOUNDS (and the routines to set upper/lower individually) appear to work and the generated PHP code looks right, but it seems to have no effect on the generated chart.
  • The .PIE SET SECT EDGE W subroutine sets the value in the memory files, but the rendered chart doesn't look any different. Looks like when setSectorStyle code is generated, the edge width is missing. Also, if you don't also set .PIE SET SECT SHADING, the setSectorStyle code is not generated at all, even if a width was specified.
Added:
>
>
  • If you explode all the sectors in a pie chart via .PIE SET SECT POSITION then you can't adust the distance on specific sectors via .PIE SET SECT EXP DIST. The generated setExplode method does not include the distance parameter or isn't being generated for individual sectors.
 

Overview

Revision 762011-10-04 - JeanNeron

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

Chart Director API for APPX

Line: 20 to 20
 
  • Setting the vertical gap via .LEGEND SET GAP:V doesn't work unless you also set the horizontal gap via .LEGEND SET GAP:H. If the horizontal gap is not set, the php script doesn't include the setKeySpacing method, which controls both horizontal & vertical.
  • .PIE SET LBL LAYOUT accepts 'INSIDE' as an argument to put the labels inside the sectors, but it doesn't work.
  • .PIE SET LBL BOUNDS (and the routines to set upper/lower individually) appear to work and the generated PHP code looks right, but it seems to have no effect on the generated chart.
Changed:
<
<
>
>
  • The .PIE SET SECT EDGE W subroutine sets the value in the memory files, but the rendered chart doesn't look any different. Looks like when setSectorStyle code is generated, the edge width is missing. Also, if you don't also set .PIE SET SECT SHADING, the setSectorStyle code is not generated at all, even if a width was specified.
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Revision 752011-10-03 - JeanNeron

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

Chart Director API for APPX

Line: 265 to 265
 

.PIE SET LBL BOUNDS:B

Set the Bottom bound for the pie sector labels (Side Label Layout only).

Changed:
<
<

Pie Chart Sector Routines

>
>

Pie Chart Sector Routines

  The following routines can be used to create or initialize pie sector specs and set the various sector style attributes.
Changed:
<
<

Pie Chart Sector Routines - General

>
>

Pie Chart Sector Routines - General

 
.PIE SECT INITIALIZE

Initialize a specific pie sector spec.

Line: 278 to 278
 
.PIE SECT SET CURRENT

Set the "current" pie chart sector to be a previously initialized pie sector of the "current" chart.

Changed:
<
<

Pie Chart Sector Routines - Background Options

>
>

Pie Chart Sector Routines - Background Options

 
.PIE SET SECT BG CLR

Set the background color for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

.PIE SET SECT SHADING

Set the Shading Method for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Changed:
<
<

Pie Chart Sector Routines - Edge Options

>
>

Pie Chart Sector Routines - Edge Options

 
.PIE SET SECT EDGE CLR

Set the Edge Color for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

.PIE SET SECT EDGE W

Set the Edge Width for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Changed:
<
<

Pie Chart Sector Routines - Explode Options

>
>

Pie Chart Sector Routines - Explode Options

 
.PIE SET SECT POSITION

Set the Position (Normal or Exploded) for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

.PIE SET SECT EXP DIST

Set the Explosion Distance for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Changed:
<
<

Pie Chart Sector Routines - Labels

>
>

Pie Chart Sector Routines - Labels

  The following routines can be used to set the various label attributes for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.
.PIE SET SECT LABEL
Line: 320 to 320
 
.PIE SET LBL FORMAT

Set the Format for the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.

Changed:
<
<

Not Yet Implemented

>
>

Not Yet Implemented

  The following routines have not been implemented. However, until such time as they are implemented, the corresponding .TEXT routines can be used instead.
.PIE SET LBL FONT NAM
Line: 341 to 341
 
.PIE SET LBL ROTATION

Set the rotation angle for all sectors of the current pie chart.

Changed:
<
<

XY Chart Routines

General

>
>

XY Chart Routines

General

 
.XY SET PLOT AREA

Set the position and size of the plot area.

Line: 431 to 431
 
.XY SET BAR 3D DEPTH

Set the 3D depth of the current bar layer.

Changed:
<
<

Axis Routines

General
>
>

Axis Routines

General

 
.AXIS SET CURRENT

Set the specified axis ("x", "y") of the "current" chart to be the "current" axis. (a second optional parameter can specify "Primary" or "Secondary")

Line: 466 to 466
 
.AXIS SET AXIS VAL DIR

Set the direction for the values of the "current" axis. (NORMAL or REVERSE)

Changed:
<
<
Axis Tick Routines
>
>

Axis Tick Routines

 
.AXIS SET TICK CLR

Set the color of the (major and minor) ticks on the "current" axis.

Line: 485 to 485
 
.AXIS SET TICK DENSITY

Set the distance in pixels between major ticks and minor ticks on the "current" axis.

Changed:
<
<
Axis Title Routines
>
>

Axis Title Routines

 
.AXIS SET TITLE

Set a title for the "current" axis. (creates a TEXTSPEC record which then becomes the current TEXT spec similar to .CHART SET TITLE)

Line: 510 to 510
 
.AXIS SET TTL GAP

Set the gap between the axis title and the axis for the "current" axis. Note: Title gap does not seem to work correctly in all cases. Possible bug in Chart Director.

Changed:
<
<
Axis Label Routines
>
>

Axis Label Routines

 
.AXIS LABEL ADD NEXT

Add the next label to the "current" Axis of the "current" chart.

Line: 541 to 541
 
.AXIS SET LBL OFFSET

Set the offset of the labels and the offset units for the the "current" axis. The offset units is an optional second parameter. The default for the offset unit is pixels.

Changed:
<
<

Data Routines

Dataset Routines

>
>

Data Routines

Dataset Routines

 
.DATASET INITIALIZE

Initialize a Dataset.

Line: 552 to 552
 
.DATASET GET NAME

Get the name of the "current" Dataset.

Changed:
<
<

Dataset Point Routines

>
>

Dataset Point Routines

 
.POINT ADD NEW

Add a new Point to the "current" Dataset. Also create a corresponding sector spec for the "current" (pie) chart if one does not exist.

.POINT SET VALUE

Set the value of the "current" Point in the "current" Dataset.

Changed:
<
<

Text Box Routines

General Text Box Routines

>
>

Text Box Routines

General Text Box Routines

 
.TEXT INITIALIZE

Initialize a Text Object

Line: 573 to 573
 
.TEXT SET TEXT

Set the text of the "current" Text Object.

Changed:
<
<

Font Routines

>
>

Font Routines

 
.TEXT SET FONT NAME

Set the font name and font index for the "current" Text Object.

Line: 595 to 595
 
.TEXT SET FONT CLR

Set the font color for the "current" Text Object.

Changed:
<
<

Text Box Routines

>
>

Text Box Routines

 
.TEXT SET BX BG CLR

Set the background color for the "current" Text Object.

Line: 647 to 647
 
.TEXT SET BX Z ORDER

Set the Z Order of the "current" Text Object.

Changed:
<
<

Text Format Routines

>
>

Text Format Routines

 
.TEXT SET TXT MAX SZ

Set the maximum size (width and height) of the text that can be displayed in the "current" Text Object.

Revision 742011-10-03 - JeanNeron

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

Chart Director API for APPX

Line: 18 to 18
 
  • The .LEGEND SET ICON GAP seems to update the memory file, but unless you also call .LEGEND SET ICON SZ, nothing gets written to the php script.
  • The .LEGEND SET TEMPLATE causes the chart to fail to render unless you enclose the text in "'s. When generating the php script, the API should do this automatically.
  • Setting the vertical gap via .LEGEND SET GAP:V doesn't work unless you also set the horizontal gap via .LEGEND SET GAP:H. If the horizontal gap is not set, the php script doesn't include the setKeySpacing method, which controls both horizontal & vertical.
Added:
>
>
  • .PIE SET LBL LAYOUT accepts 'INSIDE' as an argument to put the labels inside the sectors, but it doesn't work.
  • .PIE SET LBL BOUNDS (and the routines to set upper/lower individually) appear to work and the generated PHP code looks right, but it seems to have no effect on the generated chart.
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Revision 732011-09-30 - JeanNeron

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

Chart Director API for APPX

Revision 722011-09-27 - JeanNeron

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

Chart Director API for APPX

Line: 16 to 16
 
  • The .CHART SET EXT CLR routine is mentioned here but does not exist.
  • The .CHART SET SHAPE AA seems to update the memory file, but unless you also call .CHART SET TXT AA MODE, nothing gets put in the php script. Even if you call .CHART SET TXT AA MODE, the parameter for shape AA is always true, even if you turned it off via .CHART SET SHAPE AA
  • The .LEGEND SET ICON GAP seems to update the memory file, but unless you also call .LEGEND SET ICON SZ, nothing gets written to the php script.
Added:
>
>
  • The .LEGEND SET TEMPLATE causes the chart to fail to render unless you enclose the text in "'s. When generating the php script, the API should do this automatically.
  • Setting the vertical gap via .LEGEND SET GAP:V doesn't work unless you also set the horizontal gap via .LEGEND SET GAP:H. If the horizontal gap is not set, the php script doesn't include the setKeySpacing method, which controls both horizontal & vertical.
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Revision 712011-09-26 - JeanNeron

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

Chart Director API for APPX

Line: 15 to 15
 
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
  • The .CHART SET EXT CLR routine is mentioned here but does not exist.
  • The .CHART SET SHAPE AA seems to update the memory file, but unless you also call .CHART SET TXT AA MODE, nothing gets put in the php script. Even if you call .CHART SET TXT AA MODE, the parameter for shape AA is always true, even if you turned it off via .CHART SET SHAPE AA
Added:
>
>
  • The .LEGEND SET ICON GAP seems to update the memory file, but unless you also call .LEGEND SET ICON SZ, nothing gets written to the php script.
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Line: 164 to 165
 Set the width of the legend key icons for the "current" Legend Box.

.LEGEND SET ICON SZ:H

Changed:
<
<
Set the height fo the legend key icons for the "current" Legend Box.
>
>
Set the height of the legend key icons for the "current" Legend Box.
 

.LEGEND SET ICON GAP

Set the distance between the Legend icon and the Legend text.

.LEGEND SET KEY GAP

Changed:
<
<
Set the horizontal gap between the key icon and the key text and the vertical gap (line spacing) between the legend keys for the "current" Legend Box.
>
>
Set the horizontal gap between two legend entries for horizontal legend layout and the vertical gap (line spacing) between the legend keys for the "current" Legend Box.
 

.LEGEND SET KEY GAP:H

Changed:
<
<
Set the horizontal gap between the key icon and the key text for the "current" Legend Box.
>
>
Set the horizontal gap between two legend entries for horizontal legend layout for the "current" Legend Box.
 

.LEGEND SET KEY GAP:V

Set the vertical gap (line spacing) between the legend keys of the "current" Legend Box.

Revision 702011-09-23 - JeanNeron

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

Chart Director API for APPX

Line: 14 to 14
 
    • Also check .CHART SET BG WALLPAPR, probably has the same problem.
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
  • The .CHART SET EXT CLR routine is mentioned here but does not exist.
Added:
>
>
  • The .CHART SET SHAPE AA seems to update the memory file, but unless you also call .CHART SET TXT AA MODE, nothing gets put in the php script. Even if you call .CHART SET TXT AA MODE, the parameter for shape AA is always true, even if you turned it off via .CHART SET SHAPE AA
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Revision 692011-09-23 - JeanNeron

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

Chart Director API for APPX

Line: 107 to 107
 

.CHART SET DS COLOR

Set the Color of the Drop Shadow Effect for the "current" chart.

Changed:
<
<

.CHART SET DS LOC

>
>

.CHART SET DS LOC

  Set the X and Y coordinates of the offset of the Drop Shadow Effect for the "current" chart.

.CHART SET DS LOC:X

Revision 682011-09-23 - JeanNeron

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

Chart Director API for APPX

Line: 13 to 13
 
    • It verifies the file exists only for a full pathname, should verify image directory as well
    • Also check .CHART SET BG WALLPAPR, probably has the same problem.
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
Added:
>
>
  • The .CHART SET EXT CLR routine is mentioned here but does not exist.
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Revision 672011-09-22 - JeanNeron

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

Chart Director API for APPX

Line: 12 to 12
 
  • The .CHART SET BG IMAGE routine does not pick up images in the default image directory, only a full pathname works
    • It verifies the file exists only for a full pathname, should verify image directory as well
    • Also check .CHART SET BG WALLPAPR, probably has the same problem.
Added:
>
>
  • The examples in 1CD have the path /var/www/html/ChartDirector/phpdemo hardcoded. This path can vary depending on Windows vs Linux installation. The examples should probably check the server type and use the appropriate default.
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Revision 662011-09-22 - JeanNeron

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

Chart Director API for APPX

Line: 6 to 6
 

Known Issues

Changed:
<
<
The Linear Meter chart type has a few problems:
>
>
  • The Linear Meter chart type has a few problems:
 
  • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
  • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.
Added:
>
>
  • The .CHART SET BG IMAGE routine does not pick up images in the default image directory, only a full pathname works
    • It verifies the file exists only for a full pathname, should verify image directory as well
    • Also check .CHART SET BG WALLPAPR, probably has the same problem.
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Revision 652011-09-21 - JeanNeron

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

Chart Director API for APPX

Line: 127 to 127
 Set the Transparency Color for the "Current" chart. This field is usually set in conjunction with the "Single Color" Transparency Type.

.CHART SET SHAPE AA

Changed:
<
<
Set the Shape Anit-Alias to be On or Off for the "current" chart.
>
>
Set the Shape Anti-Alias to be On or Off for the "current" chart.
 

.CHART SET TXT AA MODE

Set the Text Anti-Alias Mode for the "current" chart.

Line: 309 to 309
 
.PIE SET LBL FORMAT

Set the Format for the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.

Changed:
<
<
Not Yet Implemented
>
>

Not Yet Implemented

  The following routines have not been implemented. However, until such time as they are implemented, the corresponding .TEXT routines can be used instead.
.PIE SET LBL FONT NAM
Line: 346 to 346
 Set the width of the plot area.
.XY SET PLOT AREA:H
Changed:
<
<
Set the height fo the plot area.
>
>
Set the height of the plot area.
 
.XY SET PA BG CLR

Set the Plot Area background colors.

Line: 436 to 436
 Set the width of the "current" axis line.
.AXIS SET AXIS MARGIN
Changed:
<
<
The the margins (top and bottom/left and right) of the "current" axis.
>
>
Set the margins (top and bottom/left and right) of the "current" axis.
 
.AXIS SET AXIS MODE

Set the axis mode of the "current" axis to be INDENTED or DEFAULT.

Line: 498 to 498
 Set the alignment of the axis title relative to the axis for the "current" axis.
.AXIS SET TTL GAP
Changed:
<
<
Set the gap between the axis title and the axis for the "current" axis. Note: Title gap does not seem to work correctly in all cases. I believe this is a bug in Chart Director.
>
>
Set the gap between the axis title and the axis for the "current" axis. Note: Title gap does not seem to work correctly in all cases. Possible bug in Chart Director.
 
Axis Label Routines
.AXIS LABEL ADD NEXT
Line: 602 to 602
 Set the corner style (Square or Rounded) of the "current" Text Object.
.TEXT SET BX CNR R
Changed:
<
<
Set the corner radius' of the "current" Text Object.
>
>
Set the corner radius of the "current" Text Object.
 
.TEXT SET BX CNR R:TL

Set the radius of the Top Left corner of the "current" Text Object.

Revision 642011-09-15 - JeanNeron

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

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Changed:
<
<
Known Issues
>
>

Known Issues

  The Linear Meter chart type has a few problems:
Line: 12 to 12
 
  • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.

Overview

Changed:
<
<
Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. The chart is created as a PNG graphic file, which can then be dynamically embedded in APPX menus, input screens, and PDF reports via a Picture GUI Control.
>
>
Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.
 

Using the API

There are some key concepts you should understand before using the Chart Design subroutines.

Revision 632011-09-15 - JeanNeron

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

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Changed:
<
<

Known Issues

>
>
Known Issues
  The Linear Meter chart type has a few problems:
Line: 13 to 12
 
  • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.

Overview

Changed:
<
<
Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.
>
>
Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. The chart is created as a PNG graphic file, which can then be dynamically embedded in APPX menus, input screens, and PDF reports via a Picture GUI Control.
 

Using the API

Changed:
<
<
There are some key concepts you should understand before using the Chart Design subroutines.
>
>
There are some key concepts you should understand before using the Chart Design subroutines.
 

Designing a Chart

Chart design is accomplished by calling the appropriate Chart Design subroutines in the appropriate sequence to create a chart specification.

Revision 622011-09-15 - JeanNeron

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

Chart Director API for APPX

Line: 10 to 10
 The Linear Meter chart type has a few problems:

  • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
Changed:
<
<
  • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, the pointer will appear on all charts, not just the current one (when rendered)
>
>
  • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, when you render a chart the pointer(s) will appear on all charts, not just the current one.
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Added:
>
>

Using the API

There are some key concepts you should understand before using the Chart Design subroutines.

 

Designing a Chart

Chart design is accomplished by calling the appropriate Chart Design subroutines in the appropriate sequence to create a chart specification.

Revision 612011-09-14 - JeanNeron

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

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.


Added:
>
>

Known Issues

 
Added:
>
>
The Linear Meter chart type has a few problems:

  • The pointer files (PTR1/2) are not initialized when .CHART INITIALIZE is called, so each time you call .CHART RENDER, the previously defined pointers appear as well as the one(s) you intended for the current chart.
  • The PRT1/2 files are not linked to a particular CHTSPEC record, so if you are working with multiple charts of this type, the pointer will appear on all charts, not just the current one (when rendered)
 

Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Revision 602011-08-12 - PeteBrower

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

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Revision 592011-03-08 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 736 to 736
 

.SHAPE SET SHAPE ID

Set the Shape ID of the "current" Shape Object.

Changed:
<
<

[[CDShapeSetSides][.SHAPE SET SIDES CNT]

>
>

.SHAPE SET SIDES CNT

  Set the number of sides for the current shape.

.SHAPE SET POINTS CNT

Revision 582011-03-08 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 733 to 733
 

.SHAPE SET DEFAULT

Clear the "current" Shape Object.

Changed:
<
<

.SHAPE SET SHAPE

>
>

.SHAPE SET SHAPE ID

 
Changed:
<
<
Set the Shape of the "current" Shape Object.
>
>
Set the Shape ID of the "current" Shape Object.

[[CDShapeSetSides][.SHAPE SET SIDES CNT]

Set the number of sides for the current shape.

.SHAPE SET POINTS CNT

Set the number of points for the current shape.

.SHAPE SET WIDTH PCT

Set the width percentage (0-1) for the current shape.

.SHAPE SET NEXT POINT

Set the next point for the "current" CustomShape Object.

  -- SteveFrizzell - 2010-02-14

Revision 572011-03-08 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 366 to 366
 
.XY SET BAR CLR:DG

Set the color of the bars for the current Data Group

Changed:
<
<
.XY SET BAR CLR:LAYER
>
>
.XY SET BAR CLR:LR
  Set the color of the bars for the current XY Bar Layer
.XY SET BAR GAP
Line: 390 to 390
 
.XY SET BAR SHAPE
Added:
>
>
Set the shape of the bars in the current Data Point, Data Set, Data Group, or XY Bar Layer
.XY SET BAR SHAPE:DP

Set the shape of the bars for the current Data Point

.XY SET BAR SHAPE:DS

Set the shape of the bars for the current Data Set

.XY SET BAR SHAPE:DG

Set the shape of the bars for the current Data Group

.XY SET BAR SHAPE:LR

Set the shape of the bars for the current XY Bar Layer

 
.XY SET BAR W

.XY SET BAR W:GROUP
Line: 707 to 720
 

.COLOR SET DASH LINE

Set the dash line pattern for the "current" Color Object.

Added:
>
>

Shape Routines

.SHAPE INITIALIZE

Initialize a Shape Object

.SHAPE SET CURRENT

Set the "current" Shape Object to be a previously initialized Shape Object.

.SHAPE GET NAME

Get the name of the "current" Shape Object.

.SHAPE SET DEFAULT

Clear the "current" Shape Object.

.SHAPE SET SHAPE

Set the Shape of the "current" Shape Object.

  -- SteveFrizzell - 2010-02-14

Revision 562011-03-08 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 354 to 354
 
.XY ADD BAR LAYER

Adds a Bar layer to the current chart spec.

Changed:
<
<
.XY SET BAR CLR
>
>
.XY SET BAR CLR
 
Changed:
<
<
Set the color of the bars in the current bar layer.
>
>
Set the color of the bars in the current Data Point, Data Set, Data Group, or XY Bar Layer
.XY SET BAR CLR:DP

Set the color of the bars for the current Data Point

.XY SET BAR CLR:DS

Set the color of the bars for the current Data Set

.XY SET BAR CLR:DG

Set the color of the bars for the current Data Group

.XY SET BAR CLR:LAYER

Set the color of the bars for the current XY Bar Layer

 
.XY SET BAR GAP

Set the horizontal gap between the bars.

Revision 552011-02-28 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 357 to 357
 
.XY SET BAR CLR

Set the color of the bars in the current bar layer.

Changed:
<
<
.XY SET BAR LEGEND TXT
>
>
.XY SET BAR GAP

Set the horizontal gap between the bars.

.XY SET BAR GAP:BTW

.XY SET BAR GAP:WITHIN

.XY SET BAR LBL MIN SZ

.XY SET BAR LEGEND ISZ

.XY SET BAR LEGEND TXT

.XY SET BAR OLAP

.XY SET BAR OLAP:ORDER

.XY SET BAR OLAP:RATIO

.XY SET BAR SHAPE

.XY SET BAR W

.XY SET BAR W:GROUP

.XY SET BAR W:WITHIN
 
Deleted:
<
<
Set the bar layer name in the legend.
 
.XY SET BAR 3D DEPTH

Set the 3D depth of the current bar layer.

Revision 542010-06-28 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 662 to 662
 

.COLOR SET BRUSH METAL

Set the strength of the texture to create a Brushed Metal Effect for the "current" Color Object. Must be None, Light, Medium, or Strong. This routine is usually called in conjunction with .COLOR SET METAL.

Added:
>
>

.COLOR SET BRIGHTNESS

Set the brightness of the "current" Color Object.

.COLOR SET HALF COLOR

Set the intensity of the "current" Color Object to be one half of the normal intensity.

.COLOR SET DASH LINE

Set the dash line pattern for the "current" Color Object.

  -- SteveFrizzell - 2010-02-14

Revision 532010-06-22 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 650 to 650
 

.COLOR SET OPAQUE

Set the alpha channel of the "current" Color Object to be Opaque.

Added:
>
>

.COLOR SET METAL

Set the direction for brightness modulation to create a Metal color effect for the "current" Color Object.

.COLOR SET GOLD

Sets the color of the "current" Color Object to be Yellow (FFEE44) and sets the direction for brightness modulation to create a Gold Metal color effect.

.COLOR SET SILVER

Sets the color of the "current" Color Object to be Grey (DDDDDD) and sets the direction for brightness modulation to create a Silver Metal color effect.

.COLOR SET BRUSH METAL

Set the strength of the texture to create a Brushed Metal Effect for the "current" Color Object. Must be None, Light, Medium, or Strong. This routine is usually called in conjunction with .COLOR SET METAL.

  -- SteveFrizzell - 2010-02-14

Revision 522010-06-08 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 17 to 17
 

Rendering a Chart

A chart is rendered by calling the Chart Render subroutine for a chart specification and its associated dataset definition(s).

Changed:
<
<

Chart Specifications

Chart Routines - General

>
>

Base Chart Routines

Base Chart Routines - General

 

.CHART INITIALIZE

Initialize a chart.

.CHART RENDER

Render the "current" chart.

Added:
>
>

.CHART SET CURRENT

Set the "current" chart to be a previously initialized chart.

.CHART GET NAME

Get the name of the "current" chart.

 

.CHART SET TITLE

Set the title of the "current" chart.

.CHART SET LEGEND BOX

Set a Legend Box at the specified X and Y coordinates of the "current" chart.

Changed:
<
<

.CHART SET SIZE

>
>

Base Chart Routines - Background

.CHART SET BG SIZE

  Set the size (height and width) of the "current" chart.
Changed:
<
<

.CHART SET SIZE:H

>
>

.CHART SET BG SIZE:H

  Set the height of the "current" chart.
Changed:
<
<

.CHART SET SIZE:W

>
>

.CHART SET BG SIZE:W

  Set the width of the "current" chart.

.CHART SET BG COLOR

Set the background color of the "current" chart to the "current" color.

Changed:
<
<

.CHART SET BG WALLPAPER

>
>

.CHART SET BG WALLPAPR

  Set the pathname of a wallpaper image that is to be tiled within the background area of the "current" chart.

.CHART SET BG IMAGE

Set the pathname of an image file that is to be positioned within the background area of the "current" chart.

Added:
>
>

Base Chart Routines - Edge Options

 

.CHART SET EDGE COLOR

Set the edge color of the "current" chart.

Line: 58 to 66
 

.CHART SET EDGE WIDTH

Set the edge width of the "current" chart. Used in conjunction with Edge Effect.

Added:
>
>

Base Chart Routines - Corner Options

 

.CHART SET CNR STYLE

Set the corner style (Square or Rounded) of the "current" chart.

Deleted:
<
<

.CHART SET EXT CLR

Set the exterior color for rounded corners and/or the Drop Shadow effect of the "current" chart.

 

.CHART SET CNR R

Set the corner radius' of the "current" chart.

Line: 79 to 85
 

.CHART SET CNR R:BL

Set the radius of the Bottom Left corner of the "current" chart.

Changed:
<
<

.CHART SET CURRENT

>
>

.CHART SET EXT CLR

 
Changed:
<
<
Set the "current" chart to be a previously initialized chart.

.CHART GET NAME

>
>
Set the exterior color for rounded corners and/or the Drop Shadow effect of the "current" chart.

Base Chart Routines - Drop Shadow Options

.CHART SET DROP SHADOW

 
Changed:
<
<
Get the name of the "current" chart.

Not Yet Implemented

.CHART ADD TO MULTI
>
>
Set the Drop Shadow Effect to be On or Off for the "current" chart.

.CHART SET DS COLOR

 
Changed:
<
<
Add the "current" chart object to the specified Multi-Chart.
.CHART ADD EM CHART
>
>
Set the Color of the Drop Shadow Effect for the "current" chart.

.CHART SET DS LOC

 
Changed:
<
<
Add the specified chart object to the "current" Multi-Chart.
.CHART SET SHAPE AA
>
>
Set the X and Y coordinates of the offset of the Drop Shadow Effect for the "current" chart.

.CHART SET DS LOC:X

 
Changed:
<
<
Set the Shape Anit-Alias to be On or Off for the "current" chart.
.CHART SET TXT AA MODE
>
>
Set the X coordinate of the offset of the Drop Shadow Effect for the "current" chart.

.CHART SET DS LOC:Y

 
Changed:
<
<
Set the Text Anti-Alias Mode for the "current" chart.
.CHART SET TRANS TYPE
>
>
Set the Y coordinate of the offset of the Drop Shadow Effect for the "current" chart.

.CHART SET DS BLUR RAD

 
Changed:
<
<
Set the Transparency Type for the "current" chart.
.CHART SET TRANS COLOR
>
>
Set the Blur Radius of the Drop Shadow Effect for the "current" chart.

.CHART SET EXT CLR

 
Changed:
<
<
Set the Transparency Color for the "Current" chart. This field is usually set in conjunction with the "Single Color" Transparency Type.
.CHART SET DROP SHADOW
>
>
Set the exterior color for rounded corners and/or the Drop Shadow effect of the "current" chart.

Base Chart Routines - Options

.CHART SET TRANS TYPE

 
Changed:
<
<
Set the Drop Shadow Effect to be On or Off for the "current" chart.
.CHART SET DS LOC
>
>
Set the Transparency Type for the "current" chart.

.CHART SET TRANS COLOR

 
Changed:
<
<
Set the X and Y coordinates of the offset of the Drop Shadow Effect for the "current" chart.
.CHART SET DS LOC:X
>
>
Set the Transparency Color for the "Current" chart. This field is usually set in conjunction with the "Single Color" Transparency Type.

.CHART SET SHAPE AA

 
Changed:
<
<
Set the X coordinate of the offset of the Drop Shadow Effect for the "current" chart.
.CHART SET DS LOC:Y
>
>
Set the Shape Anit-Alias to be On or Off for the "current" chart.

.CHART SET TXT AA MODE

 
Changed:
<
<
Set the Y coordinate of the offset of the Drop Shadow Effect for the "current" chart.
.CHART SET DS BLUR RAD
>
>
Set the Text Anti-Alias Mode for the "current" chart.

Not Yet Implemented

.CHART ADD TO MULTI

 
Changed:
<
<
Set the Blur Radius of the Drop Shadow Effect for the "current" chart.
.CHART SET DS COLOR
>
>
Add the "current" chart object to the specified Multi-Chart.

.CHART ADD EM CHART

 
Changed:
<
<
Set the Color of the Drop Shadow Effect for the "current" chart.

Legend Box Routines

>
>
Add the specified chart object to the "current" Multi-Chart.

Base Chart Routines - Legend Box

 

.LEGEND SET TEMPLATE

Set the template of the legend text for the "current" Legend Box.

Line: 168 to 176
 

.LEGEND SET KEY STYLE

Set the key style for the "current" Legend Box.

Changed:
<
<

Legend Box Key Routines

>
>

Base Chart Routines - Legend Box Keys

 

.LEGEND KEY ADD NEXT

Add the next legend box key to the "current" Legend Box.

Line: 178 to 186
 

.LEGEND KEY SET LN W

Set the line width for a legend key that represents lines in line charts at the specified legend key position for the "current" Legend Box.

Changed:
<
<

Pie Chart Routines

General

.PIE SET DATASET
>
>

Pie Chart Routines

Pie Chart Routines - General

.PIE SET DATASET

  Associate a dataset with the pie chart.
Changed:
<
<
.PIE SET VIEW

Set the view of the pie to be 2D or 3D.

.PIE SET SHAPE

Set the shape of the pie to be Standard or Donut.

.PIE SET ORIGIN
>
>

.PIE SET ORIGIN

  Set the x and y coordinates (horizonal and vertical) of the center of the pie.
Changed:
<
<
.PIE SET ORIGIN:X
>
>

.PIE SET ORIGIN:X

  Set the x coordinate (horizontal) of the center of the pie.
Changed:
<
<
.PIE SET ORIGIN:Y
>
>

.PIE SET ORIGIN:Y

  Set the y coordinate (vertical) of the center of the pie.
Changed:
<
<
.PIE SET RADIUS
>
>

.PIE SET RADIUS

  Set the radius of the pie.
Changed:
<
<
.PIE SET RADIUS:OUTER

Set the outer radius of a Donut pie.

.PIE SET RADIUS:INNER
>
>

Pie Chart Routines - 3D View

.PIE SET VIEW

 
Changed:
<
<
Set the inner radius of a Donut pie.
.PIE SET 3D MODE
>
>
Set the view of the pie to be 2D or 3D.

.PIE SET 3D MODE

  Set the 3D mode to be Standard or Shadow.
Changed:
<
<
.PIE SET 3D DEPTH
>
>

.PIE SET 3D DEPTH

  Set the 3D depth of the pie.
Changed:
<
<
.PIE SET 3D VIEW ANGLE
>
>

.PIE SET 3D VIEW ANGLE

  Set the 3D viewing angle of the pie.
Changed:
<
<
.PIE SET LAYOUT
>
>

Pie Chart Routines - Donut Style

.PIE SET SHAPE

 
Changed:
<
<
Set the starting angle of the first sector in the pie and the layout direction for the pie sectors.
.PIE SET LAYOUT:ANGLE

Set the starting angle of the first sector in the pie.

.PIE SET LAYOUT:DIR

Set the layout direction for the pie sectors.

Pie Chart Label Routines

.PIE SET LBL FONT NAM

Set the font name and font index for all sectors of the current pie chart.

.PIE SET LBL FONT IDX
>
>
Set the shape of the pie to be Standard or Donut.

.PIE SET RADIUS:OUTER

 
Changed:
<
<
Set the font index for all sectors of the current pie chart.
.PIE SET LBL FONT STL
>
>
Set the outer radius of a Donut pie.

.PIE SET RADIUS:INNER

 
Changed:
<
<
Set the font style (normal, bold, italic) for all sectors of the current pie chart.
.PIE SET LBL FONT SZ
>
>
Set the inner radius of a Donut pie.

Pie Chart Routines - Sector Layout

.PIE SET LAYOUT

 
Changed:
<
<
Set the font size for all sectors of the current pie chart.
.PIE SET LBL FONT CLR
>
>
Set the starting angle of the first sector in the pie and the layout direction for the pie sectors.

.PIE SET LAYOUT:ANGLE

 
Changed:
<
<
Set the font color for all sectors of the current pie chart.
.PIE SET LBL ROTATION
>
>
Set the starting angle of the first sector in the pie.

.PIE SET LAYOUT:DIR

 
Changed:
<
<
Set the rotation angle for all sectors of the current pie chart.
.PIE SET LBL BOUNDS
>
>
Set the layout direction for the pie sectors.

Pie Chart Routines - Label Options

.PIE SET LBL BOUNDS

  Set the Top and Bottom bounds for the pie sector labels (Side Label Layout only).
Changed:
<
<
.PIE SET LBL BOUNDS:T
>
>

.PIE SET LBL BOUNDS:T

  Set the Top bound for the pie sector labels (Side Label Layout only).
Changed:
<
<
.PIE SET LBL BOUNDS:B
>
>

.PIE SET LBL BOUNDS:B

  Set the Bottom bound for the pie sector labels (Side Label Layout only).
Changed:
<
<

Pie Chart Sector Routines

>
>

Pie Chart Sector Routines

  The following routines can be used to create or initialize pie sector specs and set the various sector style attributes.
Added:
>
>

Pie Chart Sector Routines - General

 
.PIE SECT INITIALIZE

Initialize a specific pie sector spec.

Line: 265 to 259
 
.PIE SECT SET CURRENT

Set the "current" pie chart sector to be a previously initialized pie sector of the "current" chart.

Changed:
<
<
.PIE SET SECT LABEL

Set the Label of an individual pie sector or the "current" sector.

.PIE SET SECT POSITION

Set the Position (Normal or Exploded) for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

.PIE SET SECT EXP DIST
>
>

Pie Chart Sector Routines - Background Options

.PIE SET SECT BG CLR
 
Changed:
<
<
Set the Explosion Distance for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.
>
>
Set the background color for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.
 
.PIE SET SECT SHADING

Set the Shading Method for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Added:
>
>

Pie Chart Sector Routines - Edge Options

 
.PIE SET SECT EDGE CLR

Set the Edge Color for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

.PIE SET SECT EDGE W

Set the Edge Width for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Changed:
<
<
.PIE SET SECT BG CLR
>
>

Pie Chart Sector Routines - Explode Options

.PIE SET SECT POSITION
 
Changed:
<
<
Set the background color for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Pie Chart Sector Label Routines

>
>
Set the Position (Normal or Exploded) for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.
.PIE SET SECT EXP DIST

Set the Explosion Distance for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Pie Chart Sector Routines - Labels

  The following routines can be used to set the various label attributes for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.
Added:
>
>
.PIE SET SECT LABEL

Set the Label text of an individual pie sector or the "current" pie sector.

 
.PIE SET LBL LAYOUT

Set the Label Layout Method (Inside, Circular, Side) for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.

Line: 304 to 301
 
.PIE SET LBL FORMAT

Set the Format for the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.

Added:
>
>
Not Yet Implemented

The following routines have not been implemented. However, until such time as they are implemented, the corresponding .TEXT routines can be used instead.

.PIE SET LBL FONT NAM

Set the font name and font index for all sectors of the current pie chart.

.PIE SET LBL FONT IDX

Set the font index for all sectors of the current pie chart.

.PIE SET LBL FONT STL

Set the font style (normal, bold, italic) for all sectors of the current pie chart.

.PIE SET LBL FONT SZ

Set the font size for all sectors of the current pie chart.

.PIE SET LBL FONT CLR

Set the font color for all sectors of the current pie chart.

.PIE SET LBL ROTATION

Set the rotation angle for all sectors of the current pie chart.

 

XY Chart Routines

General

.XY SET PLOT AREA

Revision 512010-06-07 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 283 to 283
 
.PIE SET SECT EDGE W

Set the Edge Width for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Added:
>
>
.PIE SET SECT BG CLR

Set the background color for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

 

Pie Chart Sector Label Routines

The following routines can be used to set the various label attributes for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.

Revision 502010-06-06 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 225 to 225
 
.PIE SET LAYOUT:DIR

Set the layout direction for the pie sectors.

Added:
>
>

Pie Chart Label Routines

.PIE SET LBL FONT NAM

Set the font name and font index for all sectors of the current pie chart.

.PIE SET LBL FONT IDX

Set the font index for all sectors of the current pie chart.

.PIE SET LBL FONT STL

Set the font style (normal, bold, italic) for all sectors of the current pie chart.

.PIE SET LBL FONT SZ

Set the font size for all sectors of the current pie chart.

.PIE SET LBL FONT CLR

Set the font color for all sectors of the current pie chart.

.PIE SET LBL ROTATION

Set the rotation angle for all sectors of the current pie chart.

 
.PIE SET LBL BOUNDS

Set the Top and Bottom bounds for the pie sector labels (Side Label Layout only).

Revision 492010-06-03 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 272 to 272
 Set the Label Layout Method (Inside, Circular, Side) for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.
.PIE SET LBL DISTANCE
Changed:
<
<
Set the Distance between the pie perimeter and the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.
>
>
Set the Distance between the pie perimeter and the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector. The Label Distance is usually specified in conjunction with a Label Layout Method. If a Label Distance is specified and a Label Layout Method is not specified, the Circular method is used.
 
.PIE SET LBL JN LN CLR

Set the Color of the lines that join the pie sector perimeter with the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.

Revision 482010-05-19 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 331 to 331
 
.AXIS SET AXIS CLR

Set the color of the "current" axis.

Changed:
<
<
.AXIS SET AXIS L
>
>
.AXIS SET AXIS L
  Set the length of the "current" axis line.
Changed:
<
<
.AXIS SET AXIS W
>
>
.AXIS SET AXIS W
  Set the width of the "current" axis line.
Added:
>
>
.AXIS SET AXIS MARGIN

The the margins (top and bottom/left and right) of the "current" axis.

.AXIS SET AXIS MODE

Set the axis mode of the "current" axis to be INDENTED or DEFAULT.

.AXIS SET AXIS OFFSET

Set the offset (x and y) of the "current" axis.

.AXIS SET AXIS SCALE

Set the top extension, bottom extension, and zero affinity values that are to be used when auto-scaling the "current" axis.

.AXIS SET AXIS RND MIN

Set to "true" if the minimum value of the "current" axis should be rounded to correspond with a tick value. (true, false, or blank allowed)

.AXIS SET AXIS RND MAX

Set to "true" if the maximum value of the "current" axis should be rounded to correspond with a tick value. (true, false, or blank allowed)

.AXIS SET AXIS VAL DIR

Set the direction for the values of the "current" axis. (NORMAL or REVERSE)

Axis Tick Routines
.AXIS SET TICK CLR

Set the color of the (major and minor) ticks on the "current" axis.

.AXIS SET TICK L

Set the length of the (major and minor) ticks on the "current" axis.

.AXIS SET TICK W

Set the width of the (major and minor) ticks on the "current" axis.

.AXIS SET TICK OFFSET

Set the offset of the ticks on the "current" axis.

.AXIS SET TICK MIN INC

Set the minimum tick increment of the ticks on the "current" axis.

.AXIS SET TICK DENSITY

Set the distance in pixels between major ticks and minor ticks on the "current" axis.

 
Axis Title Routines
.AXIS SET TITLE

Revision 472010-05-18 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 328 to 328
 
.AXIS SET CURRENT

Set the specified axis ("x", "y") of the "current" chart to be the "current" axis. (a second optional parameter can specify "Primary" or "Secondary")

Added:
>
>
.AXIS SET AXIS CLR

Set the color of the "current" axis.

.AXIS SET AXIS L

Set the length of the "current" axis line.

.AXIS SET AXIS W

Set the width of the "current" axis line.

 
Axis Title Routines
.AXIS SET TITLE
Line: 357 to 368
 
.AXIS LABEL ADD NEXT

Add the next label to the "current" Axis of the "current" chart.

Added:
>
>
.AXIS SET LBL FONT NAM

Set the font name and font index for the "current" label of the "current" Axis. (set the current textspec to be the current label TEXTSPEC of the current axis and call .TEXT SET FONT NAME)

.AXIS SET LBL FONT IDX

Set the font index for the "current" label of the "current" axis. (set the current textspec to be the current label TEXTSPEC of the current axis and call .TEXT SET FONT INDEX)

.AXIS SET LBL FONT STL

Set the font style (normal, bold, italic) for the "current" label of the "current" axis. (set the current textspec to be the current label TEXTSPEC of the current axis and call .TEXT SET FONT STYLE)

.AXIS SET LBL FONT SZ

Set the font size for the "current" label of the "current" axis. (set the current textspec to be the current label TEXTSPEC of the current axis and call .TEXT SET FONT SZ)

.AXIS SET LBL FONT CLR

Set the font color for the "current" label of the "current" axis. (set the current textspec to be the current label TEXTSPEC of the current axis and call .TEXT SET FONT CLR)

.AXIS SET LBL ROTATION

Set the rotation angle for the "current" label of the "current" axis. (set the current textspec to be the current label TEXTSPEC of the current axis and call .TEXT SET LBL ROTATION)

 
.AXIS SET LBL FORMAT

Set the Format for the axis labels for the "current" axis. (The label format field is stored in the LABEL1 spec record.).

Revision 462010-05-17 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 324 to 324
  Set the 3D depth of the current bar layer.

Axis Routines

Changed:
<
<
.AXIS SET CURRENT
>
>
General
.AXIS SET CURRENT
  Set the specified axis ("x", "y") of the "current" chart to be the "current" axis. (a second optional parameter can specify "Primary" or "Secondary")
Axis Title Routines
.AXIS SET TITLE

Set a title for the "current" axis. (creates a TEXTSPEC record which then becomes the current TEXT spec similar to .CHART SET TITLE)

Changed:
<
<
.AXIS TTL SET FONT NAM
>
>
.AXIS SET TTL FONT NAM
 
Changed:
<
<
Set the font name and font index for the title of the "current" Axis. (set the current textbox to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT NAME)
.AXIS TTL SET FONT IDX
>
>
Set the font name and font index for the title of the "current" Axis. (set the current textspec to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT NAME)
.AXIS SET TTL FONT IDX
 
Changed:
<
<
Set the font index for the title of the "current" axis. (set the current textbox to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT INDEX)
.AXIS TTL SET FONT STL
>
>
Set the font index for the title of the "current" axis. (set the current textspec to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT INDEX)
.AXIS SET TTL FONT STL
 
Changed:
<
<
Set the font style (normal, bold, italic) for the title of the "current" axis. (set the current textbox to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT STYLE)
.AXIS TTL SET FONT SZ
>
>
Set the font style (normal, bold, italic) for the title of the "current" axis. (set the current textspec to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT STYLE)
.AXIS SET TTL FONT SZ
 
Changed:
<
<
Set the font size for the title of the "current" axis. (set the current textbox to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT SZ)
.AXIS TTL SET FONT CLR
>
>
Set the font size for the title of the "current" axis. (set the current textspec to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT SZ)
.AXIS SET TTL FONT CLR
 
Changed:
<
<
Set the font color for the title of the "current" axis. (set the current textbox to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT CLR)
.AXIS SET TITLE ALIGN
>
>
Set the font color for the title of the "current" axis. (set the current textspec to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT CLR)
.AXIS SET TTL ALIGN
  Set the alignment of the axis title relative to the axis for the "current" axis.
Changed:
<
<
.AXIS SET TITLE GAP
>
>
.AXIS SET TTL GAP
  Set the gap between the axis title and the axis for the "current" axis. Note: Title gap does not seem to work correctly in all cases. I believe this is a bug in Chart Director.
Axis Label Routines

Revision 452010-05-16 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 324 to 324
  Set the 3D depth of the current bar layer.

Axis Routines

Deleted:
<
<
.AXIS LABEL ADD NEXT

Add the next label to the "current" Axis of the "current" chart.

 
.AXIS SET CURRENT

Set the specified axis ("x", "y") of the "current" chart to be the "current" axis. (a second optional parameter can specify "Primary" or "Secondary")

Changed:
<
<
.AXIS SET LBL FORMAT
>
>
Axis Title Routines
.AXIS SET TITLE
 
Changed:
<
<
Set the Format for the axis labels for the "current" axis. (The label format field is stored in the LABEL1 spec record.).
.AXIS SET LBL GAP
>
>
Set a title for the "current" axis. (creates a TEXTSPEC record which then becomes the current TEXT spec similar to .CHART SET TITLE)
.AXIS TTL SET FONT NAM
 
Changed:
<
<
Set the distance between the axis label and the tick in pixels for the "current" axis.
.AXIS SET LBL OFFSET
>
>
Set the font name and font index for the title of the "current" Axis. (set the current textbox to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT NAME)
.AXIS TTL SET FONT IDX
 
Changed:
<
<
Set the offset of the labels and the offset units for the the "current" axis. The offset units is an optional second parameter. The default for the offset unit is pixels.
.AXIS SET TITLE
>
>
Set the font index for the title of the "current" axis. (set the current textbox to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT INDEX)
.AXIS TTL SET FONT STL
 
Changed:
<
<
Set a title for the "current" axis. (creates a TEXTSPEC record which then becomes the current TEXT spec similar to .CHART SET TITLE)
.AXIS SET TITLE ALIGN
>
>
Set the font style (normal, bold, italic) for the title of the "current" axis. (set the current textbox to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT STYLE)
.AXIS TTL SET FONT SZ

Set the font size for the title of the "current" axis. (set the current textbox to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT SZ)

.AXIS TTL SET FONT CLR

Set the font color for the title of the "current" axis. (set the current textbox to be the axis title TEXTSPEC of the current axis and call .TEXT SET FONT CLR)

.AXIS SET TITLE ALIGN
  Set the alignment of the axis title relative to the axis for the "current" axis.
Changed:
<
<
.AXIS SET TITLE GAP
>
>
.AXIS SET TITLE GAP
 
Changed:
<
<
Set the gap between the axis title and the axis for the "current" axis.
>
>
Set the gap between the axis title and the axis for the "current" axis. Note: Title gap does not seem to work correctly in all cases. I believe this is a bug in Chart Director.
Axis Label Routines
.AXIS LABEL ADD NEXT

Add the next label to the "current" Axis of the "current" chart.

.AXIS SET LBL FORMAT

Set the Format for the axis labels for the "current" axis. (The label format field is stored in the LABEL1 spec record.).

.AXIS SET LBL GAP

Set the distance between the axis label and the tick in pixels for the "current" axis.

.AXIS SET LBL OFFSET

Set the offset of the labels and the offset units for the the "current" axis. The offset units is an optional second parameter. The default for the offset unit is pixels.

 

Data Routines

Dataset Routines

.DATASET INITIALIZE

Revision 442010-05-15 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 324 to 324
  Set the 3D depth of the current bar layer.

Axis Routines

Changed:
<
<
.X AXIS LABEL ADD NEXT
>
>
.AXIS LABEL ADD NEXT
 
Changed:
<
<
Add the next label to the Primary X Axis of the "current" XY chart.
>
>
Add the next label to the "current" Axis of the "current" chart.
 
.AXIS SET CURRENT

Set the specified axis ("x", "y") of the "current" chart to be the "current" axis. (a second optional parameter can specify "Primary" or "Secondary")

Revision 432010-05-10 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 332 to 332
 Set the specified axis ("x", "y") of the "current" chart to be the "current" axis. (a second optional parameter can specify "Primary" or "Secondary")
.AXIS SET LBL FORMAT
Changed:
<
<
Set the Format for the axis labels for the "current" axis.
>
>
Set the Format for the axis labels for the "current" axis. (The label format field is stored in the LABEL1 spec record.).
.AXIS SET LBL GAP

Set the distance between the axis label and the tick in pixels for the "current" axis.

.AXIS SET LBL OFFSET

Set the offset of the labels and the offset units for the the "current" axis. The offset units is an optional second parameter. The default for the offset unit is pixels.

.AXIS SET TITLE

Set a title for the "current" axis. (creates a TEXTSPEC record which then becomes the current TEXT spec similar to .CHART SET TITLE)

.AXIS SET TITLE ALIGN

Set the alignment of the axis title relative to the axis for the "current" axis.

.AXIS SET TITLE GAP

Set the gap between the axis title and the axis for the "current" axis.

 

Data Routines

Dataset Routines

.DATASET INITIALIZE

Revision 422010-05-04 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 326 to 326
 

Axis Routines

.X AXIS LABEL ADD NEXT
Changed:
<
<
Add the next label to the X Axis of the "current" XY chart.
>
>
Add the next label to the Primary X Axis of the "current" XY chart.
.AXIS SET CURRENT

Set the specified axis ("x", "y") of the "current" chart to be the "current" axis. (a second optional parameter can specify "Primary" or "Secondary")

.AXIS SET LBL FORMAT

Set the Format for the axis labels for the "current" axis.

 

Data Routines

Dataset Routines

.DATASET INITIALIZE

Revision 412010-04-28 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 323 to 323
 
.XY SET BAR 3D DEPTH

Set the 3D depth of the current bar layer.

Added:
>
>

Axis Routines

.X AXIS LABEL ADD NEXT

Add the next label to the X Axis of the "current" XY chart.

 

Data Routines

Dataset Routines

.DATASET INITIALIZE

Revision 402010-04-27 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 286 to 286
 

General

.XY SET PLOT AREA
Changed:
<
<
Sets the position and size of the plot area.
.XY ADD LAYER
>
>
Set the position and size of the plot area.
.XY SET PLOT AREA:X
 
Changed:
<
<
Adds a layer of the specified type to the current chart spec.
>
>
Set the x coordinate of the plot area position.
.XY SET PLOT AREA:Y

Set the y coordinate of the plot area position.

.XY SET PLOT AREA:W

Set the width of the plot area.

.XY SET PLOT AREA:H

Set the height fo the plot area.

.XY SET PA BG CLR

Set the Plot Area background colors.

.XY SET PA EDGE CLR

Set the Plot Area edge color.

.XY SET PA HGRID CLR

Set the Plot Area horizontal grid color.

.XY SET PA VGRID CLR

Set the Plot Area vertical grid color.

.XY ADD BAR LAYER

Adds a Bar layer to the current chart spec.

.XY SET BAR CLR

Set the color of the bars in the current bar layer.

.XY SET BAR LEGEND TXT

Set the bar layer name in the legend.

.XY SET BAR 3D DEPTH

Set the 3D depth of the current bar layer.

 

Data Routines

Dataset Routines

.DATASET INITIALIZE

Revision 392010-04-26 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 282 to 282
 
.PIE SET LBL FORMAT

Set the Format for the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.

Added:
>
>

XY Chart Routines

General

.XY SET PLOT AREA

Sets the position and size of the plot area.

.XY ADD LAYER

Adds a layer of the specified type to the current chart spec.

 

Data Routines

Dataset Routines

.DATASET INITIALIZE

Revision 382010-04-22 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 144 to 144
 

.LEGEND SET ICON SZ:H

Set the height fo the legend key icons for the "current" Legend Box.

Added:
>
>

.LEGEND SET ICON GAP

Set the distance between the Legend icon and the Legend text.

 

.LEGEND SET KEY GAP

Set the horizontal gap between the key icon and the key text and the vertical gap (line spacing) between the legend keys for the "current" Legend Box.

Revision 372010-04-13 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 28 to 28
 

.CHART SET TITLE

Set the title of the "current" chart.

Added:
>
>

.CHART SET LEGEND BOX

Set a Legend Box at the specified X and Y coordinates of the "current" chart.

 

.CHART SET SIZE

Set the size (height and width) of the "current" chart.

Line: 119 to 122
 
.CHART SET DS COLOR

Set the Color of the Drop Shadow Effect for the "current" chart.

Added:
>
>

Legend Box Routines

.LEGEND SET TEMPLATE

Set the template of the legend text for the "current" Legend Box.

.LEGEND SET KEY LAYOUT

Set the Layout Method for the Legend Keys for the "current" Legend Box.

.LEGEND SET KEY COLS

Set the number of columns to be used with the "Columnar" Key Layout Method for the "current" Legend Box.

.LEGEND SET KEY ORDER

Set the key order to be ascending or descending for the "current" Legend Box.

.LEGEND SET ICON SZ

Set the width and height of the legend key icons for the "current" Legend Box.

.LEGEND SET ICON SZ:W

Set the width of the legend key icons for the "current" Legend Box.

.LEGEND SET ICON SZ:H

Set the height fo the legend key icons for the "current" Legend Box.

.LEGEND SET KEY GAP

Set the horizontal gap between the key icon and the key text and the vertical gap (line spacing) between the legend keys for the "current" Legend Box.

.LEGEND SET KEY GAP:H

Set the horizontal gap between the key icon and the key text for the "current" Legend Box.

.LEGEND SET KEY GAP:V

Set the vertical gap (line spacing) between the legend keys of the "current" Legend Box.

.LEGEND SET ICON E CLR

Set the edge color for the key icons for the "current" Legend Box. Applies only to rectangular icons.

.LEGEND SET ICON E EFF

Set the edge effect for the key icons for the "current" Legend Box. Applies only to rectangular icons.

.LEGEND SET ICON E W

Set the edge width for the key icons for the "current" Legend Box. Used in conjunction with Edge Effect.

.LEGEND SET KEY STYLE

Set the key style for the "current" Legend Box.

Legend Box Key Routines

.LEGEND KEY ADD NEXT

Add the next legend box key to the "current" Legend Box.

.LEGEND KEY INITIALIZE

Initialize a legend box key at the specified position for the "current" Legend Box.

.LEGEND KEY SET LN W

Set the line width for a legend key that represents lines in line charts at the specified legend key position for the "current" Legend Box.

 

Pie Chart Routines

General

.PIE SET DATASET

Revision 362010-04-12 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 58 to 58
 

.CHART SET CNR STYLE

Set the corner style (Square or Rounded) of the "current" chart.

Changed:
<
<

.CHART SET CNR EXT CLR

>
>

.CHART SET EXT CLR

 
Changed:
<
<
Set the exterior color for rounded corners of the "current" chart.
>
>
Set the exterior color for rounded corners and/or the Drop Shadow effect of the "current" chart.
 

.CHART SET CNR R

Set the corner radius' of the "current" chart.

Line: 83 to 83
  Get the name of the "current" chart.

Not Yet Implemented

Changed:
<
<

.CHART ADD TO MULTI

>
>
.CHART ADD TO MULTI
  Add the "current" chart object to the specified Multi-Chart.
Changed:
<
<

.CHART ADD EM CHART

>
>
.CHART ADD EM CHART
  Add the specified chart object to the "current" Multi-Chart.
Added:
>
>
.CHART SET SHAPE AA

Set the Shape Anit-Alias to be On or Off for the "current" chart.

.CHART SET TXT AA MODE

Set the Text Anti-Alias Mode for the "current" chart.

.CHART SET TRANS TYPE

Set the Transparency Type for the "current" chart.

.CHART SET TRANS COLOR

Set the Transparency Color for the "Current" chart. This field is usually set in conjunction with the "Single Color" Transparency Type.

.CHART SET DROP SHADOW

Set the Drop Shadow Effect to be On or Off for the "current" chart.

.CHART SET DS LOC

Set the X and Y coordinates of the offset of the Drop Shadow Effect for the "current" chart.

.CHART SET DS LOC:X

Set the X coordinate of the offset of the Drop Shadow Effect for the "current" chart.

.CHART SET DS LOC:Y

Set the Y coordinate of the offset of the Drop Shadow Effect for the "current" chart.

.CHART SET DS BLUR RAD

Set the Blur Radius of the Drop Shadow Effect for the "current" chart.

.CHART SET DS COLOR

Set the Color of the Drop Shadow Effect for the "current" chart.

 

Pie Chart Routines

General

.PIE SET DATASET

Revision 352010-04-12 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 76 to 76
 

.CHART SET CNR R:BL

Set the radius of the Bottom Left corner of the "current" chart.

Deleted:
<
<

.CHART ADD TO MULTI

Add the "current" chart object to the specified Multi-Chart. (not yet implemented)

.CHART ADD EM CHART

Add the specified chart object to the "current" Multi-Chart. (not yet implemented)

 

.CHART SET CURRENT

Set the "current" chart to be a previously initialized chart.

.CHART GET NAME

Get the name of the "current" chart.

Added:
>
>

Not Yet Implemented

.CHART ADD TO MULTI

Add the "current" chart object to the specified Multi-Chart.

.CHART ADD EM CHART

Add the specified chart object to the "current" Multi-Chart.

 

Pie Chart Routines

General

.PIE SET DATASET

Revision 342010-04-12 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 58 to 58
 

.CHART SET CNR STYLE

Set the corner style (Square or Rounded) of the "current" chart.

Added:
>
>

.CHART SET CNR EXT CLR

Set the exterior color for rounded corners of the "current" chart.

 

.CHART SET CNR R

Set the corner radius' of the "current" chart.

Revision 332010-04-11 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 75 to 75
 Set the radius of the Bottom Left corner of the "current" chart.

.CHART ADD TO MULTI

Changed:
<
<
Add the "current" chart object to the specified Multi-Chart.
>
>
Add the "current" chart object to the specified Multi-Chart. (not yet implemented)
 

.CHART ADD EM CHART

Changed:
<
<
Add the specified chart object to the "current" Multi-Chart.
>
>
Add the specified chart object to the "current" Multi-Chart. (not yet implemented)
 

.CHART SET CURRENT

Set the "current" chart to be a previously initialized chart.

Revision 322010-04-08 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 218 to 218
 
.TEXT GET NAME

Get the name of the "current" Text Object.

Added:
>
>
.TEXT SET TEXT

Set the text of the "current" Text Object.

 

Font Routines

.TEXT SET FONT NAME

Revision 312010-04-08 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 48 to 48
 Set the pathname of an image file that is to be positioned within the background area of the "current" chart.

.CHART SET EDGE COLOR

Changed:
<
<
Set the edge color of the chart.
>
>
Set the edge color of the "current" chart.
 

.CHART SET EDGE EFFECT

Changed:
<
<
Set the edge effect of the chart.
>
>
Set the edge effect of the "current" chart.
 

.CHART SET EDGE WIDTH

Changed:
<
<
Set the edge width of the chart.
>
>
Set the edge width of the "current" chart. Used in conjunction with Edge Effect.
 

.CHART SET CNR STYLE

Changed:
<
<
Set the corner style (Square or Rounded) of the "current" Chart Object.
>
>
Set the corner style (Square or Rounded) of the "current" chart.
 

.CHART SET CNR R

Changed:
<
<
Set the corner radius' of the "current" Chart Object.
>
>
Set the corner radius' of the "current" chart.
 

.CHART SET CNR R:TL

Changed:
<
<
Set the radius of the Top Left corner of the "current" Chart Object.
>
>
Set the radius of the Top Left corner of the "current" chart.
 

.CHART SET CNR R:TR

Changed:
<
<
Set the radius of the Top Right corner of the "current" Chart Object.
>
>
Set the radius of the Top Right corner of the "current" chart.
 

.CHART SET CNR R:BR

Changed:
<
<
Set the radius of the Bottom Right corner of the "current" Chart Object.
>
>
Set the radius of the Bottom Right corner of the "current" chart.
 

.CHART SET CNR R:BL

Changed:
<
<
Set the radius of the Bottom Left corner of the "current" Chart Object.
>
>
Set the radius of the Bottom Left corner of the "current" chart.
 

.CHART ADD TO MULTI

Changed:
<
<
Add the "current" chart object to the specified Multi-Chart object.
>
>
Add the "current" chart object to the specified Multi-Chart.
 

.CHART ADD EM CHART

Changed:
<
<
Add the specified chart object to the "current" Multi-Chart object.
>
>
Add the specified chart object to the "current" Multi-Chart.
 

.CHART SET CURRENT

Set the "current" chart to be a previously initialized chart.

Revision 302010-04-07 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 87 to 87
 Get the name of the "current" chart.

Pie Chart Routines

General

Added:
>
>
.PIE SET DATASET

Associate a dataset with the pie chart.

 
.PIE SET VIEW

Set the view of the pie to be 2D or 3D.

Revision 292010-04-07 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 144 to 144
 
.PIE SECT INITIALIZE

Initialize a specific pie sector spec.

Changed:
<
<
.PIE SECT ADD NEW
>
>
.PIE SECT ADD NEXT
 
Changed:
<
<
Add a new sector spec for the pie chart and optionally sets the Label.
>
>
Add a next pie chart sector spec for the "current" pie chart and optionally sets the corresponding data value and the corresponding Label.
 
.PIE SECT SET CURRENT

Set the "current" pie chart sector to be a previously initialized pie sector of the "current" chart.

Revision 282010-04-01 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 7 to 7
 

Overview

Changed:
<
<
Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be used to dynamically create charts and embed them in menus, input screens, and PDF reports.

Chart Initialization

Chart Specifications

Chart Routines - General

.CHART INITIALIZE
>
>
Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be called to design charts, define datasets, and render charts using datasets. These charts can then be dynamically embedded in APPX menus, input screens, and PDF reports.

Designing a Chart

 
Changed:
<
<
Initialize a chart.
.CHART SET CURRENT
>
>
Chart design is accomplished by calling the appropriate Chart Design subroutines in the appropriate sequence to create a chart specification.

Defining a Dataset

 
Changed:
<
<
Set the "current" chart to be a previously initialized chart.
.CHART GET NAME
>
>
Datasets are defined by calling the appropriate Dataset Design subroutines in the appropriate sequence to create a dataset definition.

Rendering a Chart

 
Changed:
<
<
Get the name of the "current" chart.
.CHART RENDER
>
>
A chart is rendered by calling the Chart Render subroutine for a chart specification and its associated dataset definition(s).

Chart Specifications

Chart Routines - General

.CHART INITIALIZE

Initialize a chart.

.CHART RENDER

  Render the "current" chart.
Changed:
<
<
.CHART SET TITLE
>
>

.CHART SET TITLE

  Set the title of the "current" chart.
Changed:
<
<
.CHART SET SIZE
>
>

.CHART SET SIZE

  Set the size (height and width) of the "current" chart.
Changed:
<
<
.CHART SET SIZE:H
>
>

.CHART SET SIZE:H

  Set the height of the "current" chart.
Changed:
<
<
.CHART SET SIZE:W
>
>

.CHART SET SIZE:W

  Set the width of the "current" chart.
Changed:
<
<
.CHART SET BG COLOR
>
>

.CHART SET BG COLOR

Set the background color of the "current" chart to the "current" color.

.CHART SET BG WALLPAPER

Set the pathname of a wallpaper image that is to be tiled within the background area of the "current" chart.

.CHART SET BG IMAGE

 
Changed:
<
<
Set the background color of the chart to the "current" color.
.CHART SET EDGE COLOR
>
>
Set the pathname of an image file that is to be positioned within the background area of the "current" chart.

.CHART SET EDGE COLOR

  Set the edge color of the chart.
Changed:
<
<
.CHART SET EDGE EFFECT
>
>

.CHART SET EDGE EFFECT

  Set the edge effect of the chart.
Changed:
<
<
.CHART SET EDGE WIDTH
>
>

.CHART SET EDGE WIDTH

  Set the edge width of the chart.
Changed:
<
<
.CHART SET CNR STYLE
>
>

.CHART SET CNR STYLE

  Set the corner style (Square or Rounded) of the "current" Chart Object.
Changed:
<
<
.CHART SET CNR R
>
>

.CHART SET CNR R

  Set the corner radius' of the "current" Chart Object.
Changed:
<
<
.CHART SET CNR R:TL
>
>

.CHART SET CNR R:TL

  Set the radius of the Top Left corner of the "current" Chart Object.
Changed:
<
<
.CHART SET CNR R:TR
>
>

.CHART SET CNR R:TR

  Set the radius of the Top Right corner of the "current" Chart Object.
Changed:
<
<
.CHART SET CNR R:BR
>
>

.CHART SET CNR R:BR

  Set the radius of the Bottom Right corner of the "current" Chart Object.
Changed:
<
<
.CHART SET CNR R:BL
>
>

.CHART SET CNR R:BL

  Set the radius of the Bottom Left corner of the "current" Chart Object.
Changed:
<
<
.CHART SET BG WALLPAPER

Set the pathname of a wallpaper image that is to be tiled within the chart background area.

.CHART SET BG IMAGE

Set the pathname of an image file that is to be positioned within the chart background area.

.CHART ADD TO MULTI
>
>

.CHART ADD TO MULTI

  Add the "current" chart object to the specified Multi-Chart object.
Changed:
<
<
.CHART ADD EM CHART
>
>

.CHART ADD EM CHART

  Add the specified chart object to the "current" Multi-Chart object.
Changed:
<
<

Pie Chart Routines - General

>
>

.CHART SET CURRENT

Set the "current" chart to be a previously initialized chart.

.CHART GET NAME

Get the name of the "current" chart.

Pie Chart Routines

General

 
.PIE SET VIEW

Set the view of the pie to be 2D or 3D.

Revision 272010-03-26 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 71 to 71
 
.CHART SET BG IMAGE

Set the pathname of an image file that is to be positioned within the chart background area.

Added:
>
>
.CHART ADD TO MULTI

Add the "current" chart object to the specified Multi-Chart object.

.CHART ADD EM CHART

Add the specified chart object to the "current" Multi-Chart object.

 

Pie Chart Routines - General

.PIE SET VIEW

Revision 262010-03-26 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 47 to 47
 
.CHART SET EDGE WIDTH

Set the edge width of the chart.

Added:
>
>
.CHART SET CNR STYLE
 
Added:
>
>
Set the corner style (Square or Rounded) of the "current" Chart Object.
.CHART SET CNR R

Set the corner radius' of the "current" Chart Object.

.CHART SET CNR R:TL

Set the radius of the Top Left corner of the "current" Chart Object.

.CHART SET CNR R:TR

Set the radius of the Top Right corner of the "current" Chart Object.

.CHART SET CNR R:BR

Set the radius of the Bottom Right corner of the "current" Chart Object.

.CHART SET CNR R:BL

Set the radius of the Bottom Left corner of the "current" Chart Object.

.CHART SET BG WALLPAPER

Set the pathname of a wallpaper image that is to be tiled within the chart background area.

.CHART SET BG IMAGE

Set the pathname of an image file that is to be positioned within the chart background area.

 

Pie Chart Routines - General

.PIE SET VIEW
Line: 220 to 243
 Set the corner radius' of the "current" Text Object.
.TEXT SET BX CNR R:TL
Changed:
<
<
Set the radius of the Top Left corner of the "current" Text Object]]
>
>
Set the radius of the Top Left corner of the "current" Text Object.
 
.TEXT SET BX CNR R:TR
Changed:
<
<
Set the radius of the Top Right corner of the "current" Text Object]]
>
>
Set the radius of the Top Right corner of the "current" Text Object.
 
.TEXT SET BX CNR R:BR
Changed:
<
<
Set the radius of the Bottom Right corner of the "current" Text Object]]
>
>
Set the radius of the Bottom Right corner of the "current" Text Object.
 
.TEXT SET BX CNR R:BL
Changed:
<
<
Set the radius of the Bottom Left corner of the "current" Text Object]]
>
>
Set the radius of the Bottom Left corner of the "current" Text Object.
 
.TEXT SET BX LOC

Set the location (x and y) of the "current" Text Object.

Revision 252010-03-23 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 111 to 111
 Add a new sector spec for the pie chart and optionally sets the Label.
.PIE SECT SET CURRENT
Changed:
<
<
Set the "current" sector to be a previously initialized sector of the "current" chart.
>
>
Set the "current" pie chart sector to be a previously initialized pie sector of the "current" chart.
 
.PIE SET SECT LABEL

Set the Label of an individual pie sector or the "current" sector.

Revision 242010-03-23 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 103 to 103
 

Pie Chart Sector Routines

The following routines can be used to create or initialize pie sector specs and set the various sector style attributes.

Changed:
<
<
.PIE SECTOR INITIALIZE
>
>
.PIE SECT INITIALIZE
  Initialize a specific pie sector spec.
Changed:
<
<
.PIE SECTOR ADD NEW
>
>
.PIE SECT ADD NEW
 
Changed:
<
<
Add a new sector spec for the pie chart.
>
>
Add a new sector spec for the pie chart and optionally sets the Label.
.PIE SECT SET CURRENT

Set the "current" sector to be a previously initialized sector of the "current" chart.

 
.PIE SET SECT LABEL

Set the Label of an individual pie sector or the "current" sector.

Line: 159 to 162
 

Dataset Point Routines

.POINT ADD NEW
Changed:
<
<
Add a new Point to the "current" Dataset.
>
>
Add a new Point to the "current" Dataset. Also create a corresponding sector spec for the "current" (pie) chart if one does not exist.
 
.POINT SET VALUE

Set the value of the "current" Point in the "current" Dataset.

Revision 232010-03-23 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 91 to 91
 
.PIE SET LAYOUT:DIR

Set the layout direction for the pie sectors.

Added:
>
>
.PIE SET LBL BOUNDS

Set the Top and Bottom bounds for the pie sector labels (Side Label Layout only).

.PIE SET LBL BOUNDS:T

Set the Top bound for the pie sector labels (Side Label Layout only).

.PIE SET LBL BOUNDS:B

Set the Bottom bound for the pie sector labels (Side Label Layout only).

 

Pie Chart Sector Routines

Changed:
<
<
.PIE SET SECT EXPL DIS
>
>
The following routines can be used to create or initialize pie sector specs and set the various sector style attributes.
.PIE SECTOR INITIALIZE

Initialize a specific pie sector spec.

.PIE SECTOR ADD NEW

Add a new sector spec for the pie chart.

.PIE SET SECT LABEL

Set the Label of an individual pie sector or the "current" sector.

.PIE SET SECT POSITION

Set the Position (Normal or Exploded) for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

.PIE SET SECT EXP DIST
  Set the Explosion Distance for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.
.PIE SET SECT SHADING
Line: 105 to 128
  Set the Edge Width for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Pie Chart Sector Label Routines

Deleted:
<
<
.LABEL SET LAYOUT TYPE

Set the Layout Type(Inside, Circular, Side) of the pie sector labels.

.LABEL SET DISTANCE
 
Changed:
<
<
Set the Distance between the pie perimeter and the pie sector labels.
.LABEL SET BOUNDS
>
>
The following routines can be used to set the various label attributes for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.
.PIE SET LBL LAYOUT
 
Changed:
<
<
Set the Top and Bottom bounds for the pie sector labels (Side Layout only).
.LABEL SET BOUNDS:TOP
>
>
Set the Label Layout Method (Inside, Circular, Side) for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.
.PIE SET LBL DISTANCE
 
Changed:
<
<
Set the Top bound for the pie sector labels (Side Layout only).
.LABEL SET BOUNDS:BOT
>
>
Set the Distance between the pie perimeter and the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.
.PIE SET LBL JN LN CLR
 
Changed:
<
<
Set the Bottom bound for the pie sector labels (Side Layout only).
.LABEL SET LINE CLR
>
>
Set the Color of the lines that join the pie sector perimeter with the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.
.PIE SET LBL JN LN W
 
Changed:
<
<
Set the Color of the lines that join the pie sector perimeter with the pie sector labels.
.LABEL SET LINE WIDTH

Set the Width of the lines that join the pie sector perimeter with the pie sector labels.

.LABEL SET FORMAT

Set the Format for the pie sector labels.

.LABEL SET FONT NAME

.LABEL SET FONT INDEX

.LABEL SET FONT STYLE

.LABEL SET FONT SZ

.LABEL SET FONT SZ:H

.LABEL SET FONT SZ:W

.LABEL SET FONT CLR
>
>
Set the Width of the lines that join the pie sector perimeter with the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.
.PIE SET LBL FORMAT
 
Added:
>
>
Set the Format for the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector.
 

Data Routines

Dataset Routines

.DATASET INITIALIZE
Line: 161 to 163
 
.POINT SET VALUE

Set the value of the "current" Point in the "current" Dataset.

Deleted:
<
<
.POINT SET LABEL

Set the Label of the "current" Point in the "current" Dataset.

 

Text Box Routines

General Text Box Routines

.TEXT INITIALIZE

Revision 222010-03-23 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 105 to 105
  Set the Edge Width for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Pie Chart Sector Label Routines

Added:
>
>
.LABEL SET LAYOUT TYPE

Set the Layout Type(Inside, Circular, Side) of the pie sector labels.

.LABEL SET DISTANCE

Set the Distance between the pie perimeter and the pie sector labels.

.LABEL SET BOUNDS

Set the Top and Bottom bounds for the pie sector labels (Side Layout only).

.LABEL SET BOUNDS:TOP

Set the Top bound for the pie sector labels (Side Layout only).

.LABEL SET BOUNDS:BOT

Set the Bottom bound for the pie sector labels (Side Layout only).

.LABEL SET LINE CLR

Set the Color of the lines that join the pie sector perimeter with the pie sector labels.

.LABEL SET LINE WIDTH

Set the Width of the lines that join the pie sector perimeter with the pie sector labels.

 
.LABEL SET FORMAT

Set the Format for the pie sector labels.

Revision 212010-03-23 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 82 to 82
 
.PIE SET 3D VIEW ANGLE

Set the 3D viewing angle of the pie.

Deleted:
<
<

Pie Chart Sector Routines - All Sectors

.PIE SET EXPLODE

Set all pie sectors to be exploded.

.PIE SET EXPLODE:MODE

Set the Explode Mode of the pie to be None, All, or Range.

.PIE SET EXPLODE:DIST

Set the Explosion Depth.

.PIE SET EXPLODE:RANGE

Set the beginning and ending sector numbers of the range of sectors to explode.

.PIE SET EXPLODE:BEG

Set the beginning sector number of the range of sectors to explode.

.PIE SET EXPLODE:END

Set the ending sector number of the range of sectors to explode.

 
.PIE SET LAYOUT

Set the starting angle of the first sector in the pie and the layout direction for the pie sectors.

Line: 110 to 91
 
.PIE SET LAYOUT:DIR

Set the layout direction for the pie sectors.

Changed:
<
<
.PIE SET STYLE
>
>

Pie Chart Sector Routines

.PIE SET SECT EXPL DIS
 
Changed:
<
<
Set the Shading Method, the Edge Color, and the Edge Width for the pie sectors.
.PIE SET STYLE:SHADING
>
>
Set the Explosion Distance for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.
.PIE SET SECT SHADING
 
Changed:
<
<
Set the Shading Method for the pie sectors.
.PIE SET STYLE:EDG CLR
>
>
Set the Shading Method for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.
.PIE SET SECT EDGE CLR
 
Changed:
<
<
Set the Edge Color for the pie sectors
.PIE SET STYLE:EDG W
>
>
Set the Edge Color for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.
.PIE SET SECT EDGE W
 
Changed:
<
<
Set the Edge Width for the pie sectors

.PIE SET LABEL FORMAT

>
>
Set the Edge Width for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Pie Chart Sector Label Routines

.LABEL SET FORMAT
  Set the Format for the pie sector labels.
Added:
>
>
.LABEL SET FONT NAME
 
Changed:
<
<
.PIE SET LB FONT NAME

.PIE SET LB FONT STYLE

>
>
.LABEL SET FONT INDEX
 
Changed:
<
<
.PIE SET LB FONT INDEX
>
>
.LABEL SET FONT STYLE
 
Changed:
<
<
.PIE SET LB FONT COLOR
>
>
.LABEL SET FONT SZ
 
Changed:
<
<
.PIE SET LB FONT SZ
>
>
.LABEL SET FONT SZ:H
 
Changed:
<
<
.PIE SET LB FONT SZ:H
>
>
.LABEL SET FONT SZ:W
 
Changed:
<
<
.PIE SET LB FONT SZ:W

Pie Chart Sector Routines - Individual Sectors

>
>
.LABEL SET FONT CLR
 

Data Routines

Dataset Routines

.DATASET INITIALIZE

Revision 202010-03-22 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 10 to 10
 Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be used to dynamically create charts and embed them in menus, input screens, and PDF reports.

Chart Initialization

Chart Specifications

Changed:
<
<

General Chart Routines

>
>

Chart Routines - General

 
.CHART INITIALIZE

Initialize a chart.

Line: 48 to 48
  Set the edge width of the chart.
Changed:
<
<

Pie Chart Routines

>
>

Pie Chart Routines - General

 
.PIE SET VIEW

Set the view of the pie to be 2D or 3D.

Line: 82 to 82
 
.PIE SET 3D VIEW ANGLE

Set the 3D viewing angle of the pie.

Changed:
<
<

Pie Sector Routines

>
>

Pie Chart Sector Routines - All Sectors

 
.PIE SET EXPLODE

Set all pie sectors to be exploded.

Line: 101 to 101
 
.PIE SET EXPLODE:END

Set the ending sector number of the range of sectors to explode.

Added:
>
>
.PIE SET LAYOUT

Set the starting angle of the first sector in the pie and the layout direction for the pie sectors.

.PIE SET LAYOUT:ANGLE

Set the starting angle of the first sector in the pie.

.PIE SET LAYOUT:DIR

Set the layout direction for the pie sectors.

.PIE SET STYLE

Set the Shading Method, the Edge Color, and the Edge Width for the pie sectors.

.PIE SET STYLE:SHADING

Set the Shading Method for the pie sectors.

.PIE SET STYLE:EDG CLR

Set the Edge Color for the pie sectors

.PIE SET STYLE:EDG W

Set the Edge Width for the pie sectors

.PIE SET LABEL FORMAT

Set the Format for the pie sector labels.

.PIE SET LB FONT NAME

.PIE SET LB FONT STYLE

.PIE SET LB FONT INDEX

.PIE SET LB FONT COLOR

.PIE SET LB FONT SZ

.PIE SET LB FONT SZ:H

.PIE SET LB FONT SZ:W

Pie Chart Sector Routines - Individual Sectors

 

Data Routines

Dataset Routines

.DATASET INITIALIZE

Revision 192010-03-20 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 11 to 11
 

Chart Initialization

Chart Specifications

General Chart Routines

Changed:
<
<
.CHART INITIALIZE
>
>
.CHART INITIALIZE
  Initialize a chart.
Changed:
<
<
.CHART SET CURRENT
>
>
.CHART SET CURRENT
  Set the "current" chart to be a previously initialized chart.
Changed:
<
<
.CHART GET NAME
>
>
.CHART GET NAME
  Get the name of the "current" chart.
Changed:
<
<
.CHART RENDER
>
>
.CHART RENDER
  Render the "current" chart.
Changed:
<
<
.CHART SET TITLE
>
>
.CHART SET TITLE
  Set the title of the "current" chart.
Changed:
<
<
.CHART SET SIZE
>
>
.CHART SET SIZE
  Set the size (height and width) of the "current" chart.
Changed:
<
<
.CHART SET SIZE:H
>
>
.CHART SET SIZE:H
  Set the height of the "current" chart.
Changed:
<
<
.CHART SET SIZE:W
>
>
.CHART SET SIZE:W
  Set the width of the "current" chart.
.CHART SET BG COLOR
Line: 49 to 49
 Set the edge width of the chart.

Pie Chart Routines

Changed:
<
<
.PIE SET VIEW
>
>
.PIE SET VIEW
  Set the view of the pie to be 2D or 3D.
Changed:
<
<
.PIE SET SHAPE
>
>
.PIE SET SHAPE
  Set the shape of the pie to be Standard or Donut.
Changed:
<
<
.PIE SET ORIGIN
>
>
.PIE SET ORIGIN
  Set the x and y coordinates (horizonal and vertical) of the center of the pie.
Changed:
<
<
.PIE SET ORIGIN:X
>
>
.PIE SET ORIGIN:X
  Set the x coordinate (horizontal) of the center of the pie.
Changed:
<
<
.PIE SET ORIGIN:Y
>
>
.PIE SET ORIGIN:Y
  Set the y coordinate (vertical) of the center of the pie.
Changed:
<
<
.PIE SET RADIUS
>
>
.PIE SET RADIUS
  Set the radius of the pie.
Changed:
<
<
.PIE SET RADIUS:OUTER
>
>
.PIE SET RADIUS:OUTER
  Set the outer radius of a Donut pie.
Changed:
<
<
.PIE SET RADIUS:INNER
>
>
.PIE SET RADIUS:INNER
  Set the inner radius of a Donut pie.
Changed:
<
<
.PIE SET 3D MODE
>
>
.PIE SET 3D MODE
  Set the 3D mode to be Standard or Shadow.
Changed:
<
<
.PIE SET 3D DEPTH
>
>
.PIE SET 3D DEPTH
  Set the 3D depth of the pie.
Changed:
<
<
.PIE SET 3D VIEW ANGLE
>
>
.PIE SET 3D VIEW ANGLE
  Set the 3D viewing angle of the pie.

Pie Sector Routines

Changed:
<
<
.PIE SET EXPLODE
>
>
.PIE SET EXPLODE
  Set all pie sectors to be exploded.
Changed:
<
<
.PIE SET EXPLODE:MODE
>
>
.PIE SET EXPLODE:MODE
  Set the Explode Mode of the pie to be None, All, or Range.
Changed:
<
<
.PIE SET EXPLODE:DIST
>
>
.PIE SET EXPLODE:DIST
  Set the Explosion Depth.
Changed:
<
<
.PIE SET EXPLODE:RANGE
>
>
.PIE SET EXPLODE:RANGE
  Set the beginning and ending sector numbers of the range of sectors to explode.
Changed:
<
<
.PIE SET EXPLODE:BEG
>
>
.PIE SET EXPLODE:BEG
  Set the beginning sector number of the range of sectors to explode.
Changed:
<
<
.PIE SET EXPLODE:END
>
>
.PIE SET EXPLODE:END
  Set the ending sector number of the range of sectors to explode.

Data Routines

Dataset Routines

Changed:
<
<
.DATASET INITIALIZE
>
>
.DATASET INITIALIZE
  Initialize a Dataset.
Changed:
<
<
.DATASET SET CURRENT
>
>
.DATASET SET CURRENT
  Set the "current" Dataset to be a previously initialized Dataset.
Changed:
<
<
.DATASET GET NAME
>
>
.DATASET GET NAME
  Get the name of the "current" Dataset.

Dataset Point Routines

Changed:
<
<
.POINT ADD NEW
>
>
.POINT ADD NEW
  Add a new Point to the "current" Dataset.
Changed:
<
<
.POINT SET VALUE
>
>
.POINT SET VALUE
  Set the value of the "current" Point in the "current" Dataset.
Changed:
<
<
.POINT SET LABEL
>
>
.POINT SET LABEL
  Set the Label of the "current" Point in the "current" Dataset.

Text Box Routines

Line: 242 to 242
  Set the layout direction of the text(horizontal or Vertical) in the "current" Text Object.

Color Routines

Changed:
<
<

.COLOR INITIALIZE

>
>

.COLOR INITIALIZE

  Initialize a Color Object.
Changed:
<
<

.COLOR SET CURRENT

>
>

.COLOR SET CURRENT

  Set the "current" Color Object to be a previously initialized Color Object.
Changed:
<
<

.COLOR GET NAME

>
>

.COLOR GET NAME

  Get the name of the "current" Color Object.
Changed:
<
<

.COLOR SET DEFAULT

>
>

.COLOR SET DEFAULT

  Clear the "current" Color Object.
Changed:
<
<

.COLOR SET COLOR

>
>

.COLOR SET COLOR

  Set the color of the "current" Color Object.
Changed:
<
<

.COLOR SET COLOR:RGB

>
>

.COLOR SET COLOR:RGB

  Set the individual colors of the "current" Color Object.
Changed:
<
<

.COLOR SET COLOR:R

>
>

.COLOR SET COLOR:R

  Set the Red value of the "current" Color Object.
Changed:
<
<

.COLOR SET COLOR:G

>
>

.COLOR SET COLOR:G

  Set the Green value of the "current" Color Object.
Changed:
<
<

.COLOR SET COLOR:B

>
>

.COLOR SET COLOR:B

  Set the Blue value of the "current" Color Object.
Changed:
<
<

.COLOR SET COLOR:A

>
>

.COLOR SET COLOR:A

  Set the Alpha value of the "current" Color Object.
Changed:
<
<

.COLOR SET TRANSPARENT

>
>

.COLOR SET TRANSPARENT

  Set the alpha channel of the "current" Color Object to be Transparent.
Changed:
<
<

.COLOR SET OPAQUE

>
>

.COLOR SET OPAQUE

  Set the alpha channel of the "current" Color Object to be Opaque.

-- SteveFrizzell - 2010-02-14

Added:
>
>
META TOPICMOVED by="SteveFrizzell" date="1269082232" from="Main.ChartDirectorDesignerAPI" to="Main.CDChartDirectorDesignerAPI"

Revision 182010-03-06 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 143 to 143
 
.TEXT SET FONT STYLE

Set the font style (normal, bold, italic) for the "current" Text Object.

Changed:
<
<
.TEXT SET FONT SIZE
>
>
.TEXT SET FONT SZ
  Set the font size for the "current" Text Object.
Changed:
<
<
.TEXT SET FONT SIZE:H
>
>
.TEXT SET FONT SZ:H
  Set the height of the font for the "current" Text Object.
Changed:
<
<
.TEXT SET FONT SIZE:W
>
>
.TEXT SET FONT SZ:W
  Set the width of the font for the "current" Text Object.
Changed:
<
<
.TEXT SET FONT COLOR
>
>
.TEXT SET FONT CLR
  Set the font color for the "current" Text Object.

Text Box Routines

Changed:
<
<
.TEXT SET BG COLOR
>
>
.TEXT SET BX BG CLR
  Set the background color for the "current" Text Object.
Changed:
<
<
.TEXT SET EDGE COLOR
>
>
.TEXT SET BX EDGE CLR
  Set the edge color for the "current" Text Object.
Changed:
<
<
.TEXT SET EDGE EFFECT
>
>
.TEXT SET BX EDGE EFF
  Set the edge effect (Flat, Raised, or Depressed) of the "current" Text Object.
Changed:
<
<
.TEXT SET EDGE WIDTH
>
>
.TEXT SET BX EDGE W
  Set the edge width of the "current" Text Object.
Changed:
<
<
.TEXT SET CORNER STYLE
>
>
.TEXT SET BX CNR STYLE
  Set the corner style (Square or Rounded) of the "current" Text Object.
Changed:
<
<
.TEXT SET CORNER RADIUS
>
>
.TEXT SET BX CNR R
  Set the corner radius' of the "current" Text Object.
Changed:
<
<
.TEXT SET CORNER RAD:TL
>
>
.TEXT SET BX CNR R:TL
  Set the radius of the Top Left corner of the "current" Text Object]]
Changed:
<
<
.TEXT SET CORNER RAD:TR
>
>
.TEXT SET BX CNR R:TR
  Set the radius of the Top Right corner of the "current" Text Object]]
Changed:
<
<
.TEXT SET CORNER RAD:BR
>
>
.TEXT SET BX CNR R:BR
  Set the radius of the Bottom Right corner of the "current" Text Object]]
Changed:
<
<
.TEXT SET CORNER RAD:BL
>
>
.TEXT SET BX CNR R:BL
  Set the radius of the Bottom Left corner of the "current" Text Object]]
Changed:
<
<
.TEXT SET LOCATION
>
>
.TEXT SET BX LOC
  Set the location (x and y) of the "current" Text Object.
Changed:
<
<
.TEXT SET LOCATION:X
>
>
.TEXT SET BX LOC:X
  Set the x coordinate of the location of the "current" Text Object.
Changed:
<
<
.TEXT SET LOCATION:Y
>
>
.TEXT SET BX LOC:Y
  Set the y coordinate of the location of the "current" Text Object.
Changed:
<
<
.TEXT SET SIZE
>
>
.TEXT SET BX SZ
  Set the size (height and width) of the "current" Text Object.
Changed:
<
<
.TEXT SET SIZE:H
>
>
.TEXT SET BX SZ:H
  Set the height of the "current" Text Object.
Changed:
<
<
.TEXT SET SIZE:W
>
>
.TEXT SET BX SZ:W
  Set the width of the "current" Text Object.
Changed:
<
<
.TEXT SET Z ORDER
>
>
.TEXT SET BX Z ORDER
  Set the Z Order of the "current" Text Object.

Text Format Routines

Changed:
<
<
.TEXT SET MAX SIZE
>
>
.TEXT SET TXT MAX SZ
  Set the maximum size (width and height) of the text that can be displayed in the "current" Text Object.
Changed:
<
<
.TEXT SET MAX SIZE:W
>
>
.TEXT SET TXT MAX SZ:W
  Set the maximum width (in pixels) of the text that can be displayed in the "current" Text Object.
Changed:
<
<
.TEXT SET MAX SIZE:H
>
>
.TEXT SET TXT MAX SZ:H
  Set the maximum height (in lines) of the text that can be displayed in the "current" Text Object.
Changed:
<
<
.TEXT SET MARGINS
>
>
.TEXT SET TXT MARGIN
  Set the margins for the text in the "current" Text Object.
Changed:
<
<
.TEXT SET MARGIN:L
>
>
.TEXT SET TXT MARGIN:L
  Set the Left margin for the text in the "current" Text Object.
Changed:
<
<
.TEXT SET MARGIN:R
>
>
.TEXT SET TXT MARGIN:R
  Set the Right margin for the text in the "current" Text Object.
Changed:
<
<
.TEXT SET MARGIN:T
>
>
.TEXT SET TXT MARGIN:T
  Set the Top margin for the text in the "current" Text Object.
Changed:
<
<
.TEXT SET MARGIN:B
>
>
.TEXT SET TXT MARGIN:B
  Set the Bottom margin for the text in the "current" Text Object.
Changed:
<
<
.TEXT SET ROTATION
>
>
.TEXT SET TXT ROTATION
  Set the rotation angle for the text in the "current" Text Object.
Changed:
<
<
.TEXT SET ALIGNMENT
>
>
.TEXT SET TXT ALIGN
  Set the alignment of the text in the "current" Text Object.
Changed:
<
<
.TEXT SET LAYOUT
>
>
.TEXT SET TXT LAYOUT
  Set the layout direction of the text(horizontal or Vertical) in the "current" Text Object.

Color Routines

Revision 172010-03-06 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 204 to 204
 
.TEXT SET SIZE:W

Set the width of the "current" Text Object.

Deleted:
<
<
.TEXT SET MAX WIDTH

Set the maximum width of the "current" Text Object.

 
.TEXT SET Z ORDER

Set the Z Order of the "current" Text Object.

Text Format Routines

Changed:
<
<
.TEXT SET MAX LINES
>
>
.TEXT SET MAX SIZE

Set the maximum size (width and height) of the text that can be displayed in the "current" Text Object.

.TEXT SET MAX SIZE:W

Set the maximum width (in pixels) of the text that can be displayed in the "current" Text Object.

.TEXT SET MAX SIZE:H
 
Changed:
<
<
Set the maximum number of lines of text that can be displayed in the "current" Text Object.
>
>
Set the maximum height (in lines) of the text that can be displayed in the "current" Text Object.
 
.TEXT SET MARGINS

Set the margins for the text in the "current" Text Object.

Revision 162010-03-05 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 155 to 155
 
.TEXT SET FONT COLOR

Set the font color for the "current" Text Object.

Deleted:
<
<
.TEXT SET FONT LAYOUT

Set the font layout direction (horizontal or Vertical).

 

Text Box Routines

.TEXT SET BG COLOR
Line: 232 to 229
 
.TEXT SET MARGIN:B

Set the Bottom margin for the text in the "current" Text Object.

Changed:
<
<
.TEXT SET ROTATE ANGLE
>
>
.TEXT SET ROTATION
  Set the rotation angle for the text in the "current" Text Object.
Added:
>
>
.TEXT SET ALIGNMENT

Set the alignment of the text in the "current" Text Object.

.TEXT SET LAYOUT

Set the layout direction of the text(horizontal or Vertical) in the "current" Text Object.

 

Color Routines

.COLOR INITIALIZE

Revision 152010-03-04 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 189 to 189
 
.TEXT SET CORNER RAD:BL

Set the radius of the Bottom Left corner of the "current" Text Object]]

Deleted:
<
<
.TEXT SET ROTATE ANGLE

Set the rotation angle for the "current" Text Object.

 
.TEXT SET LOCATION

Set the location (x and y) of the "current" Text Object.

Line: 222 to 219
 Set the maximum number of lines of text that can be displayed in the "current" Text Object.
.TEXT SET MARGINS
Changed:
<
<
Set the margins of the "current" Text Object.
>
>
Set the margins for the text in the "current" Text Object.
 
.TEXT SET MARGIN:L
Changed:
<
<
Set the Left margin of the "current" Text Object.
>
>
Set the Left margin for the text in the "current" Text Object.
 
.TEXT SET MARGIN:R
Changed:
<
<
Set the Right margin of the "current" Text Object.
>
>
Set the Right margin for the text in the "current" Text Object.
 
.TEXT SET MARGIN:T
Changed:
<
<
Set the Top margin of the "current" Text Object.
>
>
Set the Top margin for the text in the "current" Text Object.
 
.TEXT SET MARGIN:B
Changed:
<
<
Set the Bottom margin of the "current" Text Object.
>
>
Set the Bottom margin for the text in the "current" Text Object.
.TEXT SET ROTATE ANGLE

Set the rotation angle for the text in the "current" Text Object.

 

Color Routines

.COLOR INITIALIZE

Revision 142010-03-03 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 29 to 29
 
.CHART SET SIZE

Set the size (height and width) of the "current" chart.

Changed:
<
<
.CHART SET SIZE:H
>
>
.CHART SET SIZE:H
  Set the height of the "current" chart.
Changed:
<
<
.CHART SET SIZE:W
>
>
.CHART SET SIZE:W
  Set the width of the "current" chart.
Changed:
<
<
.CHART SET COLOR BG
>
>
.CHART SET BG COLOR
  Set the background color of the chart to the "current" color.
Changed:
<
<
.CHART SET COLOR EDGE
>
>
.CHART SET EDGE COLOR
  Set the edge color of the chart.
Changed:
<
<
.CHART SET EDGE EFFECT
>
>
.CHART SET EDGE EFFECT
  Set the edge effect of the chart.
Changed:
<
<
.CHART SET EDGE WIDTH
>
>
.CHART SET EDGE WIDTH
  Set the edge width of the chart.
Line: 58 to 58
 
.PIE SET ORIGIN

Set the x and y coordinates (horizonal and vertical) of the center of the pie.

Changed:
<
<
.PIE SET ORIGIN:X
>
>
.PIE SET ORIGIN:X
  Set the x coordinate (horizontal) of the center of the pie.
Changed:
<
<
.PIE SET ORIGIN:Y
>
>
.PIE SET ORIGIN:Y
  Set the y coordinate (vertical) of the center of the pie.
.PIE SET RADIUS

Set the radius of the pie.

Changed:
<
<
.PIE SET RADIUS:OUTER
>
>
.PIE SET RADIUS:OUTER
  Set the outer radius of a Donut pie.
Changed:
<
<
.PIE SET RADIUS:INNER
>
>
.PIE SET RADIUS:INNER
  Set the inner radius of a Donut pie.
.PIE SET 3D MODE
Line: 86 to 86
 
.PIE SET EXPLODE

Set all pie sectors to be exploded.

Changed:
<
<
.PIE SET EXPLODE:MODE
>
>
.PIE SET EXPLODE:MODE
  Set the Explode Mode of the pie to be None, All, or Range.
Changed:
<
<
.PIE SET EXPLODE:DIST
>
>
.PIE SET EXPLODE:DIST
  Set the Explosion Depth.
Changed:
<
<
.PIE SET EXPLODE:RANGE
>
>
.PIE SET EXPLODE:RANGE
  Set the beginning and ending sector numbers of the range of sectors to explode.
Changed:
<
<
.PIE SET EXPLODE:BEG
>
>
.PIE SET EXPLODE:BEG
  Set the beginning sector number of the range of sectors to explode.
Changed:
<
<
.PIE SET EXPLODE:END
>
>
.PIE SET EXPLODE:END
  Set the ending sector number of the range of sectors to explode.

Data Routines

Line: 123 to 123
  Set the Label of the "current" Point in the "current" Dataset.

Text Box Routines

Changed:
<
<

.TEXT INITIALIZE

>
>

General Text Box Routines

.TEXT INITIALIZE
  Initialize a Text Object
Changed:
<
<

.TEXT SET CURRENT

>
>
.TEXT SET CURRENT
  Set the "current" Text Object to be a previously initialized Text Object.
Changed:
<
<

.TEXT GET NAME

>
>
.TEXT GET NAME
  Get the name of the "current" Text Object.
Changed:
<
<

.TEXT SET FONT NAME

>
>

Font Routines

.TEXT SET FONT NAME
 
Changed:
<
<
Set the font name for the "current" Text Object.

.TEXT SET FONT STYLE

>
>
Set the font name and font index for the "current" Text Object.
.TEXT SET FONT INDEX
 
Changed:
<
<
Set the font style for the "current" Text Object.

.TEXT SET POINT SIZE

>
>
Set the font index.
.TEXT SET FONT STYLE
 
Changed:
<
<
Set the point size for the "current" Text Object

.TEXT SET POINT SIZE:H

>
>
Set the font style (normal, bold, italic) for the "current" Text Object.
.TEXT SET FONT SIZE

Set the font size for the "current" Text Object.

.TEXT SET FONT SIZE:H
  Set the height of the font for the "current" Text Object.
Changed:
<
<

.TEXT SET POINT SIZE:W

>
>
.TEXT SET FONT SIZE:W
  Set the width of the font for the "current" Text Object.
Changed:
<
<

.TEXT SET COLOR FG

>
>
.TEXT SET FONT COLOR

Set the font color for the "current" Text Object.

.TEXT SET FONT LAYOUT
 
Changed:
<
<
Set the foreground color for the "current" Text Object.

.TEXT SET COLOR BG

>
>
Set the font layout direction (horizontal or Vertical).

Text Box Routines

.TEXT SET BG COLOR
  Set the background color for the "current" Text Object.
Changed:
<
<

.TEXT SET COLOR EDGE

>
>
.TEXT SET EDGE COLOR
  Set the edge color for the "current" Text Object.
Added:
>
>
.TEXT SET EDGE EFFECT

Set the edge effect (Flat, Raised, or Depressed) of the "current" Text Object.

.TEXT SET EDGE WIDTH

Set the edge width of the "current" Text Object.

.TEXT SET CORNER STYLE

Set the corner style (Square or Rounded) of the "current" Text Object.

.TEXT SET CORNER RADIUS

Set the corner radius' of the "current" Text Object.

.TEXT SET CORNER RAD:TL

Set the radius of the Top Left corner of the "current" Text Object]]

.TEXT SET CORNER RAD:TR

Set the radius of the Top Right corner of the "current" Text Object]]

.TEXT SET CORNER RAD:BR

Set the radius of the Bottom Right corner of the "current" Text Object]]

.TEXT SET CORNER RAD:BL

Set the radius of the Bottom Left corner of the "current" Text Object]]

.TEXT SET ROTATE ANGLE

Set the rotation angle for the "current" Text Object.

.TEXT SET LOCATION

Set the location (x and y) of the "current" Text Object.

.TEXT SET LOCATION:X

Set the x coordinate of the location of the "current" Text Object.

.TEXT SET LOCATION:Y

Set the y coordinate of the location of the "current" Text Object.

.TEXT SET SIZE

Set the size (height and width) of the "current" Text Object.

.TEXT SET SIZE:H

Set the height of the "current" Text Object.

.TEXT SET SIZE:W

Set the width of the "current" Text Object.

.TEXT SET MAX WIDTH

Set the maximum width of the "current" Text Object.

.TEXT SET Z ORDER

Set the Z Order of the "current" Text Object.

Text Format Routines

.TEXT SET MAX LINES

Set the maximum number of lines of text that can be displayed in the "current" Text Object.

.TEXT SET MARGINS

Set the margins of the "current" Text Object.

.TEXT SET MARGIN:L

Set the Left margin of the "current" Text Object.

.TEXT SET MARGIN:R

Set the Right margin of the "current" Text Object.

.TEXT SET MARGIN:T

Set the Top margin of the "current" Text Object.

.TEXT SET MARGIN:B

Set the Bottom margin of the "current" Text Object.

 

Color Routines

.COLOR INITIALIZE

Revision 132010-02-25 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 35 to 35
 
.CHART SET SIZE:W

Set the width of the "current" chart.

Changed:
<
<
.CHART SET BG COLOR
>
>
.CHART SET COLOR BG
  Set the background color of the chart to the "current" color.
Added:
>
>
.CHART SET COLOR EDGE

Set the edge color of the chart.

 
.CHART SET EDGE EFFECT

Set the edge effect of the chart.

.CHART SET EDGE WIDTH

Set the edge width of the chart.

Deleted:
<
<
.CHART SET EDGE COLOR
 
Deleted:
<
<
Set the edge color of the chart.
 

Pie Chart Routines

.PIE SET VIEW

Revision 122010-02-22 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 171 to 171
 

.COLOR SET COLOR

Set the color of the "current" Color Object.

Changed:
<
<

.COLOR SET COLOR:RED

>
>

.COLOR SET COLOR:RGB

Set the individual colors of the "current" Color Object.

.COLOR SET COLOR:R

  Set the Red value of the "current" Color Object.
Changed:
<
<

.COLOR SET COLOR:GREEN

>
>

.COLOR SET COLOR:G

  Set the Green value of the "current" Color Object.
Changed:
<
<

.COLOR SET COLOR:BLUE

>
>

.COLOR SET COLOR:B

  Set the Blue value of the "current" Color Object.
Changed:
<
<

.COLOR SET COLOR:ALPHA

>
>

.COLOR SET COLOR:A

  Set the Alpha value of the "current" Color Object.

.COLOR SET TRANSPARENT

Revision 112010-02-20 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 165 to 165
 

.COLOR GET NAME

Get the name of the "current" Color Object.

Added:
>
>

.COLOR SET DEFAULT

Clear the "current" Color Object.

 

.COLOR SET COLOR

Set the color of the "current" Color Object.

Revision 102010-02-17 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 102 to 102
 Set the ending sector number of the range of sectors to explode.

Data Routines

Dataset Routines

Added:
>
>
.DATASET INITIALIZE
 
Changed:
<
<
.DATASET INITIALIZE
>
>
Initialize a Dataset.
.DATASET SET CURRENT
 
Changed:
<
<
.DATASET SET CURRENT
>
>
Set the "current" Dataset to be a previously initialized Dataset.
.DATASET GET NAME
 
Changed:
<
<
.DATASET GET NAME
>
>
Get the name of the "current" Dataset.
 

Dataset Point Routines

Added:
>
>
.POINT ADD NEW
 
Changed:
<
<
.POINT ADD NEW
>
>
Add a new Point to the "current" Dataset.
.POINT SET VALUE
 
Changed:
<
<
.POINT SET VALUE
>
>
Set the value of the "current" Point in the "current" Dataset.
.POINT SET LABEL
 
Changed:
<
<
.POINT SET LABEL
>
>
Set the Label of the "current" Point in the "current" Dataset.
 

Text Box Routines

.TEXT INITIALIZE

Revision 92010-02-16 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 82 to 82
  Set the 3D viewing angle of the pie.

Pie Sector Routines

Added:
>
>
.PIE SET EXPLODE
 
Changed:
<
<
.PIE EXPLODE
>
>
Set all pie sectors to be exploded.
.PIE SET EXPLODE:MODE
 
Changed:
<
<
.PIE EXPLODE:MODE
>
>
Set the Explode Mode of the pie to be None, All, or Range.
.PIE SET EXPLODE:DIST
 
Changed:
<
<
.PIE EXPLODE:DEPTH
>
>
Set the Explosion Depth.
.PIE SET EXPLODE:RANGE

Set the beginning and ending sector numbers of the range of sectors to explode.

.PIE SET EXPLODE:BEG

Set the beginning sector number of the range of sectors to explode.

.PIE SET EXPLODE:END

Set the ending sector number of the range of sectors to explode.

 

Data Routines

Dataset Routines

Line: 159 to 171
 

.COLOR SET COLOR:BLUE

Set the Blue value of the "current" Color Object.

Changed:
<
<

.COLOR SET TRANS

>
>

.COLOR SET COLOR:ALPHA

Set the Alpha value of the "current" Color Object.

.COLOR SET TRANSPARENT

Set the alpha channel of the "current" Color Object to be Transparent.

.COLOR SET OPAQUE

 
Changed:
<
<
Set the Transparency value of the "current" Color Object.
>
>
Set the alpha channel of the "current" Color Object to be Opaque.
  -- SteveFrizzell - 2010-02-14

Revision 82010-02-16 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 149 to 149
 Get the name of the "current" Color Object.

.COLOR SET COLOR

Changed:
<
<
Set the transparency and color of the "current" Color Object.

.COLOR SET TRANS

Set the Transparency value of the "current" Color Object.

>
>
Set the color of the "current" Color Object.
 

.COLOR SET COLOR:RED

Set the Red value of the "current" Color Object.

Line: 162 to 159
 

.COLOR SET COLOR:BLUE

Set the Blue value of the "current" Color Object.

Added:
>
>

.COLOR SET TRANS

Set the Transparency value of the "current" Color Object.

  -- SteveFrizzell - 2010-02-14

Revision 72010-02-16 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 11 to 11
 

Chart Initialization

Chart Specifications

General Chart Routines

Changed:
<
<
.CHART INITIALIZE
>
>
.CHART INITIALIZE
  Initialize a chart.
.CHART SET CURRENT
Line: 47 to 47
 
.CHART SET EDGE COLOR

Set the edge color of the chart.

Deleted:
<
<
.CHART SET VIEW

Set the view of the chart to 2D or 3D.

 

Pie Chart Routines

Added:
>
>
.PIE SET VIEW

Set the view of the pie to be 2D or 3D.

.PIE SET SHAPE
 
Changed:
<
<
.PIE SET SHAPE
>
>
Set the shape of the pie to be Standard or Donut.
.PIE SET ORIGIN
 
Changed:
<
<
.PIE SET ORIGIN
>
>
Set the x and y coordinates (horizonal and vertical) of the center of the pie.
.PIE SET ORIGIN:X
 
Changed:
<
<
.PIE SET ORIGIN:X
>
>
Set the x coordinate (horizontal) of the center of the pie.
.PIE SET ORIGIN:Y
 
Changed:
<
<
.PIE SET ORIGIN:Y
>
>
Set the y coordinate (vertical) of the center of the pie.
.PIE SET RADIUS
 
Changed:
<
<
.PIE SET RADIUS
>
>
Set the radius of the pie.
.PIE SET RADIUS:OUTER
 
Changed:
<
<
.PIE SET RADIUS:OUTER
>
>
Set the outer radius of a Donut pie.
.PIE SET RADIUS:INNER
 
Changed:
<
<
.PIE SET RADIUS:INNER
>
>
Set the inner radius of a Donut pie.
.PIE SET 3D MODE
 
Changed:
<
<
.PIE SET 3D:MODE
>
>
Set the 3D mode to be Standard or Shadow.
.PIE SET 3D DEPTH
 
Changed:
<
<
.PIE SET 3D:DEPTH
>
>
Set the 3D depth of the pie.
.PIE SET 3D VIEW ANGLE
 
Changed:
<
<
.PIE SET 3D:VIEW ANGLE
>
>
Set the 3D viewing angle of the pie.
 

Pie Sector Routines

.PIE EXPLODE

Line: 128 to 138
  Set the edge color for the "current" Text Object.

Color Routines

Added:
>
>

.COLOR INITIALIZE

Initialize a Color Object.

.COLOR SET CURRENT

Set the "current" Color Object to be a previously initialized Color Object.

.COLOR GET NAME

Get the name of the "current" Color Object.

.COLOR SET COLOR

Set the transparency and color of the "current" Color Object.

.COLOR SET TRANS

Set the Transparency value of the "current" Color Object.

.COLOR SET COLOR:RED

 
Changed:
<
<
.COLOR INITIALIZE
>
>
Set the Red value of the "current" Color Object.

.COLOR SET COLOR:GREEN

 
Changed:
<
<
.COLOR SET CURRENT
>
>
Set the Green value of the "current" Color Object.

.COLOR SET COLOR:BLUE

 
Changed:
<
<
.COLOR GET NAME
>
>
Set the Blue value of the "current" Color Object.
  -- SteveFrizzell - 2010-02-14

Revision 62010-02-16 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 94 to 94
  .POINT SET LABEL

Text Box Routines

Changed:
<
<
.TEXT INITIALIZE
>
>

.TEXT INITIALIZE

  Initialize a Text Object
Changed:
<
<
.TEXT SET CURRENT
>
>

.TEXT SET CURRENT

  Set the "current" Text Object to be a previously initialized Text Object.
Changed:
<
<
.TEXT GET NAME
>
>

.TEXT GET NAME

  Get the name of the "current" Text Object.
Changed:
<
<
.TEXT SET FONT NAME
>
>

.TEXT SET FONT NAME

  Set the font name for the "current" Text Object.
Changed:
<
<
.TEXT SET FONT STYLE
>
>

.TEXT SET FONT STYLE

  Set the font style for the "current" Text Object.
Changed:
<
<
.TEXT SET POINT SIZE
>
>

.TEXT SET POINT SIZE

  Set the point size for the "current" Text Object
Changed:
<
<
.TEXT SET POINT SIZE:H
>
>

.TEXT SET POINT SIZE:H

  Set the height of the font for the "current" Text Object.
Changed:
<
<
.TEXT SET POINT SIZE:W
>
>

.TEXT SET POINT SIZE:W

  Set the width of the font for the "current" Text Object.
Changed:
<
<
.TEXT SET COLOR FG
>
>

.TEXT SET COLOR FG

  Set the foreground color for the "current" Text Object.
Changed:
<
<
.TEXT SET COLOR BG
>
>

.TEXT SET COLOR BG

  Set the background color for the "current" Text Object.
Changed:
<
<
.TEXT SET COLOR EDGE
>
>

.TEXT SET COLOR EDGE

  Set the edge color for the "current" Text Object.

Color Routines

Revision 52010-02-16 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 97 to 97
  .TEXT INITIALIZE
Added:
>
>
Initialize a Text Object
 .TEXT SET CURRENT
Added:
>
>
Set the "current" Text Object to be a previously initialized Text Object.
 .TEXT GET NAME
Added:
>
>
Get the name of the "current" Text Object.

.TEXT SET FONT NAME

Set the font name for the "current" Text Object.

.TEXT SET FONT STYLE

Set the font style for the "current" Text Object.

 .TEXT SET POINT SIZE
Added:
>
>
Set the point size for the "current" Text Object
 .TEXT SET POINT SIZE:H
Added:
>
>
Set the height of the font for the "current" Text Object.
 .TEXT SET POINT SIZE:W
Added:
>
>
Set the width of the font for the "current" Text Object.
 .TEXT SET COLOR FG
Added:
>
>
Set the foreground color for the "current" Text Object.
 .TEXT SET COLOR BG
Added:
>
>
Set the background color for the "current" Text Object.
 .TEXT SET COLOR EDGE
Added:
>
>
Set the edge color for the "current" Text Object.
 

Color Routines

.COLOR INITIALIZE

Revision 42010-02-16 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 11 to 11
 

Chart Initialization

Chart Specifications

General Chart Routines

Changed:
<
<
.CHART INIT
>
>
.CHART INITIALIZE
  Initialize a chart.
.CHART SET CURRENT
Line: 23 to 23
 
.CHART RENDER

Render the "current" chart.

Changed:
<
<
.CHART SET TITLE
>
>
.CHART SET TITLE
  Set the title of the "current" chart.
Changed:
<
<
.CHART SET SIZE
>
>
.CHART SET SIZE
  Set the size (height and width) of the "current" chart.
Changed:
<
<
.CHART SET SIZE:H
>
>
.CHART SET SIZE:H
  Set the height of the "current" chart.
Changed:
<
<
.CHART SET SIZE:W
>
>
.CHART SET SIZE:W
  Set the width of the "current" chart.
Changed:
<
<
.CHART SET BG COLOR
>
>
.CHART SET BG COLOR
  Set the background color of the chart to the "current" color.
Changed:
<
<
.CHART SET EDGE EFFECT
>
>
.CHART SET EDGE EFFECT
  Set the edge effect of the chart.
Changed:
<
<
.CHART SET EDGE WIDTH
>
>
.CHART SET EDGE WIDTH
  Set the edge width of the chart.
Changed:
<
<
.CHART SET EDGE COLOR
>
>
.CHART SET EDGE COLOR
  Set the edge color of the chart.
Changed:
<
<
.CHART SET VIEW
>
>
.CHART SET VIEW
  Set the view of the chart to 2D or 3D.

Pie Chart Routines

Line: 90 to 81
 

Data Routines

Dataset Routines

Changed:
<
<
.DATASET INIT
>
>
.DATASET INITIALIZE
  .DATASET SET CURRENT
Line: 104 to 95
 .POINT SET LABEL

Text Box Routines

Changed:
<
<
.TEXT INIT
>
>
.TEXT INITIALIZE
  .TEXT SET CURRENT
Added:
>
>
.TEXT GET NAME
 .TEXT SET POINT SIZE

.TEXT SET POINT SIZE:H

Line: 119 to 112
 .TEXT SET COLOR BG

.TEXT SET COLOR EDGE

Deleted:
<
<
.TEXT GET NAME
 

Color Routines

Changed:
<
<
.COLOR INIT
>
>
.COLOR INITIALIZE
  .COLOR SET CURRENT

Revision 32010-02-15 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 9 to 9
  Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be used to dynamically create charts and embed them in menus, input screens, and PDF reports.

Chart Initialization

Changed:
<
<

Chart Routines

>
>

Chart Specifications

General Chart Routines

.CHART INIT
 
Changed:
<
<
.CHART INIT
>
>
Initialize a chart.
.CHART SET CURRENT
 
Changed:
<
<
.CHART SET CURRENT
>
>
Set the "current" chart to be a previously initialized chart.
.CHART GET NAME
 
Changed:
<
<
.CHART GET NAME
>
>
Get the name of the "current" chart.
.CHART RENDER
 
Changed:
<
<
.CHART RENDER
>
>
Render the "current" chart.
  .CHART SET TITLE
Added:
>
>
Set the title of the "current" chart.
 .CHART SET SIZE
Added:
>
>
Set the size (height and width) of the "current" chart.
 .CHART SET SIZE:H
Added:
>
>
Set the height of the "current" chart.
 .CHART SET SIZE:W
Added:
>
>
Set the width of the "current" chart.
 .CHART SET BG COLOR
Added:
>
>
Set the background color of the chart to the "current" color.
 .CHART SET EDGE EFFECT
Added:
>
>
Set the edge effect of the chart.

.CHART SET EDGE WIDTH

Set the edge width of the chart.

 .CHART SET EDGE COLOR
Added:
>
>
Set the edge color of the chart.

.CHART SET VIEW

Set the view of the chart to 2D or 3D.

 

Pie Chart Routines

Changed:
<
<
.PIE SET 2D
>
>
.PIE SET SHAPE
  .PIE SET ORIGIN
Line: 48 to 75
  .PIE SET RADIUS:INNER
Deleted:
<
<
.PIE SET 3D
 .PIE SET 3D:MODE

.PIE SET 3D:DEPTH

Revision 22010-02-14 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 55 to 55
 .PIE SET 3D:DEPTH

.PIE SET 3D:VIEW ANGLE

Added:
>
>

Pie Sector Routines

.PIE EXPLODE

.PIE EXPLODE:MODE

.PIE EXPLODE:DEPTH

 

Data Routines

Dataset Routines

Revision 12010-02-14 - SteveFrizzell

Line: 1 to 1
Added:
>
>

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.


Overview

Release 5.1.0 of the APPX Utility includes a new designer API which can be used to create charts within an APPX application. This API provides APPX Designers with a robust set of subroutines which can be used to dynamically create charts and embed them in menus, input screens, and PDF reports.

Chart Initialization

Chart Routines

.CHART INIT

.CHART SET CURRENT

.CHART GET NAME

.CHART RENDER

.CHART SET TITLE

.CHART SET SIZE

.CHART SET SIZE:H

.CHART SET SIZE:W

.CHART SET BG COLOR

.CHART SET EDGE EFFECT

.CHART SET EDGE COLOR

Pie Chart Routines

.PIE SET 2D

.PIE SET ORIGIN

.PIE SET ORIGIN:X

.PIE SET ORIGIN:Y

.PIE SET RADIUS

.PIE SET RADIUS:OUTER

.PIE SET RADIUS:INNER

.PIE SET 3D

.PIE SET 3D:MODE

.PIE SET 3D:DEPTH

.PIE SET 3D:VIEW ANGLE

Data Routines

Dataset Routines

.DATASET INIT

.DATASET SET CURRENT

.DATASET GET NAME

Dataset Point Routines

.POINT ADD NEW

.POINT SET VALUE

.POINT SET LABEL

Text Box Routines

.TEXT INIT

.TEXT SET CURRENT

.TEXT SET POINT SIZE

.TEXT SET POINT SIZE:H

.TEXT SET POINT SIZE:W

.TEXT SET COLOR FG

.TEXT SET COLOR BG

.TEXT SET COLOR EDGE

.TEXT GET NAME

Color Routines

.COLOR INIT

.COLOR SET CURRENT

.COLOR GET NAME

-- SteveFrizzell - 2010-02-14

 
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