Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Chart Director API for APPX | ||||||||
Line: 39 to 39 | ||||||||
| ||||||||
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 RoutinesBase Chart Routines - General.CHART INITIALIZEInitialize a chart..CHART RENDERRender the "current" chart..CHART SET CURRENTSet the "current" chart to be a previously initialized chart..CHART GET NAMEGet the name of the "current" chart..CHART SET TITLESet the title of the "current" chart..CHART SET LEGEND BOXSet a Legend Box at the specified X and Y coordinates of the "current" chart.Base Chart Routines - Background.CHART SET BG SIZESet the size (height and width) of the "current" chart..CHART SET BG SIZE:HSet the height of the "current" chart..CHART SET BG SIZE:WSet the width of the "current" chart..CHART SET BG COLORSet the background color of the "current" chart to the "current" color..CHART SET BG WALLPAPRSet the pathname of a wallpaper image that is to be tiled within the background area of the "current" chart..CHART SET BG IMAGESet 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 COLORSet the edge color of the "current" chart..CHART SET EDGE EFFECTSet the edge effect of the "current" chart..CHART SET EDGE WIDTHSet the edge width of the "current" chart. Used in conjunction with Edge Effect.Base Chart Routines - Corner Options.CHART SET CNR STYLESet the corner style (Square or Rounded) of the "current" chart..CHART SET CNR RSet the corner radius' of the "current" chart..CHART SET CNR R:TLSet the radius of the Top Left corner of the "current" chart..CHART SET CNR R:TRSet the radius of the Top Right corner of the "current" chart..CHART SET CNR R:BRSet the radius of the Bottom Right corner of the "current" chart..CHART SET CNR R:BLSet the radius of the Bottom Left corner of the "current" chart..CHART SET CNR EXT CLRSet the exterior color for rounded corners for the "current" chart.Base Chart Routines - Drop Shadow Options.CHART SET DROP SHADOWSet the Drop Shadow Effect to be On or Off for the "current" chart..CHART SET DS COLORSet the Color of the Drop Shadow Effect for the "current" chart..CHART SET DS LOCSet the X and Y coordinates of the offset of the Drop Shadow Effect for the "current" chart..CHART SET DS LOC:XSet the X coordinate of the offset of the Drop Shadow Effect for the "current" chart..CHART SET DS LOC:YSet the Y coordinate of the offset of the Drop Shadow Effect for the "current" chart..CHART SET DS BLUR RADSet the Blur Radius of the Drop Shadow Effect for the "current" chart.Base Chart Routines - Options.CHART SET TRANS TYPESet the Transparency Type for the "current" chart..CHART SET TRANS COLORSet the Transparency Color for the "Current" chart. This field is usually set in conjunction with the "Single Color" Transparency Type..CHART SET SHAPE AASet the Shape Anti-Alias to be On or Off for the "current" chart..CHART SET TXT AA MODESet the Text Anti-Alias Mode for the "current" chart.Not Yet Implemented.CHART ADD TO MULTIAdd the "current" chart object to the specified Multi-Chart..CHART ADD EM CHARTAdd the specified chart object to the "current" Multi-Chart.Base Chart Routines - Legend Box.LEGEND SET TEMPLATESet the template of the legend text for the "current" Legend Box..LEGEND SET KEY LAYOUTSet the Layout Method for the Legend Keys for the "current" Legend Box..LEGEND SET KEY COLSSet the number of columns to be used with the "Columnar" Key Layout Method for the "current" Legend Box..LEGEND SET KEY ORDERSet the key order to be ascending or descending for the "current" Legend Box..LEGEND SET ICON SZSet the width and height of the legend key icons for the "current" Legend Box..LEGEND SET ICON SZ:WSet the width of the legend key icons for the "current" Legend Box..LEGEND SET ICON SZ:HSet the height of the legend key icons for the "current" Legend Box..LEGEND SET ICON GAPSet the distance between the Legend icon and the Legend text..LEGEND SET KEY GAPSet 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:HSet the horizontal gap between two legend entries for horizontal legend layout for the "current" Legend Box..LEGEND SET KEY GAP:VSet the vertical gap (line spacing) between the legend keys of the "current" Legend Box..LEGEND SET ICON E CLRSet the edge color for the key icons for the "current" Legend Box. Applies only to rectangular icons..LEGEND SET ICON E EFFSet the edge effect for the key icons for the "current" Legend Box. Applies only to rectangular icons..LEGEND SET ICON E WSet the edge width for the key icons for the "current" Legend Box. Used in conjunction with Edge Effect..LEGEND SET KEY STYLESet the key style for the "current" Legend Box.Base Chart Routines - Legend Box Keys.LEGEND KEY ADD NEXTAdd the next legend box key to the "current" Legend Box..LEGEND KEY INITIALIZEInitialize a legend box key at the specified position for the "current" Legend Box..LEGEND KEY SET LN WSet 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 RoutinesPie Chart Routines | |||||||
Pie Chart Routines - General.PIE SET DATASET | ||||||||
Line: 570 to 400 | ||||||||
.AXIS SET LBL OFFSETSet 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 RoutinesDataset Routines.DATASET INITIALIZEInitialize a Dataset..DATASET SET CURRENTSet the "current" Dataset to be a previously initialized Dataset..DATASET GET NAMEGet 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 NEWAdd a new Point to the "current" Dataset..POINT SET VALUESet the value of the "current" Point in the "current" Dataset.Text Box RoutinesGeneral Text Box Routines.TEXT INITIALIZEInitialize a Text Object.TEXT SET CURRENTSet the "current" Text Object to be a previously initialized Text Object..TEXT GET NAMEGet the name of the "current" Text Object..TEXT SET TEXTSet the text of the "current" Text Object.Font Routines.TEXT SET FONT NAMESet the font name and font index for the "current" Text Object..TEXT SET FONT INDEXSet the font index..TEXT SET FONT STYLESet the font style (normal, bold, italic) for the "current" Text Object..TEXT SET FONT SZSet the font size for the "current" Text Object..TEXT SET FONT SZ:HSet the height of the font for the "current" Text Object..TEXT SET FONT SZ:WSet the width of the font for the "current" Text Object..TEXT SET FONT CLRSet the font color for the "current" Text Object.Text Box Routines.TEXT SET BX BG CLRSet the background color for the "current" Text Object..TEXT SET BX EDGE CLRSet the edge color for the "current" Text Object..TEXT SET BX EDGE EFFSet the edge effect (Flat, Raised, or Depressed) of the "current" Text Object..TEXT SET BX EDGE WSet the edge width of the "current" Text Object..TEXT SET BX CNR STYLESet the corner style (Square or Rounded) of the "current" Text Object..TEXT SET BX CNR RSet the corner radius of the "current" Text Object..TEXT SET BX CNR R:TLSet the radius of the Top Left corner of the "current" Text Object..TEXT SET BX CNR R:TRSet the radius of the Top Right corner of the "current" Text Object..TEXT SET BX CNR R:BRSet the radius of the Bottom Right corner of the "current" Text Object..TEXT SET BX CNR R:BLSet the radius of the Bottom Left corner of the "current" Text Object..TEXT SET BX LOCSet the offset (x and y) of the "current" Text Object..TEXT SET BX LOC:XSet the x offset of the "current" Text Object..TEXT SET BX LOC:YSet the y offset of the "current" Text Object..TEXT SET BX SZSet the size (height and width) of the "current" Text Object..TEXT SET BX SZ:HSet the height of the "current" Text Object..TEXT SET BX SZ:WSet the width of the "current" Text Object..TEXT SET BX Z ORDERSet the Z Order of the "current" Text Object.Text Format Routines.TEXT SET TXT MAX SZSet the maximum size (width and height) of the text that can be displayed in the "current" Text Object..TEXT SET TXT MAX SZ:WSet the maximum width (in pixels) of the text that can be displayed in the "current" Text Object..TEXT SET TXT MAX SZ:HSet the maximum height (in lines) of the text that can be displayed in the "current" Text Object..TEXT SET TXT MARGINSet the margins for the text in the "current" Text Object..TEXT SET TXT MARGIN:LSet the Left margin for the text in the "current" Text Object..TEXT SET TXT MARGIN:RSet the Right margin for the text in the "current" Text Object..TEXT SET TXT MARGIN:TSet the Top margin for the text in the "current" Text Object..TEXT SET TXT MARGIN:BSet the Bottom margin for the text in the "current" Text Object..TEXT SET TXT ROTATIONSet the rotation angle for the text in the "current" Text Object..TEXT SET TXT ALIGNSet the alignment of the text in the "current" Text Object..TEXT SET TXT LAYOUTSet the layout direction of the text(horizontal or Vertical) in the "current" Text Object.Color Routines.COLOR INITIALIZEInitialize a Color Object..COLOR SET CURRENTSet the "current" Color Object to be a previously initialized Color Object..COLOR GET NAMEGet the name of the "current" Color Object..COLOR SET DEFAULTClear the "current" Color Object..COLOR SET COLORSet the color of the "current" Color Object..COLOR SET COLOR:RGBSet the individual colors of the "current" Color Object..COLOR SET COLOR:RSet the Red value of the "current" Color Object..COLOR SET COLOR:GSet the Green value of the "current" Color Object..COLOR SET COLOR:BSet the Blue value of the "current" Color Object..COLOR SET COLOR:ASet the Alpha value of the "current" Color Object..COLOR SET TRANSPARENTSet the "current" Color Object to be Transparent..COLOR SET OPAQUESet the "current" Color Object to be Opaque..COLOR SET METALSet the direction for brightness modulation to create a Metal color effect for the "current" Color Object..COLOR SET GOLDSets 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 SILVERSets 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 METALSet the strength of the texture to create a Brushed Metal Effect for the "current" Color Object..COLOR SET BRIGHTNESSSet the brightness of the "current" Color Object..COLOR SET HALF COLORSet the intensity of the "current" Color Object to be one half of the normal intensity..COLOR SET DASH LINESet the dash line pattern for the "current" Color Object. | |||||||
Shape Routines.SHAPE INITIALIZE |