Difference: CDChartDirectorDesignerAPI (51 vs. 52)

Revision 522010-06-08 - SteveFrizzell

Line: 1 to 1
 

Chart Director API for APPX

This API can be used by an APPX designer to create business charts within an APPX application.

Line: 17 to 17
 

Rendering a Chart

A chart is rendered by calling the Chart Render subroutine for a chart specification and its associated dataset definition(s).

Changed:
<
<

Chart Specifications

Chart Routines - General

>
>

Base Chart Routines

Base Chart Routines - General

 

.CHART INITIALIZE

Initialize a chart.

.CHART RENDER

Render the "current" chart.

Added:
>
>

.CHART SET CURRENT

Set the "current" chart to be a previously initialized chart.

.CHART GET NAME

Get the name of the "current" chart.

 

.CHART SET TITLE

Set the title of the "current" chart.

.CHART SET LEGEND BOX

Set a Legend Box at the specified X and Y coordinates of the "current" chart.

Changed:
<
<

.CHART SET SIZE

>
>

Base Chart Routines - Background

.CHART SET BG SIZE

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

.CHART SET SIZE:H

>
>

.CHART SET BG SIZE:H

  Set the height of the "current" chart.
Changed:
<
<

.CHART SET SIZE:W

>
>

.CHART SET BG SIZE:W

  Set the width of the "current" chart.

.CHART SET BG COLOR

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

Changed:
<
<

.CHART SET BG WALLPAPER

>
>

.CHART SET BG WALLPAPR

  Set the pathname of a wallpaper image that is to be tiled within the background area of the "current" chart.

.CHART SET BG IMAGE

Set the pathname of an image file that is to be positioned within the background area of the "current" chart.

Added:
>
>

Base Chart Routines - Edge Options

 

.CHART SET EDGE COLOR

Set the edge color of the "current" chart.

Line: 58 to 66
 

.CHART SET EDGE WIDTH

Set the edge width of the "current" chart. Used in conjunction with Edge Effect.

Added:
>
>

Base Chart Routines - Corner Options

 

.CHART SET CNR STYLE

Set the corner style (Square or Rounded) of the "current" chart.

Deleted:
<
<

.CHART SET EXT CLR

Set the exterior color for rounded corners and/or the Drop Shadow effect of the "current" chart.

 

.CHART SET CNR R

Set the corner radius' of the "current" chart.

Line: 79 to 85
 

.CHART SET CNR R:BL

Set the radius of the Bottom Left corner of the "current" chart.

Changed:
<
<

.CHART SET CURRENT

>
>

.CHART SET EXT CLR

 
Changed:
<
<
Set the "current" chart to be a previously initialized chart.

.CHART GET NAME

>
>
Set the exterior color for rounded corners and/or the Drop Shadow effect of the "current" chart.

Base Chart Routines - Drop Shadow Options

.CHART SET DROP SHADOW

 
Changed:
<
<
Get the name of the "current" chart.

Not Yet Implemented

.CHART ADD TO MULTI
>
>
Set the Drop Shadow Effect to be On or Off for the "current" chart.

.CHART SET DS COLOR

 
Changed:
<
<
Add the "current" chart object to the specified Multi-Chart.
.CHART ADD EM CHART
>
>
Set the Color of the Drop Shadow Effect for the "current" chart.

.CHART SET DS LOC

 
Changed:
<
<
Add the specified chart object to the "current" Multi-Chart.
.CHART SET SHAPE AA
>
>
Set the X and Y coordinates of the offset of the Drop Shadow Effect for the "current" chart.

.CHART SET DS LOC:X

 
Changed:
<
<
Set the Shape Anit-Alias to be On or Off for the "current" chart.
.CHART SET TXT AA MODE
>
>
Set the X coordinate of the offset of the Drop Shadow Effect for the "current" chart.

.CHART SET DS LOC:Y

 
Changed:
<
<
Set the Text Anti-Alias Mode for the "current" chart.
.CHART SET TRANS TYPE
>
>
Set the Y coordinate of the offset of the Drop Shadow Effect for the "current" chart.

.CHART SET DS BLUR RAD

 
Changed:
<
<
Set the Transparency Type for the "current" chart.
.CHART SET TRANS COLOR
>
>
Set the Blur Radius of the Drop Shadow Effect for the "current" chart.

