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 Specifications

General Chart Routines

.CHART INITIALIZE

Initialize a 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 RENDER

Render the "current" chart.

.CHART SET TITLE

Set the title of the "current" chart.

.CHART SET SIZE

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

.CHART SET SIZE:H

Set the height of the "current" chart.

.CHART SET SIZE:W

Set the width of the "current" chart.

.CHART SET BG COLOR

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

.CHART SET EDGE EFFECT

Set the edge effect of the chart.

.CHART SET EDGE WIDTH

Set the edge width of the chart.

.CHART SET EDGE COLOR

Set the edge color of the chart.

Pie Chart Routines

.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

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

.PIE SET ORIGIN:X

Set the x coordinate (horizontal) of the center of the pie.

.PIE SET ORIGIN:Y

Set the y coordinate (vertical) of the center of the pie.

.PIE SET RADIUS

Set the radius of the pie.

.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 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 3D VIEW ANGLE

Set the 3D viewing angle of the pie.

Pie Sector Routines

.PIE EXPLODE

.PIE EXPLODE:MODE

.PIE EXPLODE:DEPTH

Data Routines

Dataset Routines

.DATASET INITIALIZE

.DATASET SET CURRENT

.DATASET GET NAME

Dataset Point Routines

.POINT ADD NEW

.POINT SET VALUE

.POINT SET LABEL

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

Set the point size for the "current" Text Object

.TEXT SET POINT SIZE:H

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

.TEXT SET POINT SIZE:W

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

.TEXT SET COLOR FG

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

.TEXT SET COLOR BG

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

.TEXT SET COLOR EDGE

Set the edge color for 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 COLOR

Set the color of the "current" Color Object.

.COLOR SET COLOR:RED

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

.COLOR SET COLOR:GREEN

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

.COLOR SET COLOR:BLUE

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

.COLOR SET TRANS

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

-- SteveFrizzell - 2010-02-14

Edit | Attach | Watch | Print version | History: r114 | r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r8 - 2010-02-16 - SteveFrizzell
 
  • Edit
  • Attach
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