Skip to end of metadata
Go to start of metadata

How to Add Charts and Thematic to Reports?

Icon
This document describes how to add graphical reports and thematic maps that are received in statistical reports to the report contents. 
 Adding Charts to the Object Report

 

For the object report, we drag and drop a query template under the Templates list of an object into the report, as shown in the Report Design Tool screen above to insert the chart. Then we select the control we have added to the report with the mouse to open the Properties (Netgma Properties) tab. In the properties window that opens, we type "Chart" as the viewstyle value. This setting allows the query template result to be displayed as a chart. 

The viewstylecustomatt property is set to

ChartType is a value that can be a value from 0 to 34 and determines how the chart to be created will be a chart (pie, bar, point, etc.). The default value is 0 (point).

ImageHeight determines the height of the graphic image to be created. The default value is 400. 

ImageWidth specifies the width of the graphic image to be created. The default value is 400. 

These components are combined with the semicolon and used as follows. "ChartType:17;3D:1;ImageHeight:400,ImageWidth:400". All the values that the ChartType property can have are:

 

Point = 0
FastPoint = 1
Bubble = 2
Line = 3
Spline = 4
StepLine = 5
FastLine = 6
Bar = 7
StackedBar = 8
StackedBar100 = 9
Column = 10
StackedColumn = 11
StackedColumn100 = 12
Area = 13
SplineArea = 14
StackedArea = 15
StackedArea100 = 16
Pie = 17

Doughnut = 18
Stock = 19
Candlestick = 20
Range = 21
SplineRange = 22
RangeBar = 23
RangeColumn = 24
Radar = 25
Polar = 26
ErrorBar = 27
BoxPlot = 28
Renko = 29
ThreeLineBreak = 30
Kagi = 31
PointAndFigure = 32
Funnel = 33
Pyramid = 34

 

The resulting report looks like this;

 Adding Thematic Topics to the Report

 

Adding Thematic Topics to the Report

To add thematically to the object report, we drag and drop a query template into the report under the Templates list of an object on the Report Design Tool screen. Then we select the control we have added to the report with the mouse to open the Properties (Netgma Properties) tab. In the properties window that opens, we type "thematic" as the viewstyle value. This setting allows the query template result to be shown as a thematic map.  

The viewstylecustomatt property is set to:

TableName holds the name of the spatial table to be used when creating thematic. If no TableName value is given, this table is used if a single table is defined in the query template. If more than one table is defined, the user is warned to enter the table name. 

ThematicTemplatePath is the name of a file in the xml type that contains the visual descriptions of the themes of the theme. The value entered here is searched in the Moduldata / ThematicTemplate folder. If this value is not set or if there is no file with the value name entered, the thematic map is automatically created using the Ozgun1.xml file. 

ThematicType specifies the determination of the creation of a deposit. Here are the values you can get.

GrupAlanTematigi = 1,

GrupAlanSayisalTematigi = 2,

KumeAlanTematigi = 4,

KumeAlanSayisalTematigi = 8 

BBox, Ymin, Xmin, Ymax, Xmax format bounding box information is received. It sets the territory the map shows. 

The LayerFilter allows you to break layers that are not shown on the map.

ImageHeight determines the height of the foundation to be created. The default value is 400. 

ImageWidth specifies the width of the parentage to be created. The default value is 400. 

These components are combined with the semicolon and used in the following way. 

Tablename: GEOMAHALLE;ThematicTemplatePath:Ozgun2.xml;Imageheight:600;Imagewidth:800; LayerFilter: GEOYOL=0

The resulting report is as follows;

 

 Use of reports at home

 

Use of Reports on the Home Page 


Reports containing a grid, thematic chart can also be used on the main page. To do this, click on the home page in the upper right corner of the main page and click on the Add Area menu from the pop-up menu.

By selecting the report option in the pop-up window, you can enter a title, desired report name and altitude value, click on the Add button and the selected report will be displayed on the main page. 

As a result, the reports we have added will be displayed at home as follows.