Difference: CDChartDirectorDesignerAPI (107 vs. 108)

Revision 1082011-11-25 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="APPX510Features"

Chart Director API for APPX

Line: 39 to 39
 
  • Setting a height via .TEXT SET FONT SZ:H and then using the text box in .CHART SET TITLE causes the height to be used for both height and width (the height is used as a paramter on the addTitle method).
  • .TEXT SET TXT MAX:H has no affect. The memory file is updated, but does not affect the rendered chart. If set via .TEXT SET TXT MAX, then it works.
  • The .TEXT SET TXT MARGIN:(T,L,B,R) subroutines apply the specified margin to all margins instead of just the one the routine is designed for.
Added:
>
>
  • Sample Chart Issues:
    • - 07. PIE CHART WITH LEGEND (2) (and others)
    • - no gradient background
    • - no CDML support for labels (no %'s in legend box)
    • -09. ICON PIE CHART (2)
    • - no logo in bottom right corner
    • -13. 3D DONUT CHART
    • - no separator line under title (addLine property)
    • - 14. TEXTURE DONUT CHART
    • - no textures (pattern not passed to .PIE SET SECT BG CLR?)
 

Overview

Data Routines

Line: 50 to 60
 

Base Chart Routines

Pie Chart Routines

Deleted:
<
<

Pie Chart Routines

Pie Chart Routines - General

.PIE SET DATASET

 
Changed:
<
<
Associate a dataset with the pie chart.

.PIE SET ORIGIN

>
>

XY Chart Routines

 
Changed:
<
<
Set the x and y coordinates (horizonal and vertical) of the center of the pie.

.PIE SET ORIGIN:X

>
>

Comments:

 
Changed:
<
<
Set the x coordinate (horizontal) of the center of the pie.

.PIE SET ORIGIN:Y

>
>
Read what other users have said about this page or add your own comments.
 
Changed:
<
<
Set the y coordinate (vertical) of the center of the pie.

.PIE SET RADIUS

Set the radius of the pie.

Pie Chart Routines - 3D View

.PIE SET VIEW

Set the view of the pie to be 2D or 3D.

.PIE SET 3D MODE

Set the 3D mode to be Standard or Shadow.

.PIE SET 3D DEPTH

Set the 3D depth of the pie.

.PIE SET SECT 3D DEPTH

Set the 3D depth for all pie sectors, a range of pie sectors, an individual pie sector or the current pie sector.

.PIE SET 3D VIEW ANGLE

Set the 3D viewing angle of the pie.

Pie Chart Routines - Donut Style

.PIE SET SHAPE

Set the shape of the pie to be Standard or Donut.

.PIE SET RADIUS:OUTER

Set the outer radius of a Donut pie.

.PIE SET RADIUS:INNER

Set the inner radius of a Donut pie.

Pie Chart Routines - Sector Layout

.PIE SET LAYOUT

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 Routines - Label Options

.PIE SET LBL BOUNDS

Set the Top and Bottom bounds for the pie sector labels (Side Label Layout only).

.PIE SET LBL BOUNDS:T

Set the Top bound for the pie sector labels (Side Label Layout only).

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

Pie Chart Sector Routines - General

.PIE SECT INITIALIZE

Initialize a specific pie sector spec.

.PIE SECT ADD NEXT

Add a next pie chart sector spec for the "current" pie chart and optionally sets the corresponding data value and the corresponding Label.

.PIE SECT SET CURRENT

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

Pie Chart Sector Routines - Background Options

.PIE SET SECT BG CLR

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.

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.

Pie Chart Sector Routines - Explode Options

.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

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.

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

.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. The Label Distance is usually specified in conjunction with a Label Layout Method. If a Label Distance is specified and a Label Layout Method is not specified, the Circular method is used.

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

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

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

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

Set the position and size of the plot area.

.XY SET PLOT AREA:X

Set the x coordinate of the plot area position.

.XY SET PLOT AREA:Y

Set the y coordinate of the plot area position.

.XY SET PLOT AREA:W

Set the width of the plot area.

.XY SET PLOT AREA:H

Set the height of the plot area.

.XY SET PA BG CLR

Set the Plot Area background colors.

.XY SET PA EDGE CLR

Set the Plot Area edge color.

.XY SET PA HGRID CLR

Set the Plot Area horizontal grid color.

.XY SET PA VGRID CLR

Set the Plot Area vertical grid color.

.XY ADD BAR LAYER

Adds a Bar layer to the current chart spec.

.XY SET BAR CLR

Set the color of the bars in the current Data Point, Data Set, Data Group, or XY Bar Layer

.XY SET BAR CLR:DP

Set the color of the bars for the current Data Point

.XY SET BAR CLR:DS

Set the color of the bars for the current Data Set

.XY SET BAR CLR:DG

Set the color of the bars for the current Data Group

.XY SET BAR CLR:LR

Set the color of the bars for the current XY Bar Layer

.XY SET BAR GAP

Set the horizontal gap between the bars or bar groups.

.XY SET BAR GAP:BTW

Set the horizontal gap between the bars.

.XY SET BAR GAP:WITHIN

Set the horizontal gap between the bar groups.

.XY SET BAR LBL MIN SZ

Sets the minimum height (or width for horizontal bars) of the bar segments below which data labels will be hidden.

.XY SET BAR LEGEND ISZ

Sets the height and width of the icons used in a legend.

.XY SET LEGEND TXT

Set the name to be included in the legend box.

.XY SET BAR OLAP

Sets the overlap ratio and order among overlapping bars within a bar group in a multi-bar chart

.XY SET BAR OLAP:ORDER

Sets the order among overlapping bars within a bar group in a multi-bar chart

.XY SET BAR OLAP:RATIO

Sets the overlap ratio among overlapping bars within a bar group in a multi-bar chart

.XY SET BAR SHAPE

Set the shape of the bars in the current Data Point, Data Set, Data Group, or XY Bar Layer

.XY SET BAR SHAPE:DP

Set the shape of the bars for the current Data Point

.XY SET BAR SHAPE:DS

Set the shape of the bars for the current Data Set

.XY SET BAR SHAPE:DG

Set the shape of the bars for the current Data Group

.XY SET BAR SHAPE:LR

Set the shape of the bars for the current XY Bar Layer

.XY SET BAR W

Set the bar and subbar width for the current XY Layer

.XY SET BAR W:GROUP

Set the bar width for the current XY Layer

.XY SET BAR W:WITHIN

Set the subbar width for the current XY Layer

.XY SET BAR 3D DEPTH

Set the 3D depth of the current bar layer

Axis Routines

General

.AXIS SET CURRENT

Set the specified axis ("x", "y") of the "current" chart to be the "current" axis. (a second optional parameter can specify "Primary" or "Secondary")

.AXIS SET AXIS CLR

Set the color of the "current" axis.

.AXIS SET AXIS L

Set the length of the "current" axis line.

.AXIS SET AXIS W

Set the width of the "current" axis line.

.AXIS SET AXIS MARGIN

Set the margins (top and bottom/left and right) of the "current" axis.

.AXIS SET AXIS MODE

Set the axis mode of the "current" axis to be INDENTED or DEFAULT.

.AXIS SET AXIS OFFSET

Set the offset (x and y) of the "current" axis.

.AXIS SET AXIS SCALE

Set the top extension, bottom extension, and zero affinity values that are to be used when auto-scaling the "current" axis.

.AXIS SET AXIS RND MIN

Controls whether or not the minimum value of the "current" axis should be rounded to correspond with a tick value.

.AXIS SET AXIS RND MAX

Controls whether or not the maximum value of the "current" axis should be rounded to correspond with a tick value.

.AXIS SET AXIS VAL DIR

Set the direction for the values of the "current" axis.

Axis Tick Routines

.AXIS SET TICK CLR

Set the color of the (major and minor) ticks on the "current" axis.

.AXIS SET TICK L

Set the length of the (major and minor) ticks on the "current" axis.

.AXIS SET TICK W

Set the width of the (major and minor) ticks on the "current" axis.

.AXIS SET TICK OFFSET

Set the offset of the ticks on the "current" axis.

.AXIS SET TICK MIN INC

Set the minimum tick increment of the ticks on the "current" axis.

.AXIS SET TICK DENSITY

Set the distance in pixels between major ticks and minor ticks on the "current" axis.

Axis Title Routines

.AXIS SET TITLE

Set a title for the "current" axis.

.AXIS SET TTL FONT NAM

Set the font name and font index for the title of the "current" Axis.

.AXIS SET TTL FONT IDX

Set the font index for the title of the "current" axis.

.AXIS SET TTL FONT STL

Set the font style (normal, bold, italic) for the title of the "current" axis.

.AXIS SET TTL FONT SZ

Set the font size for the title of the "current" axis.

.AXIS SET TTL FONT CLR

Set the font color for the title of the "current" axis.

.AXIS SET TTL ALIGN

Set the alignment of the axis title relative to the axis for the "current" axis.

.AXIS SET TTL GAP

Set the gap between the axis title and the axis for the "current" axis.

Axis Label Routines

.AXIS LABEL ADD NEXT

Add the specified label to the "current" Axis of the "current" chart.

.AXIS SET LBL FONT NAM

Set the font name and font index for the "current" label of the "current" Axis.

.AXIS SET LBL FONT IDX

Set the font index for the "current" label of the "current" axis.

.AXIS SET LBL FONT STL

Set the font style (normal, bold, italic) for the "current" label of the "current" axis.

.AXIS SET LBL FONT SZ

Set the font size for the "current" label of the "current" axis.

.AXIS SET LBL FONT CLR

Set the font color for the "current" label of the "current" axis.

.AXIS SET LBL ROTATION

Set the rotation angle for the "current" label of the "current" axis.

.AXIS SET LBL FORMAT

Set the Format for the axis labels for the "current" axis.

.AXIS SET LBL GAP

Set the distance between the axis label and the tick in pixels for the "current" axis.

.AXIS SET LBL OFFSET

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

Shape Routines

.SHAPE INITIALIZE

Initialize a Shape Object

.SHAPE SET CURRENT

Set the "current" Shape Object to be a previously initialized Shape Object.

.SHAPE GET NAME

Get the name of the "current" Shape Object.

.SHAPE SET DEFAULT

Clear the "current" Shape Object.

.SHAPE SET SHAPE ID

Changes the Shape ID of the "current" Shape Object.

.SHAPE SET SIDES CNT

Set the number of sides, points or width for the current shape.

.SHAPE SET POINTS CNT

Sets the number of sides, points or width for the current shape.

.SHAPE SET WIDTH PCT

Sets the number of sides, points or width for the current shape.

.SHAPE SET NEXT POINT

Creates a custom shape.

>
>
<--/commentPlugin-->
  -- SteveFrizzell - 2010-02-14
 
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