Difference: CDChartDirectorDesignerAPI (27 vs. 28)

Revision 282010-04-01 - 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: 7 to 7
 

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 used to dynamically create charts and embed them in menus, input screens, and PDF reports.

Chart Initialization

Chart Specifications

Chart Routines - General

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

Designing a Chart

 
Changed:
<
<
Initialize a chart.
.CHART SET CURRENT
>
>
Chart design is accomplished by calling the appropriate Chart Design subroutines in the appropriate sequence to create a chart specification.

Defining a Dataset

 
Changed:
<
<
Set the "current" chart to be a previously initialized chart.
.CHART GET NAME
>
>
Datasets are defined by calling the appropriate Dataset Design subroutines in the appropriate sequence to create a dataset definition.

Rendering a Chart

 
Changed:
<
<
Get the name of the "current" chart.
.CHART RENDER
>
>
A chart is rendered by calling the Chart Render subroutine for a chart specification and its associated dataset definition(s).

Chart Specifications

Chart Routines - General

.CHART INITIALIZE

Initialize a chart.

.CHART RENDER

  Render the "current" chart.
Changed:
<
<
.CHART SET TITLE
>
>

.CHART SET TITLE

  Set the title of the "current" chart.
Changed:
<
<
.CHART SET SIZE
>
>

.CHART SET SIZE

  Set the size (height and width) of the "current" chart.
Changed:
<
<
.CHART SET SIZE:H
>
>

.CHART SET SIZE:H

  Set the height of the "current" chart.
Changed:
<
<
.CHART SET SIZE:W
>
>

.CHART SET SIZE:W

  Set the width of the "current" chart.
Changed:
<
<
.CHART SET BG COLOR
>
>

.CHART SET BG COLOR

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

.CHART SET BG WALLPAPER

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

.CHART SET BG IMAGE

 
Changed:
<
<
Set the background color of the chart to the "current" color.
.CHART SET EDGE COLOR
>
>
Set the pathname of an image file that is to be positioned within the background area of the "current" chart.

.CHART SET EDGE COLOR

  Set the edge color of the chart.
Changed:
<
<
.CHART SET EDGE EFFECT
>
>

.CHART SET EDGE EFFECT

  Set the edge effect of the chart.
Changed:
<
<
.CHART SET EDGE WIDTH
>
>

.CHART SET EDGE WIDTH

  Set the edge width of the chart.
Changed:
<
<
.CHART SET CNR STYLE
>
>

.CHART SET CNR STYLE

  Set the corner style (Square or Rounded) of the "current" Chart Object.
Changed:
<
<
.CHART SET CNR R
>
>

.CHART SET CNR R

  Set the corner radius' of the "current" Chart Object.
Changed:
<
<
.CHART SET CNR R:TL
>
>

.CHART SET CNR R:TL

  Set the radius of the Top Left corner of the "current" Chart Object.
Changed:
<
<
.CHART SET CNR R:TR
>
>

.CHART SET CNR R:TR

  Set the radius of the Top Right corner of the "current" Chart Object.
Changed:
<
<
.CHART SET CNR R:BR
>
>

.CHART SET CNR R:BR

  Set the radius of the Bottom Right corner of the "current" Chart Object.
Changed:
<
<
.CHART SET CNR R:BL
>
>

.CHART SET CNR R:BL

  Set the radius of the Bottom Left corner of the "current" Chart Object.
Changed:
<
<
.CHART SET BG WALLPAPER

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

.CHART SET BG IMAGE

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

.CHART ADD TO MULTI
>
>

.CHART ADD TO MULTI

  Add the "current" chart object to the specified Multi-Chart object.
Changed:
<
<
.CHART ADD EM CHART
>
>

.CHART ADD EM CHART

  Add the specified chart object to the "current" Multi-Chart object.
Changed:
<
<

Pie Chart Routines - General

>
>

.CHART SET CURRENT

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

.CHART GET NAME

Get the name of the "current" chart.

Pie Chart Routines

General

 
.PIE SET VIEW

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

 
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