On line guide/help
You are on page 35 of the online help. Navigate sequentially through the guide pages or search for a topic of interest to you.
Index Prev. NextLine chart
Draw a line or area chart
Draws a line chart or an area chart. More than a single measurement can be displayed.
Elements / attributes of the <linechart> element:
Coordinate parameters (required) that define the print area of the legend:
<x1> Starting X coordinate (upper/left corner)
<y1> Starting Y coordinate (upper/left corner)
<x2> Ending X coordinate (bottom/right corner)
<y2> Ending Y coordinate (bottom/right corner)
The above parameters can alternatively be indicated in this way (one of the two methods is mandatory):
<x> Starting X coordinate (upper/left corner)
<y> Starting Y coordinate (upper/left corner)
<width> Width of the chart from the starting X coordinate
<height> Height of the graph starting from the starting Y coordinate
Parameters that define the appearance of the graph:
<style> (string) Chart style. Possible values:
line : Draw a line chart
area : Draw an area chart
<title> Chart title
<legend> Optional chart legend (if defined)
<maxValue> (numeric, float) Chart max value user for top Y scale. Set 0 for autoscale.
<border> Show or hide border. Possibile values:
0 Disable (hide) border
1 Enabled (show) border
1111 Enabled (shows) the border for each side of the frame area (left, top, right, bottom). You can show/hide each side of the border individually.
<showvalues> Show or hide data values. Possibile values:
yes Show values
no Hide values
<titlefont> Sets the title font text style (if not set, the default font style will be used)
<axisfont> Sets the axis labels font style (if not set, the default font style will be used)
<measures> Defines a list of measures with the properties of each measure. There must be at least one measure.
<datalist> Defines the list of data to use in the chart. If a placeholder is used, it is dynamically replaced with the data.
Optional parameters:
<printif>: A simple expression prints this graphic element only if it evaluates to true. If it is not defined, the element is always printed.
The expression must be written using placeholders or constants and one of these comparison operators:
= (identical)
> (greater than)
< (less than)
>= (greater than or equal to)
<= (less than or equal to)
!= (not equal to)
Examples of expressions using placeholders/constants:
{data_set.doc_type}=1
{data_set.level}>={MIN_LEVEL}