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 effect of the chart.
Set the edge width of the chart.
Set the edge color 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
Initialize a Text Object
Set the "current" Text Object to be a previously initialized Text Object.
Get the name of the "current" Text Object.
Set the font name for the "current" Text Object.
Set the font style for the "current" Text Object.
Set the point 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 foreground color for the "current" Text Object.
Set the background color for the "current" Text Object.
Set the edge color for 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.
Set the color 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