Build a simple Map

Steps:

  1. Follow Build a Generic Report until the step to add report parts.
  2. Prepare an empty ReportPartMap object with default properties.
  3. For each selected data source fields, populate a ReportPartElement object with default properties.
  4. Add the ReportPartElement objects into either pointOptions.elements, shadingMetric.elements or bubbleMetrics.elements in ReportPartMap object.
  5. Update the properties of the map in properties field per user selection (See ReportPartMapProperties).
  6. Back to the steps in Build a Generic Report.

Prepare an empty ReportPartMap object

Empty ReportPartMap object


  • The highlighted pointOptions.elements, shadingMetric.elements and bubbleMetrics.elements are where the selected data source fields will be added
  • The highlighted properties contains the default properties
  • The highlighted properties.reportPartState.pointOptionsList and properties.reportPartState.activePointOption must be updated with the selected data source fields in Point Options boxes, see ReportPartMapProperties
 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
93
94
95
96
97
{
   "type": 4,
   "title": {
      "text": "",
      "properties": {},
      "settings": {
         "font": {
            "family": "",
            "size": 14,
            "bold": true,
            "italic": false,
            "underline": false,
            "color": "",
            "highlightColor": ""
         },
         "alignment": {
            "alignment": ""
         }
      },
      "elements": []
   },
   "description": {
      "text": "",
      "properties": {},
      "settings": {
         "font": {
            "family": "",
            "size": 14,
            "bold": false,
            "italic": false,
            "underline": false,
            "color": "",
            "highlightColor": ""
         },
         "alignment": {
            "alignment": ""
         }
      },
      "elements": []
   },
   "properties": {
      "reportPartState": {
         "drilldownInfo": [],
         "activeSerie": {},
         "pointOptionsList": [],
         "activePointOption": {}
      },
      "chartType": "World",
      "continentInfo": {},
      "countryInfo": {},
      "stateInfo": {},
      "commonOptions": {
         "izHoverLabels": true,
         "izLegend.visibility": false,
         "izLegend.horizontalAlign": "izRight",
         "izLegend.verticalAlign": "izBottom",
         "izLegend.borderWidth": 0,
         "izChartStyle": {},
         "izendaHiddenAllAxis": false
      },
      "optionByType": {
         "izValueLabel": false,
         "izShowTooltip": true,
         "izMapLabel": false,
         "izMapNavigation.enabled": false,
         "legendSettings": true
      },
      "view": {
         "showLabels": false,
         "dataRefreshInterval": {
            "enable": false,
            "updateInterval": 0,
            "isAll": true,
            "latestRecord": 0
         }
      }
   },
   "shadingMetric": {
      "text": null,
      "properties": {},
      "settings": {},
      "name": "shadingMetric",
      "elements": []
   },
   "bubbleMetrics": {
      "text": null,
      "properties": {},
      "settings": {},
      "name": "bubbleMetrics",
      "elements": []
   },
   "settings": {},
   "pointOptions": {
      "elements": [],
      "name": "pointOptions"
   }
}

Populate selected data sources fields

  1. Refer to the similar step in Building a Grid guide to:

    1. Get the list of available data sources fields from POST report/availableQuerySourceFields
    2. Build a corresponding ReportPartElement object for each selected data source field
    3. Populate a default ReportPartElementProperties for properties field in each ReportPartElement object

    See Sample Properties for a ReportPartElement for some samples.

  2. Add the ReportPartElement objects into pointOptions.elements, shadingMetric.elements and bubbleMetrics.elements in ReportPartMap object.

  3. Update properties.reportPartState.pointOptionsList and properties.reportPartState.activePointOption with the selected data source fields in Point Options boxes.

