Line

The Line element allows you to draw a line in the report.

Add Line

To draw a line in the report, click on the “Line” button and click on the location where you wish to place the line. A “Line Wizard” will appear.

It consists of two tabs, the “Line” tab and “Scripts” tab.

Line Tab

The “Line” tab allows you to setup the properties of the line to be drawn. It also allows you to edit the ends of the line, such as adding a dot or an arrow at the end of line.

It has the following properties.

Field Description Type
Line
Style Defines the style of the line.
Available options:
- None
- Solid (default)
- Dashed
- Dotted
- Double
- DotDash
- DotDotDash
- Wave
Drop-down list
Width Defines the width of the line.
Default value is 1 and default unit is pixels.
Textbox with drop-down list for units
Colour Defines the colour of the line.
Default colour is black.
Textbox with colour picker
Arrow 1/2
Style Defines the style of the arrow.
Available options:
- None (default)
- Arrow
- Diamond
- Open-Arrow
- Round
- Square
- Symmetric-Arrow
Drop-down list
Width Defines the width of the arrow.
Default value is 10 and default unit is pixels.
Textbox with drop-down list for units
Colour Defines the colour of the arrow.
Default colour is black.
Textbox with colour picker

To use the colour picker, click on the button next on the right of the “Colour” field. The “Choose Colour” dialog box will appear.

Select the desired colour from the various tabs and the transparency value in the “Transparency” tab. The selected colour and transparency is displayed in the “Preview” panel below.

Select the desired settings for the fields and the line will appear in the preview panel on the top right of the wizard.

Script Tab

This tab has three panels which allows you to add Java scripts:

  • Render If
  • On Render Begin
  • On Render End

The JavaScript functions that are entered in these text boxes are executed when the line is rendered.

Edit Line

To edit a line in the report template, click on the Line element to display the “Properties” dialog box.

The tabs are similar to the Line Wizard.