-
Notifications
You must be signed in to change notification settings - Fork 0
/
UkraineDashboards-UkraineDashboard.dashboard.dfi.xml
92 lines (80 loc) · 5.49 KB
/
UkraineDashboards-UkraineDashboard.dashboard.dfi.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?xml version="1.0" encoding="UTF-8"?>
<Export generator="Cache" version="25">
<Document name="UkraineDashboards-UkraineDashboard.dashboard.DFI">
<dashboard xmlns="http://www.intersystems.com/deepsee/library" name="UkraineDashboard" folderName="UkraineDashboards" title="" description="" keywords="" owner="" shared="true" public="true" locked="false" resource="" timeCreated="2013-06-22T08:29:13.458Z" createdBy="_SYSTEM" category="" bookCover="" scheme="" worklistCount="0" snapTo="true" snapGrid="true" gridRows="10" gridCols="10" canResize="true" canModify="true" showTitleBar="true" companyName="" companyLogo="" companyStyle="">
<widget name="Map" type="portlet" subtype="NPMLBI.UkraineMapPortlet" subtypeClass="" title="" dataSource="NPMLBI/UkraineMapKPI.kpi" dataLink="" drillDownDataSource="" width="200" height="200" sidebarContent="" showSidebar="false" sidebarWidth="" maximized="false" homeRowL="0" homeColL="0" colSpanL="10" rowSpanL="10" showToolbar="true" theme="">
<control name="" action="applyFilter" target="" targetProperty="LevelFilter" location="widget" type="hidden" controlClass="" label="Родитель" title="" value="" text="" readOnly="false" valueList="" displayList="" activeWhen=""></control>
<control name="" action="applyFilter" target="" targetProperty="LevelStart" location="widget" type="dropdown" controlClass="" label="Начальный уровень" title="" value="0" text="" readOnly="false" valueList="0,1" displayList="Регионы Украины,Области Украины" activeWhen=""></control>
<control name="" action="applyFilter" target="" targetProperty="ParameterName" location="widget" type="dropdown" controlClass="" label="Параметр" title="" value="Параметр 1" text="" readOnly="false" valueList="" displayList="" activeWhen=""></control>
<property name="additionalInfo">тыс. чел.</property>
<property name="additionalInfoProperty">TotalValue</property>
<property name="colorProperty">Color</property>
<property name="coordsJsFile">polygonsUKR.js</property>
<property name="coordsProperty">Name</property>
<property name="fillOpacity">0.6</property>
<property name="hoverOpacity">0.4</property>
<property name="latitude">48.7</property>
<property name="latitudeProperty">Latitude</property>
<property name="longitude">32.28</property>
<property name="longitudeProperty">Longitude</property>
<property name="markerDataProperties">Name,Level,DefaultZoom,Address,CanDrillDown,TotalValue,TotalPlannedValue,SpecialIcon,ParameterName</property>
<property name="markerIcon">http://i.imgur.com/pBB7MYT.png</property>
<property name="markerIconProperty"></property>
<property name="markerSpecialIcon">http://i.imgur.com/bFJRQfv.png</property>
<property name="markerSpecialProperty">SpecialIcon</property>
<property name="markerTitleProperty">Name</property>
<property name="onclickmarker"><![CDATA[
if (marker.data.CanDrillDown == 1)
{
zenThis.drillDown(marker.data.Name, marker.position, marker.data.DefaultZoom, {name: marker.data.Name, level: marker.data.Level});
}
else
{
if (zenThis.win)
zenThis.win.close();
zenThis.win = zenThis.createInfoWindow(marker, '<div style="font-size: 12px;"><b>' + marker.data.Name + '</b><br/><br/>Фактическое значение: ' + marker.data.TotalValue + '</b><br/><br/>Плановое значение: ' + marker.data.TotalPlannedValue + '</div>'); }
]]></property>
<property name="onclickpolygon">
if(!zenThis.lastPolygon)
zenThis.lastPolygon=[];
zenThis.drillDown(polygon.data.Name, position, polygon.data.DefaultZoom, {name: polygon.data.Name, level: polygon.data.Level});
var opacity = 1;
if(!zenThis.currLevel || zenThis.currLevel == 0)
opacity = 0.3;
zenThis.currentPolygon = new google.maps.Polygon({fillOpacity: 0.02, strokeColor: polygon.data.Color, strokeOpacity: opacity, paths: polygon.getPaths(), clickable: false, map: zenThis.getMapObject()});
zenThis.lastPolygon.push(zenThis.currentPolygon);
</property>
<property name="ondrilldown">
if(!zenThis.lastVal)
zenThis.lastVal=[];
if(!zenThis.lastLevel)
zenThis.lastLevel=[];
if (!zenThis.currVal)
zenThis.currVal='-';
if (!zenThis.currLevel)
zenThis.currLevel='';
zenThis.lastVal.push(zenThis.currVal);
zenThis.lastLevel.push(zenThis.currLevel);
zenThis.currVal=data.name;
zenThis.currLevel=data.level;
zenPage.dashboardEventHandler(zenThis,'click', zenThis.currLevel + ';' + zenThis.currVal, 'applyFilter', '*', 'LevelFilter');
</property>
<property name="ondrillup">
if (zenThis.lastVal)
{
zenThis.currVal = zenThis.lastVal.pop();
zenThis.currLevel = zenThis.lastLevel.pop();
zenThis.currentPolygon = zenThis.lastPolygon.pop();
zenPage.dashboardEventHandler(zenThis, 'click', zenThis.currLevel + ';' + zenThis.currVal, 'applyFilter', '*', 'LevelFilter');
if (zenThis.currentPolygon)
zenThis.currentPolygon.setMap(null);
}
</property>
<property name="polygonDataProperties">Name,ParentName,Level,DefaultZoom,TotalValue,TotalPlannedValue,ParameterName</property>
<property name="polygonTitleProperty">Name</property>
<property name="strokeOpacity">1</property>
<property name="strokeWeight">1.2</property>
<property name="zoom">6</property>
</widget>
</dashboard>
</Document></Export>