.CHART SET EXT CLR

 
Changed:
<
<
Set the Transparency Color for the "Current" chart. This field is usually set in conjunction with the "Single Color" Transparency Type.
.CHART SET DROP SHADOW
>
>
Set the exterior color for rounded corners and/or the Drop Shadow effect of the "current" chart.

Base Chart Routines - Options

.CHART SET TRANS TYPE

 
Changed:
<
<
Set the Drop Shadow Effect to be On or Off for the "current" chart.
.CHART SET DS LOC
>
>
Set the Transparency Type for the "current" chart.

.CHART SET TRANS COLOR

 
Changed:
<
<
Set the X and Y coordinates of the offset of the Drop Shadow Effect for the "current" chart.
.CHART SET DS LOC:X
>
>
Set the Transparency Color for the "Current" chart. This field is usually set in conjunction with the "Single Color" Transparency Type.

.CHART SET SHAPE AA

 
Changed:
<
<
Set the X coordinate of the offset of the Drop Shadow Effect for the "current" chart.
.CHART SET DS LOC:Y
>
>
Set the Shape Anit-Alias to be On or Off for the "current" chart.

.CHART SET TXT AA MODE

 
Changed:
<
<
Set the Y coordinate of the offset of the Drop Shadow Effect for the "current" chart.
.CHART SET DS BLUR RAD
>
>
Set the Text Anti-Alias Mode for the "current" chart.

Not Yet Implemented

.CHART ADD TO MULTI

 
Changed:
<
<
Set the Blur Radius of the Drop Shadow Effect for the "current" chart.
.CHART SET DS COLOR
>
>
Add the "current" chart object to the specified Multi-Chart.

.CHART ADD EM CHART

 
Changed:
<
<
Set the Color of the Drop Shadow Effect for the "current" chart.

Legend Box Routines

>
>
Add the specified chart object to the "current" Multi-Chart.

Base Chart Routines - Legend Box

 

.LEGEND SET TEMPLATE

Set the template of the legend text for the "current" Legend Box.

Line: 168 to 176
 

.LEGEND SET KEY STYLE

Set the key style for the "current" Legend Box.

Changed:
<
<

Legend Box Key Routines

>
>

Base Chart Routines - Legend Box Keys

 

.LEGEND KEY ADD NEXT

Add the next legend box key to the "current" Legend Box.

Line: 178 to 186
 

.LEGEND KEY SET LN W

Set the line width for a legend key that represents lines in line charts at the specified legend key position for the "current" Legend Box.

Changed:
<
<

Pie Chart Routines

General

.PIE SET DATASET
>
>

Pie Chart Routines

Pie Chart Routines - General

.PIE SET DATASET

  Associate a dataset with the pie chart.
Changed:
<
<
.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
>
>

.PIE SET ORIGIN

  Set the x and y coordinates (horizonal and vertical) of the center of the pie.
Changed:
<
<
.PIE SET ORIGIN:X
>
>

.PIE SET ORIGIN:X

  Set the x coordinate (horizontal) of the center of the pie.
Changed:
<
<
.PIE SET ORIGIN:Y
>
>

.PIE SET ORIGIN:Y

  Set the y coordinate (vertical) of the center of the pie.
Changed:
<
<
.PIE SET RADIUS
>
>

.PIE SET RADIUS

  Set the radius of the pie.
Changed:
<
<
.PIE SET RADIUS:OUTER

Set the outer radius of a Donut pie.

.PIE SET RADIUS:INNER
>
>

Pie Chart Routines - 3D View

.PIE SET VIEW

 
Changed:
<
<
Set the inner radius of a Donut pie.
.PIE SET 3D MODE
>
>
Set the view of the pie to be 2D or 3D.

.PIE SET 3D MODE

  Set the 3D mode to be Standard or Shadow.
Changed:
<
<
.PIE SET 3D DEPTH
>
>

.PIE SET 3D DEPTH

  Set the 3D depth of the pie.
Changed:
<
<
.PIE SET 3D VIEW ANGLE
>
>

.PIE SET 3D VIEW ANGLE

  Set the 3D viewing angle of the pie.
Changed:
<
<
.PIE SET LAYOUT
>
>

Pie Chart Routines - Donut Style

.PIE SET SHAPE

 
Changed:
<
<
Set the starting angle of the first sector in the pie and the layout direction for the pie sectors.
.PIE SET LAYOUT:ANGLE

