<CHART>

<< Click to Display Table of Contents >>

Navigation:  Pies and charts >

<CHART>

Draws a chart or a pie.

 

Syntax:

 

<CHART#n,Option_list>

 

where Option_List is a comma delimited list with the following keywords:

 

Keyword

Syntax

Pie

Chart

 

TYPE

TYPE=PIE    (pie)

TYPE#n=      (chart)

graphe3

graphe2

Pie or chart type:

PIE

LINE

DIGITALLINE

BAR

AREA

LINEBAR

HISTOGRAM

LINEHISTOGRAM

STACKEDBAR

STACKEDAREA

FUNNEL

DONUT

HALFDONUT

SIZEDDONUT

VARRADIUSDONUT

 

of the series n.

 

Example:

TYPE#1=StackedArea,TYPE#2=Bar

 

Note:

The PIE type can not be mixed with another type.

 

DATA

DATA=inputData name

or external input data file

graphe3

graphe2

1. the input dataset name specified in a previous data tag:

<DATA=xxxxx>

.....

</DATA>

2. or the name of an external file:

(without <DATA> </DATA>)

TITLE

TITLE=

graphe3

graphe2

Pie or chart main title

TSTYLE

TSTYLE=

graphe3

graphe2

Font style of the main title of the chart.

That is a '/' delimited list:

FontName

Size

B

U

I

K

COLOR=valid vpxPrint colors.

in any order.

 

Examples:

Tahoma/B/I/18/COLOR=BLUE

Arial/14/U/COLOR=127-127-127

COLOR

COLOR#n=

 

graphe2

Color of a series:

Valid vpxPrint colors

Example:

COLOR#1=BLUE

TRANSP

TRANSP#n=0-255

 

graphe2

Areas and bars transparency.

By default, no transparency is applied.

n is the series number.

BORDER

BORDER#n=

 

graphe2

Border color of the series n.

Valid vpxPrint colors

 

MODE

MODE=H

MODE=V

 

graphe2

Mode:

H: horizontal

V: vertical

SIZE

SIZE#n=

graphe3

 

Pies only: specifies the percentage size of the different series.

3D

3D

3D#n [ =offset ]

 

graphe2

Specifies if the series #n should be displayed in 3D mode.

3D without parameters sets all the series to 3D mode.

If specified, offset is the 3D mode offset value.

XTITLE

XTITLE=

 

graphe2

Title to display in the X axis

See note on <XAXIS>

YTITLE

YTITLE=

 

graphe2

Title to display in the Y axis

See note on <YAXIS>

XTitleStyle

YTitleStyle

XTITLEStyle=

YTITLEStyle=

 

graphe2

Font style of the titles on the X and Y axis.

That is a '/' delimited list:

FontName

Size

B

U

I

K

COLOR=valid vpxPrint colors.

in any order.

 

Examples:

Tahoma/B/I/18/COLOR=BLUE

Arial/14/U/COLOR=127-127-127

MARKER

MARKER#n=

 

graphe2

Selects the marker type:

CIRCLE

SQUARE

TRIANGLE

DIAMOND

NONE

for the series n

If a series has an image specified in the <DATA> line, a marker is set with the image. If NONE or if no marker is specified for a series, no marker will appear for this series.

 

BGCOLOR

BGCOLOR=

graphe3

graphe2

Background color of the chart

valid vpxPrint colors.

CHARTCOLOR

CHARTCOLOR=

 

graphe2

Color of the graphic area

valid vpxPrint colors.

BACK

BACK=filename

BACK=n

 

graphe2

Puts an image in the chart background.

imagefile is a specific image on the computer

n: one of the standard predefined backgrounds

GRADIENT

GRADIENT#n=startCol/endColor

graphe3

 

Defines a gradient in the legend area.

StartColor and endColor are valid vpxPrint colors.

LEGEND

LEGEND#n=

LEGEND=NO

LEGEND=NONE

graphe3

graphe2

Legend text for the series .

No or None hide the legend area:

oLEGEND is the legends panel

oLEGEND# is the individual legend of the series

 

XFCOLOR

TFCOLOR

XFCOLOR=

deprecated, see the fontstyle of TSTYLE & XTitleStyle, YTitleStyle

graphe3

graphe2

Font color of the X-Y and main titles

valid vpxPrint colors.

XCOLOR

XCOLOR=

 

 

graphe2

Color of X and Y axis

valid vpxPrint colors.

XYSTYLE

XYSTYLE=

deprecated, see the fontstyle of XAXIS & YAXIS

 

graphe2

Font style of the titles on the X and Y axis. That is a '/' delimited list with:

FontName

Size

B

U

I

K

COLOR=valid vpxPrint colors.

in any order.

 

Examples:

Tahoma/B/I/18/COLOR=YELLOW

Arial/14/U/COLOR=RED

 

XAXIS

YAXIS

XAXIS=N

YAXIS=N

 

XAXIS=font_style

YAXIS=font_style

 

graphe2

1. If "N", hides the X or the Y axis

2. Otherwise it's the font style of the titles on the X and Y axis. That is a '/' delimited list with:

FontName

Size

B

U

I

K

COLOR=valid vpxPrint colors.

in any order.

 

Examples:

Tahoma/B/I/18/COLOR=YELLOW

Arial/14/U/COLOR=RED

 

EXT

EXT#1=MIN

EXT#2=MAX

EXT#1=3

graphe3

 

Selects the slice to be exploded:

MIN:  the slice containing the lowest value

MAX: the slice containing the biggest value

n: the slice number

SHOWVALUES

SHOWVALUES=NO / YES

graphe3

 

Suppresses the display of the legends on the pie.

Useful with numerous slices and/or little pies when there is no enough room for the legends.

By default, values are displayed in a pie.

SHOWVALUES

SHOWVALUES=NO / YES

 

graphe2

Controls the display of the values on a chart.

This setting sets the display of all values of all series of the chart.

By default, values are displayed in a chart.

SHOWVALUE#

SHOWVALUE#n=NO / YES

graphe3

 

Controls the display of specific series in a chart.

Modifies the standard setting of the SHOWVALUES.

VALUEFORMAT

VALUEFORMAT=format

 

graphe2

Optional values format.

"%" [index ":"] ["-"] [width] ["." prec] type

A format begins with a % character. After the % come the following, in this order:

An optional argument zero-offset index specifier (that is, the first item has index 0), [index ":"]

An optional left justification indicator, ["-"]

An optional width specifier, [width]

An optional precision specifier, ["." prec]

The conversion type character:

d        = Decimal (integer)

e        = Scientific

f        = Fixed

g        = General

m        = Money

s        = String

u        = Unsigned decimal

x        = Hexadecimal

Default is %g

 

Examples:

%d      12345

%.2f   125.20

%s      "Hello"

%e      1.12345E+004

 

VALUEOUT

VALUEOUT#n

 

graphe2

Indicates that the point value must be outside the slice of the #n series.

Applies to Funnel & new Donut modes

HGRID

HGRID

 

graphe2

Displays the horizontal grid

VGRID

VGRID

 

graphe2

Displays the vertical grid

MIN

MIN=value

 

graphe2

Defines the minimum value of the Y axis.

If specified, the MAX value must also be specified.

MAX

MAX=value

 

graphe2

Sets the maximum value of the Y-Axis.