Chart Director API for APPX
This API can be used by an APPX designer to create business charts within an APPX application.
Known Issues
Pie Chart Routines
Pie Chart Routines - General
Associate a dataset with the pie chart.
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.
Pie Chart Routines - 3D View
Set the view of the pie to be 2D or 3D.
Set the 3D mode to be Standard or Shadow.
Set the 3D depth of the pie.
Set the 3D depth for all pie sectors, a range of pie sectors, an individual pie sector or the current pie sector.
Set the 3D viewing angle of the pie.
Pie Chart Routines - Donut Style
Set the shape of the pie to be Standard or Donut.
Set the outer radius of a Donut pie.
Set the inner radius of a Donut pie.
Pie Chart Routines - Sector Layout
Set the starting angle of the first sector in the pie and the layout direction for the pie sectors.
Set the starting angle of the first sector in the pie.
Set the layout direction for the pie sectors.
Pie Chart Routines - Label Options
Set the Top and Bottom bounds for the pie sector labels (Side Label Layout only).
Set the Top bound for the pie sector labels (Side Label Layout only).
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
Initialize a specific pie sector spec.
Add a next pie chart sector spec for the "current" pie chart and optionally sets the corresponding data value and the corresponding Label.
Set the "current" pie chart sector to be a previously initialized pie sector of the "current" chart.
Pie Chart Sector Routines - Background Options
Set the background color for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.
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
Set the Edge Color for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.
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
Set the Position (Normal or Exploded) for all pie sectors, a range of pie sectors, an individual pie sector, or the current pie sector.
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.
Set the Label text of an individual pie sector or the "current" pie sector.
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.
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.
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.
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.
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.
Set the font name and font index for all sectors of the current pie chart.
Set the font index for all sectors of the current pie chart.
Set the font style (normal, bold, italic) for all sectors of the current pie chart.
Set the font size for all sectors of the current pie chart.
Set the font color for all sectors of the current pie chart.
Set the rotation angle for all sectors of the current pie chart.
XY Chart Routines
General
Set the position and size of the plot area.
Set the x coordinate of the plot area position.
Set the y coordinate of the plot area position.
Set the width of the plot area.
Set the height of the plot area.
Set the Plot Area background colors.
Set the Plot Area edge color.
Set the Plot Area horizontal grid color.
Set the Plot Area vertical grid color.
Adds a Bar layer to the current chart spec.
Set the color of the bars in the current Data Point, Data Set, Data Group, or XY Bar Layer
Set the color of the bars for the current Data Point
Set the color of the bars for the current Data Set
Set the color of the bars for the current Data Group
Set the color of the bars for the current XY Bar Layer
Set the horizontal gap between the bars or bar groups.
Set the horizontal gap between the bars.
Set the horizontal gap between the bar groups.
Sets the minimum height (or width for horizontal bars) of the bar segments below which data labels will be hidden.
Sets the height and width of the icons used in a legend.
Set the name to be included in the legend box.
Sets the overlap ratio and order among overlapping bars within a bar group in a multi-bar chart
Sets the order among overlapping bars within a bar group in a multi-bar chart
Sets the overlap ratio among overlapping bars within a bar group in a multi-bar chart
Set the shape of the bars in the current Data Point, Data Set, Data Group, or XY Bar Layer
Set the shape of the bars for the current Data Point
Set the shape of the bars for the current Data Set
Set the shape of the bars for the current Data Group
Set the shape of the bars for the current XY Bar Layer
Set the bar and subbar width for the current XY Layer
Set the bar width for the current XY Layer
Set the subbar width for the current XY Layer
Set the 3D depth of the current bar layer
Axis Routines
General
Set the specified axis ("x", "y") of the "current" chart to be the "current" axis. (a second optional parameter can specify "Primary" or "Secondary")
Set the color of the "current" axis.
Set the length of the "current" axis line.
Set the width of the "current" axis line.
Set the margins (top and bottom/left and right) of the "current" axis.
Set the axis mode of the "current" axis to be INDENTED or DEFAULT.
Set the offset (x and y) of the "current" axis.
Set the top extension, bottom extension, and zero affinity values that are to be used when auto-scaling the "current" axis.
Controls whether or not the minimum value of the "current" axis should be rounded to correspond with a tick value.
Controls whether or not the maximum value of the "current" axis should be rounded to correspond with a tick value.
Set the direction for the values of the "current" axis.
Axis Tick Routines
Set the color of the (major and minor) ticks on the "current" axis.
Set the length of the (major and minor) ticks on the "current" axis.
Set the width of the (major and minor) ticks on the "current" axis.
Set the offset of the ticks on the "current" axis.
Set the minimum tick increment of the ticks on the "current" axis.
Set the distance in pixels between major ticks and minor ticks on the "current" axis.
Axis Title Routines
Set a title for the "current" axis.
Set the font name and font index for the title of the "current" Axis.
Set the font index for the title of the "current" axis.
Set the font style (normal, bold, italic) for the title of the "current" axis.
Set the font size for the title of the "current" axis.
Set the font color for the title of the "current" axis.
Set the alignment of the axis title relative to the axis for the "current" axis.
Set the gap between the axis title and the axis for the "current" axis.
Axis Label Routines
Add the specified label to the "current" Axis of the "current" chart.
Set the font name and font index for the "current" label of the "current" Axis.
Set the font index for the "current" label of the "current" axis.
Set the font style (normal, bold, italic) for the "current" label of the "current" axis.
Set the font size for the "current" label of the "current" axis.
Set the font color for the "current" label of the "current" axis.
Set the rotation angle for the "current" label of the "current" axis.
Set the Format for the axis labels for the "current" axis.
Set the distance between the axis label and the tick in pixels for the "current" axis.
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
Initialize a Shape Object
Set the "current" Shape Object to be a previously initialized Shape Object.
Get the name of the "current" Shape Object.
Clear the "current" Shape Object.
Changes the Shape ID of the "current" Shape Object.
Set the number of sides, points or width for the current shape.
Sets the number of sides, points or width for the current shape.
Sets the number of sides, points or width for the current shape.
Creates a custom shape.
--
SteveFrizzell - 2010-02-14