Sample full ReportPartMap object
  • Highlighted in pointOptions.elements are the ReportPartElement objects for GROUP(ShipCountry) and GROUP(ShipCity)
  • Highlighted in bubbleMetrics.elements is the ReportPartElement for SUM(Freight)
  • Highlighted properties.reportPartState.pointOptionsList and properties.reportPartState.activePointOption have been updated with the select data source fields in Point Options boxes
  • Highlighted in properties.chartType is the chart type (World)


  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
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
{
   "type": 4,
   "title": {
      "text": "",
      "properties": {},
      "settings": {
         "font": {
            "family": "",
            "size": 14,
            "bold": true,
            "italic": false,
            "underline": false,
            "color": "",
            "highlightColor": ""
         },
         "alignment": {
            "alignment": ""
         }
      },
      "elements": []
   },
   "description": {
      "text": "",
      "properties": {},
      "settings": {
         "font": {
            "family": "",
            "size": 14,
            "bold": false,
            "italic": false,
            "underline": false,
            "color": "",
            "highlightColor": ""
         },
         "alignment": {
            "alignment": ""
         }
      },
      "elements": []
   },
   "properties": {
      "reportPartState": {
         "drilldownInfo": [],
         "activeSerie": {},
         "activePointOption": {
            "label": "ShipCountry",
            "value": "ShipCountry",
            "field": {
               "reportPartContent": null,
               "isDirty": false,
               "name": "ShipCountry",
               "properties": {
                  "isDirty": false,
                  "fieldItemVisible": true,
                  "dataFormattings": {
                     "function": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                     "functionInfo": {
                        "id": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                        "name": "Group",
                        "expression": null,
                        "dataType": "Text",
                        "formatDataType": "Text",
                        "syntax": null,
                        "expressionSyntax": null,
                        "isOperator": false,
                        "userDefined": false,
                        "extendedProperties": {}
                     },
                     "format": {
                        "createNewHiddenPercenOfGroupField": false
                     },
                     "font": {
                        "family": "Roboto",
                        "size": 14,
                        "bold": false,
                        "italic": false,
                        "underline": false,
                        "color": "",
                        "backgroundColor": ""
                     },
                     "width": {
                        "value": null
                     },
                     "alignment": "alignLeft",
                     "sort": "ASC",
                     "color": {
                        "textColor": {
                           "rangePercent": null,
                           "rangeValue": null,
                           "value": null
                        },
                        "cellColor": {
                           "rangePercent": null,
                           "rangeValue": null,
                           "value": null
                        }
                     },
                     "alternativeText": {
                        "rangePercent": null,
                        "rangeValue": null,
                        "value": null
                     },
                     "customURL": {
                        "url": "",
                        "option": "LINK_NEW_WINDOW"
                     },
                     "embeddedJavascript": {
                        "script": ""
                     },
                     "subTotal": {
                        "label": "",
                        "function": "",
                        "expression": "",
                        "dataType": "",
                        "format": {},
                        "previewResult": ""
                     },
                     "grandTotal": {
                        "label": "",
                        "function": "",
                        "expression": "",
                        "dataType": "",
                        "format": {},
                        "previewResult": ""
                     }
                  },
                  "headerFormating": {
                     "font": {
                        "family": null,
                        "size": null,
                        "bold": null,
                        "italic": null,
                        "underline": null,
                        "color": null,
                        "backgroundColor": null
                     },
                     "alignment": null,
                     "wordWrap": null,
                     "columnGroup": ""
                  },
                  "drillDown": {
                     "subReport": {
                        "selectedReport": null,
                        "style": null,
                        "reportPartUsed": null,
                        "reportFilter": true,
                        "mappingFields": [],
                        "selectedIconValue": {
                           "icon": null,
                           "value": null
                        },
                        "viewSettingByLink": null
                     }
                  },
                  "otherProps": {}
               },
               "position": 1,
               "field": {
                  "fieldId": "500f4309-beb3-4af2-892b-dcec65bf8604",
                  "fieldName": "ShipCountry",
                  "fieldNameAlias": "ShipCountry",
                  "dataFieldType": "Text",
                  "querySourceId": "af773c7b-878e-461b-9345-27ee6592db1a",
                  "querySourceType": "Table",
                  "sourceAlias": "Orders",
                  "relationshipId": "00000000-0000-0000-0000-000000000000",
                  "visible": true,
                  "calculatedTree": null,
                  "isCalculated": false,
                  "hasAggregatedFunction": false
               },
               "isDeleted": false
            },
            "pointType": "country",
            "pointTypeName": "country"
         },
         "pointOptionsList": [
            {
               "label": "ShipCountry",
               "value": "ShipCountry",
               "field": {
                  "reportPartContent": null,
                  "isDirty": false,
                  "name": "ShipCountry",
                  "properties": {
                     "isDirty": false,
                     "fieldItemVisible": true,
                     "dataFormattings": {
                        "function": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                        "functionInfo": {
                           "id": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                           "name": "Group",
                           "expression": null,
                           "dataType": "Text",
                           "formatDataType": "Text",
                           "syntax": null,
                           "expressionSyntax": null,
                           "isOperator": false,
                           "userDefined": false,
                           "extendedProperties": {}
                        },
                        "format": {
                           "createNewHiddenPercenOfGroupField": false
                        },
                        "font": {
                           "family": "Roboto",
                           "size": 14,
                           "bold": false,
                           "italic": false,
                           "underline": false,
                           "color": "",
                           "backgroundColor": ""
                        },
                        "width": {
                           "value": null
                        },
                        "alignment": "alignLeft",
                        "sort": "ASC",
                        "color": {
                           "textColor": {
                              "rangePercent": null,
                              "rangeValue": null,
                              "value": null
                           },
                           "cellColor": {
                              "rangePercent": null,
                              "rangeValue": null,
                              "value": null
                           }
                        },
                        "alternativeText": {
                           "rangePercent": null,
                           "rangeValue": null,
                           "value": null
                        },
                        "customURL": {
                           "url": "",
                           "option": "LINK_NEW_WINDOW"
                        },
                        "embeddedJavascript": {
                           "script": ""
                        },
                        "subTotal": {
                           "label": "",
                           "function": "",
                           "expression": "",
                           "dataType": "",
                           "format": {},
                           "previewResult": ""
                        },
                        "grandTotal": {
                           "label": "",
                           "function": "",
                           "expression": "",
                           "dataType": "",
                           "format": {},
                           "previewResult": ""
                        }
                     },
                     "headerFormating": {
                        "font": {
                           "family": null,
                           "size": null,
                           "bold": null,
                           "italic": null,
                           "underline": null,
                           "color": null,
                           "backgroundColor": null
                        },
                        "alignment": null,
                        "wordWrap": null,
                        "columnGroup": ""
                     },
                     "drillDown": {
                        "subReport": {
                           "selectedReport": null,
                           "style": null,
                           "reportPartUsed": null,
                           "reportFilter": true,
                           "mappingFields": [],
                           "selectedIconValue": {
                              "icon": null,
                              "value": null
                           },
                           "viewSettingByLink": null
                        }
                     },
                     "otherProps": {}
                  },
                  "position": 1,
                  "field": {
                     "fieldId": "500f4309-beb3-4af2-892b-dcec65bf8604",
                     "fieldName": "ShipCountry",
                     "fieldNameAlias": "ShipCountry",
                     "dataFieldType": "Text",
                     "querySourceId": "af773c7b-878e-461b-9345-27ee6592db1a",
                     "querySourceType": "Table",
                     "sourceAlias": "Orders",
                     "relationshipId": "00000000-0000-0000-0000-000000000000",
                     "visible": true,
                     "calculatedTree": null,
                     "isCalculated": false,
                     "hasAggregatedFunction": false
                  },
                  "isDeleted": false
               },
               "pointType": "country",
               "pointTypeName": "country"
            },
            {
               "label": "ShipCity",
               "value": "ShipCity",
               "field": {
                  "reportPartContent": null,
                  "isDirty": false,
                  "name": "ShipCity",
                  "properties": {
                     "isDirty": false,
                     "fieldItemVisible": true,
                     "dataFormattings": {
                        "function": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                        "functionInfo": {
                           "id": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                           "name": "Group",
                           "expression": null,
                           "dataType": "Text",
                           "formatDataType": "Text",
                           "syntax": null,
                           "expressionSyntax": null,
                           "isOperator": false,
                           "userDefined": false,
                           "extendedProperties": {}
                        },
                        "format": {},
                        "font": {
                           "family": "Roboto",
                           "size": 14,
                           "bold": false,
                           "italic": false,
                           "underline": false,
                           "color": "",
                           "backgroundColor": ""
                        },
                        "width": {
                           "value": null
                        },
                        "alignment": "alignLeft",
                        "sort": "ASC",
                        "color": {
                           "textColor": {
                              "rangePercent": null,
                              "rangeValue": null,
                              "value": null
                           },
                           "cellColor": {
                              "rangePercent": null,
                              "rangeValue": null,
                              "value": null
                           }
                        },
                        "alternativeText": {
                           "rangePercent": null,
                           "rangeValue": null,
                           "value": null
                        },
                        "customURL": {
                           "url": "",
                           "option": "LINK_NEW_WINDOW"
                        },
                        "embeddedJavascript": {
                           "script": ""
                        },
                        "subTotal": {
                           "label": "",
                           "function": "",
                           "expression": "",
                           "dataType": "",
                           "format": {},
                           "previewResult": ""
                        },
                        "grandTotal": {
                           "label": "",
                           "function": "",
                           "expression": "",
                           "dataType": "",
                           "format": {},
                           "previewResult": ""
                        }
                     },
                     "headerFormating": {
                        "font": {
                           "family": null,
                           "size": null,
                           "bold": null,
                           "italic": null,
                           "underline": null,
                           "color": null,
                           "backgroundColor": null
                        },
                        "alignment": null,
                        "wordWrap": null,
                        "columnGroup": ""
                     },
                     "drillDown": {
                        "subReport": {
                           "selectedReport": null,
                           "style": null,
                           "reportPartUsed": null,
                           "reportFilter": true,
                           "mappingFields": [],
                           "selectedIconValue": {
                              "icon": null,
                              "value": null
                           },
                           "viewSettingByLink": null
                        }
                     },
                     "otherProps": {}
                  },
                  "position": 1,
                  "field": {
                     "fieldId": "b0554a37-b744-4db8-b1b0-95b029d8cae2",
                     "fieldName": "ShipCity",
                     "fieldNameAlias": "ShipCity",
                     "dataFieldType": "Text",
                     "querySourceId": "af773c7b-878e-461b-9345-27ee6592db1a",
                     "querySourceType": "Table",
                     "sourceAlias": "Orders",
                     "relationshipId": null,
                     "visible": true,
                     "calculatedTree": null,
                     "schemaName": "dbo",
                     "querySourceName": "Orders",
                     "databaseName": "test",
                     "isCalculated": false,
                     "hasAggregatedFunction": false
                  },
                  "isDeleted": false
               },
               "pointType": "city",
               "pointTypeName": "city"
            }
         ],
      },
      "chartType": "World",
      "continentInfo": {},
      "countryInfo": {},
      "stateInfo": {},
      "commonOptions": {
         "izHoverLabels": true,
         "izLegend.visibility": false,
         "izLegend.horizontalAlign": "izRight",
         "izLegend.verticalAlign": "izBottom",
         "izLegend.borderWidth": 0,
         "izChartStyle": {},
         "izendaHiddenAllAxis": false
      },
      "optionByType": {
         "izValueLabel": false,
         "izShowTooltip": true,
         "izMapLabel": false,
         "izMapNavigation.enabled": false,
         "legendSettings": true
      },
      "view": {
         "showLabels": false,
         "dataRefreshInterval": {
            "enable": false,
            "updateInterval": 0,
            "isAll": true,
            "latestRecord": 0
         }
      }
   },
   "shadingMetric": {
      "text": null,
      "properties": {},
      "settings": {},
      "name": "shadingMetric",
      "elements": []
   },
   "bubbleMetrics": {
      "text": null,
      "properties": {},
      "settings": {},
      "name": "bubbleMetrics",
      "elements": [
         {
            "name": "Sum (Freight)",
            "properties": {
               "fieldItemVisible": true,
               "dataFormattings": {
                  "function": "902a9168-fc01-4a35-92fb-ea67942d099d",
                  "functionInfo": {
                     "id": "902a9168-fc01-4a35-92fb-ea67942d099d",
                     "name": "Sum",
                     "expression": null,
                     "dataType": "Money",
                     "formatDataType": "Money",
                     "syntax": null,
                     "expressionSyntax": null,
                     "isOperator": false,
                     "userDefined": false,
                     "extendedProperties": {}
                  },
                  "format": {
                     "createNewHiddenPercenOfGroupField": false
                  },
                  "font": {
                     "family": "Roboto",
                     "size": 14,
                     "bold": false,
                     "italic": false,
                     "underline": false,
                     "color": "",
                     "backgroundColor": ""
                  },
                  "width": {
                     "value": null
                  },
                  "alignment": "alignLeft",
                  "sort": "ASC",
                  "color": {
                     "textColor": {
                        "rangePercent": null,
                        "rangeValue": null,
                        "value": null
                     },
                     "cellColor": {
                        "rangePercent": null,
                        "rangeValue": null,
                        "value": null
                     }
                  },
                  "alternativeText": {
                     "rangePercent": null,
                     "rangeValue": null,
                     "value": null
                  },
                  "customURL": {
                     "url": "",
                     "option": "LINK_NEW_WINDOW"
                  },
                  "embeddedJavascript": {
                     "script": ""
                  },
                  "subTotal": {
                     "label": "",
                     "function": "",
                     "expression": "",
                     "dataType": "",
                     "format": {},
                     "previewResult": ""
                  },
                  "grandTotal": {
                     "label": "",
                     "function": "",
                     "expression": "",
                     "dataType": "",
                     "format": {},
                     "previewResult": ""
                  }
               },
               "headerFormating": {
                  "font": {
                     "family": null,
                     "size": null,
                     "bold": null,
                     "italic": null,
                     "underline": null,
                     "color": null,
                     "backgroundColor": null
                  },
                  "alignment": null,
                  "wordWrap": null,
                  "columnGroup": ""
               },
               "drillDown": {
                  "subReport": {
                     "selectedReport": null,
                     "style": null,
                     "reportPartUsed": null,
                     "reportFilter": true,
                     "mappingFields": [],
                     "selectedIconValue": {
                        "icon": null,
                        "value": null
                     },
                     "viewSettingByLink": null
                  }
               },
               "otherProps": {}
            },
            "position": 1,
            "field": {
               "fieldId": "61b3c4ad-cbd4-49b0-9385-540568397e05",
               "fieldName": "Freight",
               "fieldNameAlias": "Sum (Freight)",
               "dataFieldType": "Money",
               "querySourceId": "af773c7b-878e-461b-9345-27ee6592db1a",
               "querySourceType": "Table",
               "sourceAlias": "Orders",
               "relationshipId": "00000000-0000-0000-0000-000000000000",
               "visible": true,
               "calculatedTree": null,
               "isCalculated": false,
               "hasAggregatedFunction": false
            },
            "isDeleted": false
         }
      ]
   },
   "settings": {},
   "pointOptions": {
      "elements": [
         {
            "name": "ShipCountry",
            "properties": {
               "fieldItemVisible": true,
               "dataFormattings": {
                  "function": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                  "functionInfo": {
                     "id": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                     "name": "Group",
                     "expression": null,
                     "dataType": "Text",
                     "formatDataType": "Text",
                     "syntax": null,
                     "expressionSyntax": null,
                     "isOperator": false,
                     "userDefined": false,
                     "extendedProperties": {}
                  },
                  "format": {
                     "createNewHiddenPercenOfGroupField": false
                  },
                  "font": {
                     "family": "Roboto",
                     "size": 14,
                     "bold": false,
                     "italic": false,
                     "underline": false,
                     "color": "",
                     "backgroundColor": ""
                  },
                  "width": {
                     "value": null
                  },
                  "alignment": "alignLeft",
                  "sort": "ASC",
                  "color": {
                     "textColor": {
                        "rangePercent": null,
                        "rangeValue": null,
                        "value": null
                     },
                     "cellColor": {
                        "rangePercent": null,
                        "rangeValue": null,
                        "value": null
                     }
                  },
                  "alternativeText": {
                     "rangePercent": null,
                     "rangeValue": null,
                     "value": null
                  },
                  "customURL": {
                     "url": "",
                     "option": "LINK_NEW_WINDOW"
                  },
                  "embeddedJavascript": {
                     "script": ""
                  },
                  "subTotal": {
                     "label": "",
                     "function": "",
                     "expression": "",
                     "dataType": "",
                     "format": {},
                     "previewResult": ""
                  },
                  "grandTotal": {
                     "label": "",
                     "function": "",
                     "expression": "",
                     "dataType": "",
                     "format": {},
                     "previewResult": ""
                  }
               },
               "headerFormating": {
                  "font": {
                     "family": null,
                     "size": null,
                     "bold": null,
                     "italic": null,
                     "underline": null,
                     "color": null,
                     "backgroundColor": null
                  },
                  "alignment": null,
                  "wordWrap": null,
                  "columnGroup": ""
               },
               "drillDown": {
                  "subReport": {
                     "selectedReport": null,
                     "style": null,
                     "reportPartUsed": null,
                     "reportFilter": true,
                     "mappingFields": [],
                     "selectedIconValue": {
                        "icon": null,
                        "value": null
                     },
                     "viewSettingByLink": null
                  }
               },
               "otherProps": {},
               "pointOptionType": "country"
            },
            "position": 1,
            "field": {
               "fieldId": "500f4309-beb3-4af2-892b-dcec65bf8604",
               "fieldName": "ShipCountry",
               "fieldNameAlias": "ShipCountry",
               "dataFieldType": "Text",
               "querySourceId": "af773c7b-878e-461b-9345-27ee6592db1a",
               "querySourceType": "Table",
               "sourceAlias": "Orders",
               "relationshipId": "00000000-0000-0000-0000-000000000000",
               "visible": true,
               "calculatedTree": null,
               "isCalculated": false,
               "hasAggregatedFunction": false
            },
            "isDeleted": false
         },
         {
            "name": "ShipCity",
            "properties": {
               "fieldItemVisible": true,
               "dataFormattings": {
                  "function": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                  "functionInfo": {
                     "id": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                     "name": "Group",
                     "expression": null,
                     "dataType": "Text",
                     "formatDataType": "Text",
                     "syntax": null,
                     "expressionSyntax": null,
                     "isOperator": false,
                     "userDefined": false,
                     "extendedProperties": {}
                  },
                  "format": {},
                  "font": {
                     "family": "Roboto",
                     "size": 14,
                     "bold": false,
                     "italic": false,
                     "underline": false,
                     "color": "",
                     "backgroundColor": ""
                  },
                  "width": {
                     "value": null
                  },
                  "alignment": "alignLeft",
                  "sort": "ASC",
                  "color": {
                     "textColor": {
                        "rangePercent": null,
                        "rangeValue": null,
                        "value": null
                     },
                     "cellColor": {
                        "rangePercent": null,
                        "rangeValue": null,
                        "value": null
                     }
                  },
                  "alternativeText": {
                     "rangePercent": null,
                     "rangeValue": null,
                     "value": null
                  },
                  "customURL": {
                     "url": "",
                     "option": "LINK_NEW_WINDOW"
                  },
                  "embeddedJavascript": {
                     "script": ""
                  },
                  "subTotal": {
                     "label": "",
                     "function": "",
                     "expression": "",
                     "dataType": "",
                     "format": {},
                     "previewResult": ""
                  },
                  "grandTotal": {
                     "label": "",
                     "function": "",
                     "expression": "",
                     "dataType": "",
                     "format": {},
                     "previewResult": ""
                  }
               },
               "headerFormating": {
                  "font": {
                     "family": null,
                     "size": null,
                     "bold": null,
                     "italic": null,
                     "underline": null,
                     "color": null,
                     "backgroundColor": null
                  },
                  "alignment": null,
                  "wordWrap": null,
                  "columnGroup": ""
               },
               "drillDown": {
                  "subReport": {
                     "selectedReport": null,
                     "style": null,
                     "reportPartUsed": null,
                     "reportFilter": true,
                     "mappingFields": [],
                     "selectedIconValue": {
                        "icon": null,
                        "value": null
                     },
                     "viewSettingByLink": null
                  }
               },
               "otherProps": {},
               "pointOptionType": "city"
            },
            "position": 2,
            "field": {
               "fieldId": "b0554a37-b744-4db8-b1b0-95b029d8cae2",
               "fieldName": "ShipCity",
               "fieldNameAlias": "ShipCity",
               "dataFieldType": "Text",
               "querySourceId": "af773c7b-878e-461b-9345-27ee6592db1a",
               "querySourceType": "Table",
               "sourceAlias": "Orders",
               "relationshipId": null,
               "visible": true,
               "calculatedTree": null,
               "schemaName": "dbo",
               "querySourceName": "Orders",
               "databaseName": "test",
               "isCalculated": false,
               "hasAggregatedFunction": false
            },
            "isDeleted": false
         }
      ],
      "name": "pointOptions"
   }
}

