Chart Director API for APPX ChartDirector setup manuals

Base Chart Routines

Initialize and render a chart. Set its size, background, title, legend, and borders.

Choose the chart type first. Chart-wide settings apply to the current chart. Render after setting up its data and appearance. See a complete chart design.

Initialize, title, and render

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

Background and size

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

Chart edges

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

Chart corners

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

Drop shadow

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

Images, transparency, and smoothing

.CHART SET IMAGE PATH
Set the search path for images 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 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.

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

Legend 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 the legend key at the specified priority.

Lines

.LINE INITIALIZE
Add a line to the current chart.
.LINE SET CLR
Change the color of the current line.
.LINE SET END XY
Change the ending coordinates of the current line.
.LINE SET START XY
Change the starting coordinates of the current line.
.LINE SET W
Change the width of the current line.

Listed as unimplemented

These names were listed as unimplemented in the original index.

.CHART ADD TO MULTI
Add the current chart object to the specified Multi-Chart.
.CHART ADD EM CHART
Add the specified chart to the current multi-chart.

Comments:

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


 

-- JeanNeron - 2011-11-24
Topic revision: r11 - 03 Dec 2026, AdminUser - This page was cached on 04 Dec 2026 - 00:35.

Powered by Foswiki. Wiki content belongs to its contributing authors.