A graph or chart is a diagrammatic illustration of a set of data. Data can be easily presented in a visual and meaningful format using the Indigo DRS Chart Designer.
To Add or Edit a Report Chart click on the Report Treeview and select the Section or Group you wish to create Chart in.
Enter the Name, Rules and Size for the Chart and then open the Designer.
Report Chart Designer
The Chart designer allows the Chart Areas, Legends and Series to be defined using the Property Pages. The Chart should be bound to the report data source and the available Columns from the Data Table should be selectable.
Click Edit Chart or right click on the Chart to open the Report Chart Properties for Editing.
Click the Chart Series collection editor to define the Chart Series and styles.
Select the X and Y Axis Data Source and Chart Type. Many other settings can be defined to customise the Chart appearance and style.
Adding Legends to the Chart is easy with the Legend Collection Editor.
Inserting a Line Chart into the Report
The following report shows the share prices for IBM and took less than five minutes to create.
Report Charts can also contain Report Conditional Rules to determine if the Chart is displayed or not. Report Rules are XQuery expressions that return True or False and determine if Content is Enabled. By Default if empty the Rule will always be True.
Chart Data Context and XSLT
The Report Chart can use the Report Data Context or a custom Context specified by the Context Property.
In addition XSLT Reporting features Extensible Stylesheet Language Transformations which is a language for transforming XML documents into other XML documents or other formats such as HTML for web pages or plain text.
To specify an XSLT to Transform the Report Chart Data Context click the Button on the XSLT Property to Open the XSLT Editor.
The URI Query for the Context and XSLT can be an XQuery expression to specify the location of the URI. If the Value Type is a literal the URI location will be determined from the URI property. If the Value Type is XQuery the URI location will be determined from the URI Query.
XML namespaces are used for providing uniquely named elements and attributes. If the Data Source contains Namespaces they can be applied to the XQuery Processor.