Tags:
view all tags
---+ Chart Director API for APPX _This API can be used by an APPX designer to create business charts within an APPX application._ <br />%TOC% ---++ 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 ---++++ Chart Routines - General ---+++++ [[CDChartInitialize][.CHART INITIALIZE]] Initialize a chart. ---+++++ [[CDChartSetCurrent][.CHART SET CURRENT]] Set the "current" chart to be a previously initialized chart. ---+++++ [[CDChartGetName][.CHART GET NAME]] Get the name of the "current" chart. ---+++++ [[CDChartRender][.CHART RENDER]] Render the "current" chart. ---+++++ [[CDChartSetTitle][.CHART SET TITLE]] Set the title of the "current" chart. ---+++++ [[CDChartSetSize][.CHART SET SIZE]] Set the size (height and width) of the "current" chart. ---+++++ [[CDChartSetSizeH][.CHART SET SIZE:H]] Set the height of the "current" chart. ---+++++ [[CDChartSetSizeW][.CHART SET SIZE:W]] Set the width of the "current" chart. ---+++++ [[CDChartSetBGColor][.CHART SET BG COLOR]] Set the background color of the chart to the "current" color. ---+++++ [[CDChartSetEdgeColor][.CHART SET EDGE COLOR]] Set the edge color of the chart. ---+++++ [[CDChartSetEdgeEffect][.CHART SET EDGE EFFECT]] Set the edge effect of the chart. ---+++++ [[CDChartSetEdgeWidth][.CHART SET EDGE WIDTH]] Set the edge width of the chart. ---++++ Pie Chart Routines - General ---+++++ [[CDPieSetView][.PIE SET VIEW]] Set the view of the pie to be 2D or 3D. ---+++++ [[CDPieSetShape][.PIE SET SHAPE]] Set the shape of the pie to be Standard or Donut. ---+++++ [[CDPieSetOrigin][.PIE SET ORIGIN]] Set the x and y coordinates (horizonal and vertical) of the center of the pie. ---+++++ [[CDPieSetOriginX][.PIE SET ORIGIN:X]] Set the x coordinate (horizontal) of the center of the pie. ---+++++ [[CDPieSetOriginY][.PIE SET ORIGIN:Y]] Set the y coordinate (vertical) of the center of the pie. ---+++++ [[CDPieSetRadius][.PIE SET RADIUS]] Set the radius of the pie. ---+++++ [[CDPieSetRadiusOuter][.PIE SET RADIUS:OUTER]] Set the outer radius of a Donut pie. ---+++++ [[CDPieSetRadiusInner][.PIE SET RADIUS:INNER]] Set the inner radius of a Donut pie. ---+++++ [[CDPieSet3DMode][.PIE SET 3D MODE]] Set the 3D mode to be Standard or Shadow. ---+++++ [[CDPieSet3DDepth][.PIE SET 3D DEPTH]] Set the 3D depth of the pie. ---+++++ [[CDPieSet3DViewAngle][.PIE SET 3D VIEW ANGLE]] Set the 3D viewing angle of the pie. ---+++++ [[CDPieSetSectorLayout][.PIE SET LAYOUT]] Set the starting angle of the first sector in the pie and the layout direction for the pie sectors. ---+++++ [[CDPieSetSectorStartAngle][.PIE SET LAYOUT:ANGLE]] Set the starting angle of the first sector in the pie. ---+++++ [[CDPieSetSectorLayoutDir][.PIE SET LAYOUT:DIR]] Set the layout direction for the pie sectors. ---+++++ [[CDPieSetLabelBounds][.PIE SET LBL BOUNDS]] Set the Top and Bottom bounds for the pie sector labels (Side Label Layout only). ---+++++ [[CDPieSetLabelBoundsTop][.PIE SET LBL BOUNDS:T]] Set the Top bound for the pie sector labels (Side Label Layout only). ---+++++ [[CDPieSetLabelBoundsBottom][.PIE SET LBL BOUNDS:B]] Set the Bottom bound for the pie sector labels (Side Label Layout only). ---++++ Pie Chart Sector Routines The following routines can be used to create or initialize pie sector specs and set the various sector style attributes. ---+++++ [[CDPieSectorInitialize][.PIE SECTOR INITIALIZE]] Initialize a specific pie sector spec. ---+++++ [[CDPieSectorAddNew][.PIE SECTOR ADD NEW]] Add a new sector spec for the pie chart. ---+++++ [[CDPieSetSectorLabel][.PIE SET SECT LABEL]] Set the Label of an individual pie sector or the "current" sector. ---+++++ [[CDPieSetSectorPosition][.PIE SET SECT POSITION]] Set the Position (Normal or Exploded) for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector. ---+++++ [[CDPieSetSectorExplosionDistance][.PIE SET SECT EXP DIST]] Set the Explosion Distance for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector. ---+++++ [[CDPieSetSectorShading][.PIE SET SECT SHADING]] Set the Shading Method for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector. ---+++++ [[CDPieSetSectorEdgeColor][.PIE SET SECT EDGE CLR]] Set the Edge Color for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector. ---+++++ [[CDPieSetSectorEdgeWidth][.PIE SET SECT EDGE W]] Set the Edge Width for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector. ---++++ Pie Chart Sector Label Routines The following routines can be used to set the various label attributes for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector. ---+++++ [[CDPieSetLabelLayoutMethod][.PIE SET LBL LAYOUT]] Set the Label Layout Method (Inside, Circular, Side) for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector. ---+++++ [[CDPieSetLabelDistance][.PIE SET LBL DISTANCE]] Set the Distance between the pie perimeter and the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector. ---+++++ [[CDPieSetLabelJoinLineColor][.PIE SET LBL JN LN CLR]] Set the Color of the lines that join the pie sector perimeter with the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector. ---+++++ [[CDPieSetLabelJoinLineWidth][.PIE SET LBL JN LN W]] Set the Width of the lines that join the pie sector perimeter with the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector. ---+++++ [[CDPieSetLabelFormat][.PIE SET LBL FORMAT]] Set the Format for the pie sector labels for all pie sectors, a range of pie sectors, an individual pie sector, or the "current" pie sector. ---+++ Data Routines ---++++ Dataset Routines ---+++++ [[CDDatasetInitialize][.DATASET INITIALIZE]] Initialize a Dataset. ---+++++ [[CDDatasetSetCurrent][.DATASET SET CURRENT]] Set the "current" Dataset to be a previously initialized Dataset. ---+++++ [[CDDatasetGetName][.DATASET GET NAME]] Get the name of the "current" Dataset. ---++++ Dataset Point Routines ---+++++ [[CDPointAddNew][.POINT ADD NEW]] Add a new Point to the "current" Dataset. ---+++++ [[CDPointSetValue][.POINT SET VALUE]] Set the value of the "current" Point in the "current" Dataset. ---+++ Text Box Routines ---++++ General Text Box Routines ---+++++ [[CDTestInitialize][.TEXT INITIALIZE]] Initialize a Text Object ---+++++ [[CDTextSetCurrent][.TEXT SET CURRENT]] Set the "current" Text Object to be a previously initialized Text Object. ---+++++ [[CDTextGetName][.TEXT GET NAME]] Get the name of the "current" Text Object. ---++++ Font Routines ---+++++ [[CDTextSetFontName][.TEXT SET FONT NAME]] Set the font name and font index for the "current" Text Object. ---+++++ [[CDTextSetFontIndex][.TEXT SET FONT INDEX]] Set the font index. ---+++++ [[CDTextSetFontStyle][.TEXT SET FONT STYLE]] Set the font style (normal, bold, italic) for the "current" Text Object. ---+++++ [[CDTextSetFontSize][.TEXT SET FONT SZ]] Set the font size for the "current" Text Object. ---+++++ [[CDTextSetFontSizeH][.TEXT SET FONT SZ:H]] Set the height of the font for the "current" Text Object. ---+++++ [[CDTextSetFontSizeW][.TEXT SET FONT SZ:W]] Set the width of the font for the "current" Text Object. ---+++++ [[CDTextSetFontColor][.TEXT SET FONT CLR]] Set the font color for the "current" Text Object. ---++++ Text Box Routines ---+++++ [[CDTextSetBoxBGColor][.TEXT SET BX BG CLR]] Set the background color for the "current" Text Object. ---+++++ [[CDTextSetBoxEdgeColor][.TEXT SET BX EDGE CLR]] Set the edge color for the "current" Text Object. ---+++++ [[CDTextSetBoxEdgeEffect][.TEXT SET BX EDGE EFF]] Set the edge effect (Flat, Raised, or Depressed) of the "current" Text Object. ---+++++ [[CDTextSetBoxEdgeWidth][.TEXT SET BX EDGE W]] Set the edge width of the "current" Text Object. ---+++++ [[CDTextSetBoxCornerType][.TEXT SET BX CNR STYLE]] Set the corner style (Square or Rounded) of the "current" Text Object. ---+++++ [[CDTextSetBoxCornerRadius][.TEXT SET BX CNR R]] Set the corner radius' of the "current" Text Object. ---+++++ [[CDTextSetBoxCornerRadiusTL][.TEXT SET BX CNR R:TL]] Set the radius of the Top Left corner of the "current" Text Object]] ---+++++ [[CDTextSetBoxCornerRadiusTR][.TEXT SET BX CNR R:TR]] Set the radius of the Top Right corner of the "current" Text Object]] ---+++++ [[CDTextSetBoxCornerRadiusBR][.TEXT SET BX CNR R:BR]] Set the radius of the Bottom Right corner of the "current" Text Object]] ---+++++ [[CDTextSetBoxCornerRadiusBL][.TEXT SET BX CNR R:BL]] Set the radius of the Bottom Left corner of the "current" Text Object]] ---+++++ [[CDTextSetBoxLocation][.TEXT SET BX LOC]] Set the location (x and y) of the "current" Text Object. ---+++++ [[CDTextSetBoxLocationX][.TEXT SET BX LOC:X]] Set the x coordinate of the location of the "current" Text Object. ---+++++ [[CDTextSetBoxLocationY][.TEXT SET BX LOC:Y]] Set the y coordinate of the location of the "current" Text Object. ---+++++ [[CDTextSetBoxSize][.TEXT SET BX SZ]] Set the size (height and width) of the "current" Text Object. ---+++++ [[CDTextSetBoxSizeHeight][.TEXT SET BX SZ:H]] Set the height of the "current" Text Object. ---+++++ [[CDTextSetBoxSizeWidth][.TEXT SET BX SZ:W]] Set the width of the "current" Text Object. ---+++++ [[CDTextSetBoxZOrder][.TEXT SET BX Z ORDER]] Set the Z Order of the "current" Text Object. ---++++ Text Format Routines ---+++++ [[CDTextSetTextMaxSize][.TEXT SET TXT MAX SZ]] Set the maximum size (width and height) of the text that can be displayed in the "current" Text Object. ---+++++ [[CDTextSetTextMaxSizeWidth][.TEXT SET TXT MAX SZ:W]] Set the maximum width (in pixels) of the text that can be displayed in the "current" Text Object. ---+++++ [[CDTextSetTextMaxSizeHeight][.TEXT SET TXT MAX SZ:H]] Set the maximum height (in lines) of the text that can be displayed in the "current" Text Object. ---+++++ [[CDTextSetTextMargin][.TEXT SET TXT MARGIN]] Set the margins for the text in the "current" Text Object. ---+++++ [[CDTextSetTextMarginLeft][.TEXT SET TXT MARGIN:L]] Set the Left margin for the text in the "current" Text Object. ---+++++ [[CDTextSetTextMarginRight][.TEXT SET TXT MARGIN:R]] Set the Right margin for the text in the "current" Text Object. ---+++++ [[CDTextSetTextMarginTop][.TEXT SET TXT MARGIN:T]] Set the Top margin for the text in the "current" Text Object. ---+++++ [[CDTextSetTextMarginBottom][.TEXT SET TXT MARGIN:B]] Set the Bottom margin for the text in the "current" Text Object. ---+++++ [[CDTextSetTextRotation][.TEXT SET TXT ROTATION]] Set the rotation angle for the text in the "current" Text Object. ---+++++ [[CDTextSetTextAlignment][.TEXT SET TXT ALIGN]] Set the alignment of the text in the "current" Text Object. ---+++++ [[CDTextSetTextLayout][.TEXT SET TXT LAYOUT]] Set the layout direction of the text(horizontal or Vertical) in the "current" Text Object. ---+++ Color Routines ---++++ [[CDColorInitialize][.COLOR INITIALIZE]] Initialize a Color Object. ---++++ [[CDColorSetCurrent][.COLOR SET CURRENT]] Set the "current" Color Object to be a previously initialized Color Object. ---++++ [[CDColorGetName][.COLOR GET NAME]] Get the name of the "current" Color Object. ---++++ [[CDColorSetDefault][.COLOR SET DEFAULT]] Clear the "current" Color Object. ---++++ [[CDColorSetColor][.COLOR SET COLOR]] Set the color of the "current" Color Object. ---++++ [[CDColorSetColor:RGB][.COLOR SET COLOR:RGB]] Set the individual colors of the "current" Color Object. ---++++ [[CDColorSetColor:R][.COLOR SET COLOR:R]] Set the Red value of the "current" Color Object. ---++++ [[CDColorSetColor:G][.COLOR SET COLOR:G]] Set the Green value of the "current" Color Object. ---++++ [[CDColorSetColor:B][.COLOR SET COLOR:B]] Set the Blue value of the "current" Color Object. ---++++ [[CDColorSetColor:A][.COLOR SET COLOR:A]] Set the Alpha value of the "current" Color Object. ---++++ [[CDColorSetTransparent][.COLOR SET TRANSPARENT]] Set the alpha channel of the "current" Color Object to be Transparent. ---++++ [[CDColorSetOpaque][.COLOR SET OPAQUE]] Set the alpha channel of the "current" Color Object to be Opaque. -- Main.SteveFrizzell - 2010-02-14
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r114
|
r25
<
r24
<
r23
<
r22
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r23 - 2010-03-23
-
SteveFrizzell
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Edit
Attach
Copyright © 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