D1 and D2 statements set the chart type,
name and data values. D1 statement is used for coding charts
that are rendered in regard to the left value axis (Y1). D2
statement is used
for coding charts that are rendered in regard to the right value axis (Y2). |
Parameter | Purpose |
type | Chart type |
number | Depends on the chart type |
color 1 | Depends on the chart type |
color 2 | Depends on the chart type |
text | Chart name |
URL | Destination URL |
v1; v2; v3;... | Data values |
text parameter sets the chart name. If you code this
parameter, chart name will be included into legend.
If first symbol of name is "~", this name is not included into legend.
If first symbol of name is "^", this name is not
included into legend and also all VML elements of corresponding chart
will be consist ID attribute of
previous chart. It takes place only in case when marker chart follow
line chart of L1 or L2 types. These two charts are rendered in legend together as line
chart with marker. You can add JScript and VBScript statements in text parameter after symbols "' " (apostrophe and space). These statements will be included in VML elements of correspondent chart. If you code URL parameter the element href ='URL' will be included in VML elements of correspondent chart. By click on this chart you can jump to defined bookmark or page. Data values v1; v2; v3; ... are coded in a format of numbers with integer and decimal parts. The integer part can be separated from the decimal part by point or comma. Negative numbers are coded with minus. If some values are not coded, corresponding fragment of the chart is not rendered, but these values are counted at calculation of the value number. For very long string you can use symbol "\". After reading this symbol program terminates data input from current string and reads it from the beginning of the next string. Also you can use symbol "#" for terminating input. After reading this symbol program terminates data input from current string and reads next statement from the next string. Ceiling amount of charts in one chart area is 100. Ceiling amount of one chart values is 1000. |
Types of charts
Type | Number | Color 1 | Color 2 | Example |
L1 Line chart |
Line width (by default is 1) | Line color (by default is black) |
Not used |
![]() |
L2 Line chart with drop lines |
Line width (by default is 1) | Line color (by default is black) |
Not used |
![]() |
L3 Area chart |
Line width (by default is 1) | Line color (by default is black) |
Area color (by default is white) |
![]() |
M1 Square |
Diameter of the circumcircle (by default is 10) |
Contour color (by default is black) |
Field color (by default is white) |
![]() |
M2 Rhombus |
Diameter of the circumcircle (by default is 10) |
Contour color (by default is black) |
Field color (by default is white) |
![]() |
M3 Triangle |
Diameter of the circumcircle (by default is 10) |
Contour color (by default is black) |
Field color (by default is white) |
![]() |
M4 Circle |
Diameter of the circle (by default is 10) |
Contour color (by default is black) |
Field color (by default is white) |
![]() |
M5 Inclined cross |
Diameter of the circumcircle (by default - 10) |
Color of the lines (by default is black) |
Field color (by default is white) |
![]() |
M6 Cross |
Diameter of the circumcircle (by default is 10) |
Color of the lines (by default is black) |
Color of the circle (by default is white) |
![]() |
P1 Pie chart Charts output in one area: from left to right in direction top-down |
Angle between vertical line and border of first sector (0 - 360 degrees, by default is- 0) | Color of the arch (by default is- black) |
Color of the sector (by default is white) |
![]() |
P2 Pie chart Charts output in one area: top-down in direction from left to right |
Angle between vertical line and border of first sector (0 - 360 degrees, by default is- 0) | Color of the arch (by default is black) |
Color of the sector (by default is white) |
![]() |
P3 The circular chart Charts output in one area: from right to left in direction top-down |
Angle between vertical line and border of first sector (0 - 360 degrees, by default is- 0) | Color of the arch (by default is black) |
Color of the sector (by default is white) |
![]() |
P4 The circular chart Charts output in one area: top-down in direction from right to left |
Angle between vertical line and border of first sector (0 - 360 degrees, by default is- 0) | Color of the arch (by default is black) |
Color of the sector (by default is white) |
![]() |
R Bar chart |
Size of a backlash between histograms in percentage of
column width (0 - 500 percents) (by default is 100) |
Contour color (by default is black) |
Field color (by default is white) |
![]() |
V Value chart |
Font size (by default is 14) |
Font color (by default is black) | Field color (by default is transparent) |
![]() |
Comments: 1. Color you can set in two ways: by using following color names: black, silver, gray, maroon, purple, fuchsia, aqua, teal, navy, olive, lime, blue, green, red, white, yellow; by using numbers to denote a red-green-blue (RGB) color value in format #RGB or #RRGGBB, for example, #F00 or #FF0000. 2. Only from first chart number parameter is used for all bar charts and pie charts that rendered in one chart area. 3. Only from first chart type parameter is used for all pie charts rendered in one chart area. 4. Values output format (number of signs in a decimal part) defined by step parameter of Y1 or Y2 statements. 5. Value chart names are not included into legend. 6. Values in value charts are rendered by the same font, as labels of the corresponding value axis. 7. If only pie charts are coded, axes are not rendered. 8. Labels of categories axis are used as names of pie charts. |
Stacked charts
L1s | L2s | L3s |
![]() |
![]() |
![]() |
MxS | Rs | Vs |
![]() |
![]() |
![]() |
Stacked charts are rendered in order of description location in input
file - the uppermost charts are coded first. If several marker charts are set as stacked charts, they are rendered as one stacked chart even if types of this charts are different. |
To avoid overlapping one charts by
others you must remember, that chart images are rendered in the following order: pie charts; area charts (type L3); bar charts; line charts and markers; values. The legend is rendered separately after charts and it can overlap some charts if absolute addressing legend is used. |
Identifiers are used in JScript and VBScript
programs. If you code parameter id in AREA statement, id
attribute will be added automatically in all VML elements. All VML elements of the same chart have the same id attribute. It consist text from parameter id, symbol "_" (horizontal bar) and ordinal number of the chart description in the input file. Charts numbering is made automatically, starting with number 1. For example, if the parameter id is CHART1, all VML elements of the first chart will contain attribute ID='CHART1_1' ,
of the
second chart - ID='CHART1_2' , etc. Such elements are
exposed as a collection that can be referenced only in ordinal position.
|