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
Initialize a chart.
Set the "current" chart to be a previously initialized chart.
Get the name of the "current" chart.
Render the "current" chart.
Set the title of the "current" chart.
Set the size (height and width) of the "current" chart.
Set the height of the "current" chart.
Set the width of the "current" chart.
Set the background color of the chart to the "current" color.
Set the edge color of the chart.
Set the edge effect of the chart.
Set the edge width of the chart.
Pie Chart Routines
Set the view of the pie to be 2D or 3D.
Set the shape of the pie to be Standard or Donut.
Set the x and y coordinates (horizonal and vertical) of the center of the pie.
Set the x coordinate (horizontal) of the center of the pie.
Set the y coordinate (vertical) of the center of the pie.
Set the radius of the pie.
Set the outer radius of a Donut pie.
Set the inner radius of a Donut pie.
Set the 3D mode to be Standard or Shadow.
Set the 3D depth of the pie.
Set the 3D viewing angle of the pie.
Pie Sector Routines
Set all pie sectors to be exploded.
Set the Explode Mode of the pie to be None, All, or Range.
Set the Explosion Depth.
Set the beginning and ending sector numbers of the range of sectors to explode.
Set the beginning sector number of the range of sectors to explode.
Set the ending sector number of the range of sectors to explode.
Data Routines
Dataset Routines
Initialize a Dataset.
Set the "current" Dataset to be a previously initialized Dataset.
Get the name of the "current" Dataset.
Dataset Point Routines
Add a new Point to the "current" Dataset.
Set the value of the "current" Point in the "current" Dataset.
Set the Label of the "current" Point in the "current" Dataset.
Text Box Routines
General Text Box Routines
Initialize a Text Object
Set the "current" Text Object to be a previously initialized Text Object.
Get the name of the "current" Text Object.
Font Routines
Set the font name and font index for the "current" Text Object.
Set the font index.
Set the font style (normal, bold, italic) for the "current" Text Object.
Set the font size for the "current" Text Object.
Set the height of the font for the "current" Text Object.
Set the width of the font for the "current" Text Object.
Set the font color for the "current" Text Object.
Set the font layout direction (horizontal or Vertical).
Text Box Routines
Set the background color for the "current" Text Object.
Set the edge color for the "current" Text Object.
Set the edge effect (Flat, Raised, or Depressed) of the "current" Text Object.
Set the edge width of the "current" Text Object.
Set the corner style (Square or Rounded) of the "current" Text Object.
Set the corner radius' of the "current" Text Object.
Set the radius of the Top Left corner of the "current" Text Object]]
Set the radius of the Top Right corner of the "current" Text Object]]
Set the radius of the Bottom Right corner of the "current" Text Object]]
Set the radius of the Bottom Left corner of the "current" Text Object]]
Set the rotation angle for the "current" Text Object.
Set the location (x and y) of the "current" Text Object.
Set the x coordinate of the location of the "current" Text Object.
Set the y coordinate of the location of the "current" Text Object.
Set the size (height and width) of the "current" Text Object.
Set the height of the "current" Text Object.
Set the width of the "current" Text Object.
Set the maximum width of the "current" Text Object.
Set the Z Order of the "current" Text Object.
Text Format Routines
Set the maximum number of lines of text that can be displayed in the "current" Text Object.
Set the margins of the "current" Text Object.
Set the Left margin of the "current" Text Object.
Set the Right margin of the "current" Text Object.
Set the Top margin of the "current" Text Object.
Set the Bottom margin of the "current" Text Object.
Color Routines
Initialize a Color Object.
Set the "current" Color Object to be a previously initialized Color Object.
Get the name of the "current" Color Object.
Clear the "current" Color Object.
Set the color of the "current" Color Object.
Set the individual colors of the "current" Color Object.
Set the Red value of the "current" Color Object.
Set the Green value of the "current" Color Object.
Set the Blue value of the "current" Color Object.
Set the Alpha value of the "current" Color Object.
Set the alpha channel of the "current" Color Object to be Transparent.
Set the alpha channel of the "current" Color Object to be Opaque.
--
SteveFrizzell - 2010-02-14