<< 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) |
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 |
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= |
Pie or chart main title |
||
TSTYLE |
TSTYLE= |
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= |
|
Color of a series: Example: COLOR#1=BLUE |
|
TRANSP |
TRANSP#n=0-255 |
|
Areas and bars transparency. By default, no transparency is applied. n is the series number. |
|
BORDER |
BORDER#n= |
|
Border color of the series n.
|
|
MODE |
MODE=H MODE=V |
|
Mode: •H: horizontal •V: vertical |
|
SIZE |
SIZE#n= |
|
Pies only: specifies the percentage size of the different series. |
|
3D |
3D 3D#n [ =offset ] |
|
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= |
|
Title to display in the X axis See note on <XAXIS> |
|
YTITLE |
YTITLE= |
|
Title to display in the Y axis See note on <YAXIS> |
|
XTitleStyle YTitleStyle |
XTITLEStyle= YTITLEStyle= |
|
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= |
|
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= |
Background color of the chart |
||
CHARTCOLOR |
CHARTCOLOR= |
|
Color of the graphic area |
|
BACK |
BACK=filename BACK=n |
|
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 |
|
Defines a gradient in the legend area. StartColor and endColor are valid vpxPrint colors. |
|
LEGEND |
LEGEND#n= LEGEND=NO LEGEND=NONE |
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 |
Font color of the X-Y and main titles |
||
XCOLOR |
XCOLOR=
|
|
Color of X and Y axis |
|
XYSTYLE |
XYSTYLE= deprecated, see the fontstyle of XAXIS & YAXIS |
|
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
|
|
YAXIS |
XAXIS=N YAXIS=N
XAXIS=font_style YAXIS=font_style |
|
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 |
|
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=NO / YES |
|
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 |
|
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 |
|
Controls the display of specific series in a chart. Modifies the standard setting of the SHOWVALUES. |
|
VALUEFORMAT=format |
|
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 |
|
Indicates that the point value must be outside the slice of the #n series. Applies to Funnel & new Donut modes |
|
HGRID |
|
Displays the horizontal grid |
||
VGRID |
VGRID |
|
Displays the vertical grid |
|
MIN |
MIN=value |
|
Defines the minimum value of the Y axis. If specified, the MAX value must also be specified. |
|
MAX |
MAX=value |
|
Sets the maximum value of the Y-Axis. |