Standard editor - How to use constants

From Catglobe Wiki
Jump to: navigation, search

STANDARD CHART EDITOR - HOW TO USE CONSTANTS

1. GO TO THE REPORT MODULE

  • Go to "Tools" -> "Reports" -> "Reports".

2. CREATE A NEW REPORT

Create report.jpg

  • Choose Report type (Standard, Personal, Dynamic).
  • Type a name for the report in the "Report name" box (required).
  • Type an alias for the report in the "Report alias" box (if users want).
  • Choose Template type. If you want to use existing Report template for new report, choose option 3.
  • Find a style sheet for the charts of report.
  • Find Path or not.
  • Find Report template path (required).

Create report 2.jpg

  • Save report then Report template button appear.

Create report 3.jpg

3. CREATE TEMPLATE CONSTANT

  • Highlight a report then go to menu Edit -> Template constants

Report - Template constants.jpg

  • A dialog appear, user input Name, Description, Type.

Report - Create constant.jpg

  • Click Create then save Template constant.

Save template constant.jpg

4. INPUT CONSTANT VALUE

  • After add Template constant, currenly Constants tab in Report is appeared, users open Constant tab and input value

Input constant value.jpg

5. INSERT CONSTANT INTO STANDARD CHART AND VIEW

  • To access the Report template, highlight your report in the in Report list and click on "Template"

Open report template.jpg

  • In report template, click button "Insert chart" to insert standard diagram

Report - Insert chart.jpg

  • Click on button "C" to open template constant
  • Highlight a constant and insert to chart

Report - Chart - Insert constant.jpg

  • A constant was inserted to chart

Report - Chart - Constant.jpg

  • Edit anything in diagram as you want and save chart
  • Save Report template
  • Highlight the report and view it in order to see constant value in chart

Report - View constant.jpg


Note Note: You cannot see constant value if you preview Report template.