Update the properties of each field per user selection

Please see ReportPartElementProperties for the purpose of each field.

See Sample Properties for a ReportPartElement for more samples.

Update the properties of the Map in “properties” field per user selection

Please see ReportPartMapProperties for the purpose of each field.

Back to the Save step in Build a Generic Report

Sample full ReportSavingParameter object for Save report API
{
   "reportKey": {
      "key": "17905361-f72b-4e2e-8f6d-80847174f902",
      "tenantId": null
   },
   "section": 2,
   "saveAs": false,
   "ignoreCheckChange": false,
   "report": {
      "inaccessible": false,
      "category": {
         "name": null,
         "type": 0,
         "parentId": null,
         "tenantId": null,
         "canDelete": false,
         "editable": false,
         "savable": false,
         "subCategories": [],
         "checked": false,
         "reports": null,
         "dashboards": null,
         "id": null,
         "state": 0,
         "deleted": false,
         "inserted": true,
         "version": null,
         "created": null,
         "createdBy": "John Doe",
         "modified": null,
         "modifiedBy": null
      },
      "subCategory": {
         "name": null,
         "type": 0,
         "parentId": null,
         "tenantId": null,
         "canDelete": false,
         "editable": false,
         "savable": false,
         "subCategories": [],
         "checked": false,
         "reports": null,
         "dashboards": null,
         "id": null,
         "state": 0,
         "deleted": false,
         "inserted": true,
         "version": null,
         "created": null,
         "createdBy": "John Doe",
         "modified": null,
         "modifiedBy": null
      },
      "reportRelationship": [],
      "reportPart": [
         {
            "reportPartContent": {
               "type": 4,
               "title": {
                  "text": "",
                  "properties": {},
                  "settings": {
                     "font": {
                        "family": "",
                        "size": 14,
                        "bold": true,
                        "italic": false,
                        "underline": false,
                        "color": "",
                        "highlightColor": ""
                     },
                     "alignment": {
                        "alignment": ""
                     }
                  },
                  "elements": []
               },
               "description": {
                  "text": "",
                  "properties": {},
                  "settings": {
                     "font": {
                        "family": "",
                        "size": 14,
                        "bold": false,
                        "italic": false,
                        "underline": false,
                        "color": "",
                        "highlightColor": ""
                     },
                     "alignment": {
                        "alignment": ""
                     }
                  },
                  "elements": []
               },
               "properties": {
                  "reportPartState": {
                     "drilldownInfo": [],
                     "activeSerie": {},
                     "activePointOption": {
                        "label": "ShipCountry",
                        "value": "ShipCountry",
                        "field": {
                           "reportPartContent": null,
                           "isDirty": false,
                           "name": "ShipCountry",
                           "properties": {
                              "isDirty": false,
                              "fieldItemVisible": true,
                              "dataFormattings": {
                                 "function": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                                 "functionInfo": {
                                    "id": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                                    "name": "Group",
                                    "expression": null,
                                    "dataType": "Text",
                                    "formatDataType": "Text",
                                    "syntax": null,
                                    "expressionSyntax": null,
                                    "isOperator": false,
                                    "userDefined": false,
                                    "extendedProperties": {}
                                 },
                                 "format": {
                                    "createNewHiddenPercenOfGroupField": false
                                 },
                                 "font": {
                                    "family": "Roboto",
                                    "size": 14,
                                    "bold": false,
                                    "italic": false,
                                    "underline": false,
                                    "color": "",
                                    "backgroundColor": ""
                                 },
                                 "width": {
                                    "value": null
                                 },
                                 "alignment": "alignLeft",
                                 "sort": "ASC",
                                 "color": {
                                    "textColor": {
                                       "rangePercent": null,
                                       "rangeValue": null,
                                       "value": null
                                    },
                                    "cellColor": {
                                       "rangePercent": null,
                                       "rangeValue": null,
                                       "value": null
                                    }
                                 },
                                 "alternativeText": {
                                    "rangePercent": null,
                                    "rangeValue": null,
                                    "value": null
                                 },
                                 "customURL": {
                                    "url": "",
                                    "option": "LINK_NEW_WINDOW"
                                 },
                                 "embeddedJavascript": {
                                    "script": ""
                                 },
                                 "subTotal": {
                                    "label": "",
                                    "function": "",
                                    "expression": "",
                                    "dataType": "",
                                    "format": {},
                                    "previewResult": ""
                                 },
                                 "grandTotal": {
                                    "label": "",
                                    "function": "",
                                    "expression": "",
                                    "dataType": "",
                                    "format": {},
                                    "previewResult": ""
                                 }
                              },
                              "headerFormating": {
                                 "font": {
                                    "family": null,
                                    "size": null,
                                    "bold": null,
                                    "italic": null,
                                    "underline": null,
                                    "color": null,
                                    "backgroundColor": null
                                 },
                                 "alignment": null,
                                 "wordWrap": null,
                                 "columnGroup": ""
                              },
                              "drillDown": {
                                 "subReport": {
                                    "selectedReport": null,
                                    "style": null,
                                    "reportPartUsed": null,
                                    "reportFilter": true,
                                    "mappingFields": [],
                                    "selectedIconValue": {
                                       "icon": null,
                                       "value": null
                                    },
                                    "viewSettingByLink": null
                                 }
                              },
                              "otherProps": {}
                           },
                           "position": 1,
                           "field": {
                              "fieldId": "500f4309-beb3-4af2-892b-dcec65bf8604",
                              "fieldName": "ShipCountry",
                              "fieldNameAlias": "ShipCountry",
                              "dataFieldType": "Text",
                              "querySourceId": "af773c7b-878e-461b-9345-27ee6592db1a",
                              "querySourceType": "Table",
                              "sourceAlias": "Orders",
                              "relationshipId": "00000000-0000-0000-0000-000000000000",
                              "visible": true,
                              "calculatedTree": null,
                              "isCalculated": false,
                              "hasAggregatedFunction": false
                           },
                           "isDeleted": false
                        },
                        "pointType": "country",
                        "pointTypeName": "country"
                     },
                     "pointOptionsList": [
                        {
                           "label": "ShipCountry",
                           "value": "ShipCountry",
                           "field": {
                              "reportPartContent": null,
                              "isDirty": false,
                              "name": "ShipCountry",
                              "properties": {
                                 "isDirty": false,
                                 "fieldItemVisible": true,
                                 "dataFormattings": {
                                    "function": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                                    "functionInfo": {
                                       "id": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                                       "name": "Group",
                                       "expression": null,
                                       "dataType": "Text",
                                       "formatDataType": "Text",
                                       "syntax": null,
                                       "expressionSyntax": null,
                                       "isOperator": false,
                                       "userDefined": false,
                                       "extendedProperties": {}
                                    },
                                    "format": {
                                       "createNewHiddenPercenOfGroupField": false
                                    },
                                    "font": {
                                       "family": "Roboto",
                                       "size": 14,
                                       "bold": false,
                                       "italic": false,
                                       "underline": false,
                                       "color": "",
                                       "backgroundColor": ""
                                    },
                                    "width": {
                                       "value": null
                                    },
                                    "alignment": "alignLeft",
                                    "sort": "ASC",
                                    "color": {
                                       "textColor": {
                                          "rangePercent": null,
                                          "rangeValue": null,
                                          "value": null
                                       },
                                       "cellColor": {
                                          "rangePercent": null,
                                          "rangeValue": null,
                                          "value": null
                                       }
                                    },
                                    "alternativeText": {
                                       "rangePercent": null,
                                       "rangeValue": null,
                                       "value": null
                                    },
                                    "customURL": {
                                       "url": "",
                                       "option": "LINK_NEW_WINDOW"
                                    },
                                    "embeddedJavascript": {
                                       "script": ""
                                    },
                                    "subTotal": {
                                       "label": "",
                                       "function": "",
                                       "expression": "",
                                       "dataType": "",
                                       "format": {},
                                       "previewResult": ""
                                    },
                                    "grandTotal": {
                                       "label": "",
                                       "function": "",
                                       "expression": "",
                                       "dataType": "",
                                       "format": {},
                                       "previewResult": ""
                                    }
                                 },
                                 "headerFormating": {
                                    "font": {
                                       "family": null,
                                       "size": null,
                                       "bold": null,
                                       "italic": null,
                                       "underline": null,
                                       "color": null,
                                       "backgroundColor": null
                                    },
                                    "alignment": null,
                                    "wordWrap": null,
                                    "columnGroup": ""
                                 },
                                 "drillDown": {
                                    "subReport": {
                                       "selectedReport": null,
                                       "style": null,
                                       "reportPartUsed": null,
                                       "reportFilter": true,
                                       "mappingFields": [],
                                       "selectedIconValue": {
                                          "icon": null,
                                          "value": null
                                       },
                                       "viewSettingByLink": null
                                    }
                                 },
                                 "otherProps": {}
                              },
                              "position": 1,
                              "field": {
                                 "fieldId": "500f4309-beb3-4af2-892b-dcec65bf8604",
                                 "fieldName": "ShipCountry",
                                 "fieldNameAlias": "ShipCountry",
                                 "dataFieldType": "Text",
                                 "querySourceId": "af773c7b-878e-461b-9345-27ee6592db1a",
                                 "querySourceType": "Table",
                                 "sourceAlias": "Orders",
                                 "relationshipId": "00000000-0000-0000-0000-000000000000",
                                 "visible": true,
                                 "calculatedTree": null,
                                 "isCalculated": false,
                                 "hasAggregatedFunction": false
                              },
                              "isDeleted": false
                           },
                           "pointType": "country",
                           "pointTypeName": "country"
                        },
                        {
                           "label": "ShipCity",
                           "value": "ShipCity",
                           "field": {
                              "reportPartContent": null,
                              "isDirty": false,
                              "name": "ShipCity",
                              "properties": {
                                 "isDirty": false,
                                 "fieldItemVisible": true,
                                 "dataFormattings": {
                                    "function": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                                    "functionInfo": {
                                       "id": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                                       "name": "Group",
                                       "expression": null,
                                       "dataType": "Text",
                                       "formatDataType": "Text",
                                       "syntax": null,
                                       "expressionSyntax": null,
                                       "isOperator": false,
                                       "userDefined": false,
                                       "extendedProperties": {}
                                    },
                                    "format": {},
                                    "font": {
                                       "family": "Roboto",
                                       "size": 14,
                                       "bold": false,
                                       "italic": false,
                                       "underline": false,
                                       "color": "",
                                       "backgroundColor": ""
                                    },
                                    "width": {
                                       "value": null
                                    },
                                    "alignment": "alignLeft",
                                    "sort": "ASC",
                                    "color": {
                                       "textColor": {
                                          "rangePercent": null,
                                          "rangeValue": null,
                                          "value": null
                                       },
                                       "cellColor": {
                                          "rangePercent": null,
                                          "rangeValue": null,
                                          "value": null
                                       }
                                    },
                                    "alternativeText": {
                                       "rangePercent": null,
                                       "rangeValue": null,
                                       "value": null
                                    },
                                    "customURL": {
                                       "url": "",
                                       "option": "LINK_NEW_WINDOW"
                                    },
                                    "embeddedJavascript": {
                                       "script": ""
                                    },
                                    "subTotal": {
                                       "label": "",
                                       "function": "",
                                       "expression": "",
                                       "dataType": "",
                                       "format": {},
                                       "previewResult": ""
                                    },
                                    "grandTotal": {
                                       "label": "",
                                       "function": "",
                                       "expression": "",
                                       "dataType": "",
                                       "format": {},
                                       "previewResult": ""
                                    }
                                 },
                                 "headerFormating": {
                                    "font": {
                                       "family": null,
                                       "size": null,
                                       "bold": null,
                                       "italic": null,
                                       "underline": null,
                                       "color": null,
                                       "backgroundColor": null
                                    },
                                    "alignment": null,
                                    "wordWrap": null,
                                    "columnGroup": ""
                                 },
                                 "drillDown": {
                                    "subReport": {
                                       "selectedReport": null,
                                       "style": null,
                                       "reportPartUsed": null,
                                       "reportFilter": true,
                                       "mappingFields": [],
                                       "selectedIconValue": {
                                          "icon": null,
                                          "value": null
                                       },
                                       "viewSettingByLink": null
                                    }
                                 },
                                 "otherProps": {}
                              },
                              "position": 1,
                              "field": {
                                 "fieldId": "b0554a37-b744-4db8-b1b0-95b029d8cae2",
                                 "fieldName": "ShipCity",
                                 "fieldNameAlias": "ShipCity",
                                 "dataFieldType": "Text",
                                 "querySourceId": "af773c7b-878e-461b-9345-27ee6592db1a",
                                 "querySourceType": "Table",
                                 "sourceAlias": "Orders",
                                 "relationshipId": null,
                                 "visible": true,
                                 "calculatedTree": null,
                                 "schemaName": "dbo",
                                 "querySourceName": "Orders",
                                 "databaseName": "test",
                                 "isCalculated": false,
                                 "hasAggregatedFunction": false
                              },
                              "isDeleted": false
                           },
                           "pointType": "city",
                           "pointTypeName": "city"
                        }
                     ],
                  },
                  "chartType": "World",
                  "continentInfo": {},
                  "countryInfo": {},
                  "stateInfo": {},
                  "commonOptions": {
                     "izHoverLabels": true,
                     "izLegend.visibility": false,
                     "izLegend.horizontalAlign": "izRight",
                     "izLegend.verticalAlign": "izBottom",
                     "izLegend.borderWidth": 0,
                     "izChartStyle": {},
                     "izendaHiddenAllAxis": false
                  },
                  "optionByType": {
                     "izValueLabel": false,
                     "izShowTooltip": true,
                     "izMapLabel": false,
                     "izMapNavigation.enabled": false,
                     "legendSettings": true
                  },
                  "view": {
                     "showLabels": false,
                     "dataRefreshInterval": {
                        "enable": false,
                        "updateInterval": 0,
                        "isAll": true,
                        "latestRecord": 0
                     }
                  }
               },
               "shadingMetric": {
                  "text": null,
                  "properties": {},
                  "settings": {},
                  "name": "shadingMetric",
                  "elements": []
               },
               "bubbleMetrics": {
                  "text": null,
                  "properties": {},
                  "settings": {},
                  "name": "bubbleMetrics",
                  "elements": [
                     {
                        "name": "Sum (Freight)",
                        "properties": {
                           "fieldItemVisible": true,
                           "dataFormattings": {
                              "function": "902a9168-fc01-4a35-92fb-ea67942d099d",
                              "functionInfo": {
                                 "id": "902a9168-fc01-4a35-92fb-ea67942d099d",
                                 "name": "Sum",
                                 "expression": null,
                                 "dataType": "Money",
                                 "formatDataType": "Money",
                                 "syntax": null,
                                 "expressionSyntax": null,
                                 "isOperator": false,
                                 "userDefined": false,
                                 "extendedProperties": {}
                              },
                              "format": {
                                 "createNewHiddenPercenOfGroupField": false
                              },
                              "font": {
                                 "family": "Roboto",
                                 "size": 14,
                                 "bold": false,
                                 "italic": false,
                                 "underline": false,
                                 "color": "",
                                 "backgroundColor": ""
                              },
                              "width": {
                                 "value": null
                              },
                              "alignment": "alignLeft",
                              "sort": "ASC",
                              "color": {
                                 "textColor": {
                                    "rangePercent": null,
                                    "rangeValue": null,
                                    "value": null
                                 },
                                 "cellColor": {
                                    "rangePercent": null,
                                    "rangeValue": null,
                                    "value": null
                                 }
                              },
                              "alternativeText": {
                                 "rangePercent": null,
                                 "rangeValue": null,
                                 "value": null
                              },
                              "customURL": {
                                 "url": "",
                                 "option": "LINK_NEW_WINDOW"
                              },
                              "embeddedJavascript": {
                                 "script": ""
                              },
                              "subTotal": {
                                 "label": "",
                                 "function": "",
                                 "expression": "",
                                 "dataType": "",
                                 "format": {},
                                 "previewResult": ""
                              },
                              "grandTotal": {
                                 "label": "",
                                 "function": "",
                                 "expression": "",
                                 "dataType": "",
                                 "format": {},
                                 "previewResult": ""
                              }
                           },
                           "headerFormating": {
                              "font": {
                                 "family": null,
                                 "size": null,
                                 "bold": null,
                                 "italic": null,
                                 "underline": null,
                                 "color": null,
                                 "backgroundColor": null
                              },
                              "alignment": null,
                              "wordWrap": null,
                              "columnGroup": ""
                           },
                           "drillDown": {
                              "subReport": {
                                 "selectedReport": null,
                                 "style": null,
                                 "reportPartUsed": null,
                                 "reportFilter": true,
                                 "mappingFields": [],
                                 "selectedIconValue": {
                                    "icon": null,
                                    "value": null
                                 },
                                 "viewSettingByLink": null
                              }
                           },
                           "otherProps": {}
                        },
                        "position": 1,
                        "field": {
                           "fieldId": "61b3c4ad-cbd4-49b0-9385-540568397e05",
                           "fieldName": "Freight",
                           "fieldNameAlias": "Sum (Freight)",
                           "dataFieldType": "Money",
                           "querySourceId": "af773c7b-878e-461b-9345-27ee6592db1a",
                           "querySourceType": "Table",
                           "sourceAlias": "Orders",
                           "relationshipId": "00000000-0000-0000-0000-000000000000",
                           "visible": true,
                           "calculatedTree": null,
                           "isCalculated": false,
                           "hasAggregatedFunction": false
                        },
                        "isDeleted": false
                     }
                  ]
               },
               "settings": {},
               "pointOptions": {
                  "elements": [
                     {
                        "name": "ShipCountry",
                        "properties": {
                           "fieldItemVisible": true,
                           "dataFormattings": {
                              "function": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                              "functionInfo": {
                                 "id": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                                 "name": "Group",
                                 "expression": null,
                                 "dataType": "Text",
                                 "formatDataType": "Text",
                                 "syntax": null,
                                 "expressionSyntax": null,
                                 "isOperator": false,
                                 "userDefined": false,
                                 "extendedProperties": {}
                              },
                              "format": {
                                 "createNewHiddenPercenOfGroupField": false
                              },
                              "font": {
                                 "family": "Roboto",
                                 "size": 14,
                                 "bold": false,
                                 "italic": false,
                                 "underline": false,
                                 "color": "",
                                 "backgroundColor": ""
                              },
                              "width": {
                                 "value": null
                              },
                              "alignment": "alignLeft",
                              "sort": "ASC",
                              "color": {
                                 "textColor": {
                                    "rangePercent": null,
                                    "rangeValue": null,
                                    "value": null
                                 },
                                 "cellColor": {
                                    "rangePercent": null,
                                    "rangeValue": null,
                                    "value": null
                                 }
                              },
                              "alternativeText": {
                                 "rangePercent": null,
                                 "rangeValue": null,
                                 "value": null
                              },
                              "customURL": {
                                 "url": "",
                                 "option": "LINK_NEW_WINDOW"
                              },
                              "embeddedJavascript": {
                                 "script": ""
                              },
                              "subTotal": {
                                 "label": "",
                                 "function": "",
                                 "expression": "",
                                 "dataType": "",
                                 "format": {},
                                 "previewResult": ""
                              },
                              "grandTotal": {
                                 "label": "",
                                 "function": "",
                                 "expression": "",
                                 "dataType": "",
                                 "format": {},
                                 "previewResult": ""
                              }
                           },
                           "headerFormating": {
                              "font": {
                                 "family": null,
                                 "size": null,
                                 "bold": null,
                                 "italic": null,
                                 "underline": null,
                                 "color": null,
                                 "backgroundColor": null
                              },
                              "alignment": null,
                              "wordWrap": null,
                              "columnGroup": ""
                           },
                           "drillDown": {
                              "subReport": {
                                 "selectedReport": null,
                                 "style": null,
                                 "reportPartUsed": null,
                                 "reportFilter": true,
                                 "mappingFields": [],
                                 "selectedIconValue": {
                                    "icon": null,
                                    "value": null
                                 },
                                 "viewSettingByLink": null
                              }
                           },
                           "otherProps": {},
                           "pointOptionType": "country"
                        },
                        "position": 1,
                        "field": {
                           "fieldId": "500f4309-beb3-4af2-892b-dcec65bf8604",
                           "fieldName": "ShipCountry",
                           "fieldNameAlias": "ShipCountry",
                           "dataFieldType": "Text",
                           "querySourceId": "af773c7b-878e-461b-9345-27ee6592db1a",
                           "querySourceType": "Table",
                           "sourceAlias": "Orders",
                           "relationshipId": "00000000-0000-0000-0000-000000000000",
                           "visible": true,
                           "calculatedTree": null,
                           "isCalculated": false,
                           "hasAggregatedFunction": false
                        },
                        "isDeleted": false
                     },
                     {
                        "name": "ShipCity",
                        "properties": {
                           "fieldItemVisible": true,
                           "dataFormattings": {
                              "function": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                              "functionInfo": {
                                 "id": "7f942ac7-08d8-41fa-9e89-bad96f07f102",
                                 "name": "Group",
                                 "expression": null,
                                 "dataType": "Text",
                                 "formatDataType": "Text",
                                 "syntax": null,
                                 "expressionSyntax": null,
                                 "isOperator": false,
                                 "userDefined": false,
                                 "extendedProperties": {}
                              },
                              "format": {},
                              "font": {
                                 "family": "Roboto",
                                 "size": 14,
                                 "bold": false,
                                 "italic": false,
                                 "underline": false,
                                 "color": "",
                                 "backgroundColor": ""
                              },
                              "width": {
                                 "value": null
                              },
                              "alignment": "alignLeft",
                              "sort": "ASC",
                              "color": {
                                 "textColor": {
                                    "rangePercent": null,
                                    "rangeValue": null,
                                    "value": null
                                 },
                                 "cellColor": {
                                    "rangePercent": null,
                                    "rangeValue": null,
                                    "value": null
                                 }
                              },
                              "alternativeText": {
                                 "rangePercent": null,
                                 "rangeValue": null,
                                 "value": null
                              },
                              "customURL": {
                                 "url": "",
                                 "option": "LINK_NEW_WINDOW"
                              },
                              "embeddedJavascript": {
                                 "script": ""
                              },
                              "subTotal": {
                                 "label": "",
                                 "function": "",
                                 "expression": "",
                                 "dataType": "",
                                 "format": {},
                                 "previewResult": ""
                              },
                              "grandTotal": {
                                 "label": "",
                                 "function": "",
                                 "expression": "",
                                 "dataType": "",
                                 "format": {},
                                 "previewResult": ""
                              }
                           },
                           "headerFormating": {
                              "font": {
                                 "family": null,
                                 "size": null,
                                 "bold": null,
                                 "italic": null,
                                 "underline": null,
                                 "color": null,
                                 "backgroundColor": null
                              },
                              "alignment": null,
                              "wordWrap": null,
                              "columnGroup": ""
                           },
                           "drillDown": {
                              "subReport": {
                                 "selectedReport": null,
                                 "style": null,
                                 "reportPartUsed": null,
                                 "reportFilter": true,
                                 "mappingFields": [],
                                 "selectedIconValue": {
                                    "icon": null,
                                    "value": null
                                 },
                                 "viewSettingByLink": null
                              }
                           },
                           "otherProps": {},
                           "pointOptionType": "city"
                        },
                        "position": 2,
                        "field": {
                           "fieldId": "b0554a37-b744-4db8-b1b0-95b029d8cae2",
                           "fieldName": "ShipCity",
                           "fieldNameAlias": "ShipCity",
                           "dataFieldType": "Text",
                           "querySourceId": "af773c7b-878e-461b-9345-27ee6592db1a",
                           "querySourceType": "Table",
                           "sourceAlias": "Orders",
                           "relationshipId": null,
                           "visible": true,
                           "calculatedTree": null,
                           "schemaName": "dbo",
                           "querySourceName": "Orders",
                           "databaseName": "test",
                           "isCalculated": false,
                           "hasAggregatedFunction": false
                        },
                        "isDeleted": false
                     }
                  ],
                  "name": "pointOptions"
               }
            },
            "width": 12,
            "height": 4,
            "positionY": 0,
            "positionX": 0,
            "title": "Map"
         }
      ],
      "reportFilter": {
         "filterFields": [],
         "logic": "",
         "visible": true,
         "reportId": "17905361-f72b-4e2e-8f6d-80847174f902",
         "id": "7809bcc1-329e-40c0-ba30-632aae85f107",
         "state": 0,
         "deleted": false,
         "inserted": true,
         "version": null,
         "created": null,
         "createdBy": "John Doe",
         "modified": null,
         "modifiedBy": null
      },
      "calculatedFields": [],
      "accesses": [],
      "schedules": [],
      "dynamicQuerySourceFields": [],
      "name": "Example Map 8",
      "reportDataSource": [
         {
            "reportId": "17905361-f72b-4e2e-8f6d-80847174f902",
            "querySourceId": "af773c7b-878e-461b-9345-27ee6592db1a",
            "querySourceCategoryId": null,
            "connectionId": null,
            "selected": true,
            "id": "31af528f-219d-453e-ba6d-59d708d345d8",
            "state": 1,
            "deleted": false,
            "inserted": false,
            "version": null,
            "created": null,
            "createdBy": "John Doe",
            "modified": null,
            "modifiedBy": null
         }
      ],
      "type": 0,
      "previewRecord": 10,
      "advancedMode": true,
      "allowNulls": false,
      "isDistinct": false,
      "categoryId": null,
      "categoryName": null,
      "subCategoryId": null,
      "subCategoryName": null,
      "tenantId": null,
      "tenantName": null,
      "description": "",
      "title": "",
      "lastViewed": null,
      "owner": "John Doe",
      "ownerId": "9fc0f5c2-decf-4d65-9344-c59a1704ea0c",
      "excludedRelationships": null,
      "numberOfView": 0,
      "renderingTime": 0,
      "createdById": "9fc0f5c2-decf-4d65-9344-c59a1704ea0c",
      "modifiedById": "9fc0f5c2-decf-4d65-9344-c59a1704ea0c",
      "snapToGrid": false,
      "usingFields": null,
      "hasDeletedObjects": false,
      "header": {
         "visible": false,
         "items": [
            {
               "isDirty": false,
               "type": "image",
               "label": "Image",
               "id": "formatDetails_57",
               "positionX": 0,
               "positionY": 0,
               "width": 6,
               "height": 6,
               "name": "Logo Image",
               "value": "",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "imageUrl": "http://",
               "dashStyle": "solid",
               "thickness": 1
            },
            {
               "isDirty": false,
               "type": "text",
               "label": "Text",
               "id": "formatDetails_58",
               "positionX": 20,
               "positionY": 0,
               "width": 12,
               "height": 2,
               "name": "Report Name",
               "value": "{reportName}",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 1
            },
            {
               "isDirty": false,
               "type": "thinHorizontalRule",
               "label": "Horizontal Rule",
               "id": "formatDetails_59",
               "positionX": 20,
               "positionY": 4,
               "width": 12,
               "height": 1,
               "name": "Upper Separator Line",
               "value": "{horizontalRule}",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 2
            },
            {
               "isDirty": false,
               "type": "text",
               "label": "Text",
               "id": "formatDetails_60",
               "positionX": 20,
               "positionY": 5,
               "width": 6,
               "height": 2,
               "name": "Report Generated",
               "value": "Report Generated:",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 1
            },
            {
               "isDirty": false,
               "type": "text",
               "label": "Text",
               "id": "formatDetails_61",
               "positionX": 20,
               "positionY": 7,
               "width": 6,
               "height": 2,
               "name": "User",
               "value": "User:",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 1
            },
            {
               "isDirty": false,
               "type": "text",
               "label": "Text",
               "id": "formatDetails_62",
               "positionX": 20,
               "positionY": 9,
               "width": 6,
               "height": 2,
               "name": "Tenant",
               "value": "Tenant:",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 1
            },
            {
               "isDirty": false,
               "type": "dateTime",
               "label": "Date Time",
               "id": "formatDetails_63",
               "positionX": 26,
               "positionY": 5,
               "width": 6,
               "height": 2,
               "name": "Current Date Time",
               "value": "{currentDateTime}",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 1
            },
            {
               "isDirty": false,
               "type": "text",
               "label": "Text",
               "id": "formatDetails_64",
               "positionX": 26,
               "positionY": 7,
               "width": 6,
               "height": 2,
               "name": "Current User Name",
               "value": "{currentUserName}",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 1
            },
            {
               "isDirty": false,
               "type": "text",
               "label": "Text",
               "id": "formatDetails_65",
               "positionX": 26,
               "positionY": 9,
               "width": 6,
               "height": 2,
               "name": "Tenant Name",
               "value": "{tenantName}",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 1
            },
            {
               "isDirty": false,
               "type": "horizontalRule",
               "label": "Horizontal Rule",
               "id": "formatDetails_66",
               "positionX": 0,
               "positionY": 11,
               "width": 32,
               "height": 1,
               "name": "Lower Separator Line",
               "value": "{horizontalRule}",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 4
            }
         ]
      },
      "footer": {
         "visible": false,
         "items": [
            {
               "isDirty": false,
               "type": "horizontalRule",
               "label": "Horizontal Rule",
               "id": "formatDetails_67",
               "positionX": 0,
               "positionY": 0,
               "width": 32,
               "height": 1,
               "name": "Separator Line",
               "value": "{horizontalRule}",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 4
            },
            {
               "isDirty": false,
               "type": "text",
               "label": "Text",
               "id": "formatDetails_68",
               "positionX": 0,
               "positionY": 1,
               "width": 10,
               "height": 2,
               "name": "Footer Text",
               "value": "Footer Text",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 1
            },
            {
               "isDirty": false,
               "type": "text",
               "label": "Text",
               "id": "formatDetails_69",
               "positionX": 20,
               "positionY": 1,
               "width": 4,
               "height": 2,
               "name": "Page",
               "value": "Page",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 1
            },
            {
               "isDirty": false,
               "type": "pageNumber",
               "label": "Page Number",
               "id": "formatDetails_70",
               "positionX": 24,
               "positionY": 1,
               "width": 8,
               "height": 2,
               "name": "Page Number",
               "value": "{pageNumber}",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 1
            }
         ]
      },
      "titleDescription": {
         "visible": false,
         "items": [
            {
               "isDirty": false,
               "type": "title",
               "label": "Title",
               "id": "formatDetails_71",
               "name": "Title",
               "value": "",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 1
            },
            {
               "isDirty": false,
               "type": "description",
               "label": "Description",
               "id": "formatDetails_72",
               "name": "Description",
               "value": "",
               "font": {
                  "family": "Roboto",
                  "size": 14,
                  "bold": false,
                  "italic": false,
                  "underline": false,
                  "color": "#000",
                  "backgroundColor": "#fff"
               },
               "color": "#000",
               "dashStyle": "solid",
               "thickness": 1
            }
         ]
      },
      "sourceId": null,
      "checked": false,
      "copyDashboard": false,
      "exportFormatSetting": {
         "orientation": 0,
         "margins": 0,
         "centerOnPage": {
            "horizontally": false,
            "vertically": false
         },
         "pageBreakAfterReportPart": false,
         "marginSettings": [
            {
               "type": 3,
               "topValue": 0.75,
               "bottomValue": 0.75,
               "leftValue": 0.7,
               "rightValue": 0.7,
               "headerValue": 0.3,
               "footerValue": 0.3
            },
            {
               "type": 0,
               "topValue": 0.75,
               "bottomValue": 0.75,
               "leftValue": 0.7,
               "rightValue": 0.7,
               "headerValue": 0.3,
               "footerValue": 0.3
            },
            {
               "type": 1,
               "topValue": 0.75,
               "bottomValue": 0.75,
               "leftValue": 0.25,
               "rightValue": 0.25,
               "headerValue": 0.3,
               "footerValue": 0.3
            },
            {
               "type": 2,
               "topValue": 1,
               "bottomValue": 1,
               "leftValue": 1,
               "rightValue": 1,
               "headerValue": 0.5,
               "footerValue": 0.5
            }
         ]
      },
      "deletable": false,
      "editable": false,
      "movable": false,
      "copyable": false,
      "accessPriority": 0,
      "active": false,
      "id": "17905361-f72b-4e2e-8f6d-80847174f902",
      "state": 1,
      "deleted": false,
      "inserted": false,
      "version": 0,
      "created": null,
      "createdBy": "John Doe",
      "modified": null,
      "modifiedBy": "John Doe"
   }
}