Set the starting angle of the first sector in the pie.

.PIE SET LAYOUT:DIR

Set the layout direction for the pie sectors.

Pie Chart Label Routines

.PIE SET LBL FONT NAM

Set the font name and font index for all sectors of the current pie chart.

.PIE SET LBL FONT IDX
>
>
Set the shape of the pie to be Standard or Donut.

.PIE SET RADIUS:OUTER

 
Changed:
<
<
Set the font index for all sectors of the current pie chart.
.PIE SET LBL FONT STL
>
>
Set the outer radius of a Donut pie.

.PIE SET RADIUS:INNER

 
Changed:
<
<
Set the font style (normal, bold, italic) for all sectors of the current pie chart.
.PIE SET LBL FONT SZ
>
>
Set the inner radius of a Donut pie.

Pie Chart Routines - Sector Layout

.PIE SET LAYOUT

 
Changed:
<
<
Set the font size for all sectors of the current pie chart.
.PIE SET LBL FONT CLR
>
>
Set the starting angle of the first sector in the pie and the layout direction for the pie sectors.

.PIE SET LAYOUT:ANGLE

 
Changed:
<
<
Set the font color for all sectors of the current pie chart.
.PIE SET LBL ROTATION
>
>
Set the starting angle of the first sector in the pie.

.PIE SET LAYOUT:DIR

 
Changed:
<
<
Set the rotation angle for all sectors of the current pie chart.
.PIE SET LBL BOUNDS
>
>
Set the layout direction for the pie sectors.

Pie Chart Routines - Label Options

.PIE SET LBL BOUNDS

  Set the Top and Bottom bounds for the pie sector labels (Side Label Layout only).
Changed:
<
<
.PIE SET LBL BOUNDS:T
>
>

.PIE SET LBL BOUNDS:T

  Set the Top bound for the pie sector labels (Side Label Layout only).
Changed:
<
<
.PIE SET LBL BOUNDS:B
>
>

.PIE SET LBL BOUNDS:B

  Set the Bottom bound for the pie sector labels (Side Label Layout only).
Changed:
<
<

Pie Chart Sector Routines

>
>

Pie Chart Sector Routines

  The following routines can be used to create or initialize pie sector specs and set the various sector style attributes.
Added:
>
>

Pie Chart Sector Routines - General

 
.PIE SECT INITIALIZE

Initialize a specific pie sector spec.

Line: 265 to 259
 
.PIE SECT SET CURRENT

Set the "current" pie chart sector to be a previously initialized pie sector of the "current" chart.

Changed:
<
<
.PIE SET SECT LABEL

Set the Label of an individual pie sector or the "current" sector.

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

.PIE SET SECT EXP DIST
>
>

Pie Chart Sector Routines - Background Options

.PIE SET SECT BG CLR
 
Changed:
<
<
Set the Explosion Distance for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.
>
>
Set the background color for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.
 
.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.

Added:
>
>

Pie Chart Sector Routines - Edge Options

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

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

Changed:
<
<
.PIE SET SECT BG CLR
>
>

Pie Chart Sector Routines - Explode Options

.PIE SET SECT POSITION
 
Changed:
<
<
Set the background color for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.

Pie Chart Sector Label Routines

>
>
Set the Position (Normal or Exploded) for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.
.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.

Pie Chart Sector Routines - Labels

  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.
Added:
>
>
.PIE SET SECT LABEL

Set the Label text of an individual pie sector or the "current" pie sector.

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

Line: 304 to 301
 
.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.

Added:
>
>
Not Yet Implemented

The following routines have not been implemented. However, until such time as they are implemented, the corresponding .TEXT routines can be used instead.

.PIE SET LBL FONT NAM

Set the font name and font index for all sectors of the current pie chart.

.PIE SET LBL FONT IDX

Set the font index for all sectors of the current pie chart.

.PIE SET LBL FONT STL

Set the font style (normal, bold, italic) for all sectors of the current pie chart.

.PIE SET LBL FONT SZ

Set the font size for all sectors of the current pie chart.

.PIE SET LBL FONT CLR

Set the font color for all sectors of the current pie chart.

.PIE SET LBL ROTATION

Set the rotation angle for all sectors of the current pie chart.

 

XY Chart Routines

General

.XY SET PLOT AREA
 
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