summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/app/fusion/scripts/DS2-view-models/ds2-reports/report-chart-wizard.html
blob: 8558729ecef1f9afe715273d75114fcabeb46f77 (plain)
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
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
<style>
table tbody td {
    border: none;
}

table tbody tr {
    border: none;
}

table{
    border: none;
    margin-bottom:0px;
}

#RangeTable{
	margin-top: 5px;
	border: 1px solid black;
}
</style>

<div id="page-content">
<h1 class="heading-page">Report Chart Configuration</h1>

<div ng-show="showLoader" class="span loader-container">
	<i class="icon-primary-spinner" role="img"
		aria-label="Please wait while we load your content"></i>
</div>


<div ng-hide="showLoader">
<div>
<table>
	<thead>
	    <tr>
	        <th width="30%">Chart Type</th>
	        <th></th>
	    </tr>
	</thead>
	
    <tbody>
        <tr>
            <td>
				<select name="chartType" b2b-dropdown ng-model="reportRunJson.chartType">
					<option b2b-dropdown-list option-repeat="d in chartTypeOptions" value="{{d.value}}">{{d.text}}</option>
	            </select>
            </td>
            <td></td>
        </tr>
    </tbody>
</table>

<table>	
	<thead>
	    <tr>
	        <th width="50px">Width (px)</th>
	        <th>Height (px)</th>
	    </tr>
	</thead>
    <tbody>
        <tr>
            <td>
            <input type="text" name="displayName" ng-model="reportRunJson.width" style="width:100px;">
            </td>
            <td>
            <input type="text" name="displayName" ng-model="reportRunJson.height" style="width:100px;">
            </td>
        </tr>
    </tbody>
</table>

<table>	
	<thead>
	    <tr>
	        <th width="50px">Title</th>
	    </tr>
	</thead>
    <tbody>
        <tr>
    		<fieldset role="radiogroup" radio-group-accessibility>
            <td>
            <label for="optionsRadiosShowTitleTrue" class="radio">
                <input type="radio" ng-model="reportRunJson.showTitle" id="optionsRadiosShowTitleTrue" name="optionsRadiosShowTitleTrue" value="true">
                <i class="skin"></i>
                <span>Show</span>
            </label>            
            </td>
            <td>
            <label for="optionsRadiosShowTitleFalse" class="radio">
                <input type="radio" ng-model="reportRunJson.showTitle" id="optionsRadiosShowTitleFalse" name="optionsRadiosShowTitleFalse" value="false">
                <i class="skin"></i>
                <span>Hide</span>
            </label>            
            </td>
            </fieldset>
        </tr>
        
    </tbody>
</table>

<table>	
	<thead>
	    <tr>
	        <th width="30%">Domain Axis</th>
	        <th  width="30%">Category</th>
	        <th  width="40%"></th>
	    </tr>
	</thead>
    <tbody>
        <tr>
            <td>
				<select name="chartType" b2b-dropdown ng-model="reportRunJson.domainAxis">
					<option b2b-dropdown-list option-repeat="d in reportRunJson.chartColumnJSONList" value="{{d.value}}">{{d.title}}</option>
	            </select>
            </td>
            <td>
				<select name="chartType" b2b-dropdown ng-model="reportRunJson.categoryAxis">
					<option b2b-dropdown-list option-repeat="d in reportRunJson.chartColumnJSONList" value="{{d.value}}">{{d.title}}</option>
	            </select>
            </td>
        </tr>
    </tbody>
</table>


	<div id="RangeTable">

<table ng-repeat="rangeReport in reportRunJson.rangeAxisList">
	<thead>
	    <tr>
	        <th width="18%">Range Axis</th>
	        <th  width="15%">Y Axis</th>
	        <th  width="15%">Chart Title</th>
	        <th  width="22%">Color</th>
	        <th  width="25%">Line Type</th>
	        <th></th>	        
	    </tr>
	</thead>
    <tbody>
        <tr>
            <td>
				<select name="chartType" b2b-dropdown ng-model="rangeReport.rangeAxisLabelJSON.value" placeholder-text="Select" ng-disabled="rangeReport.removed=='true'">
					<option b2b-dropdown-list option-repeat="d in reportRunJson.chartColumnJSONList" value="{{d.value}}">{{d.title}}</option>
				</select>
            </td>
            <td>
            	<input type="text" name="displayName" ng-model="rangeReport.rangeYAxis" ng-disabled="rangeReport.removed=='true'" style="width:100px;">
            </td>
            <td>
            	<input type="text" name="displayName" ng-model="rangeReport.rangeChartGroup" ng-disabled="rangeReport.removed=='true'" style="width:150px;">
            </td>
            <td>
				<select name="chartType" b2b-dropdown ng-model="rangeReport.rangeColor" ng-disabled="rangeReport.removed=='true'">
					<option b2b-dropdown-list option-repeat="d in rangeColors" value="{{d.value}}">{{d.title}}</option>
				</select>
            </td>
            <td>
				<select name="lineType" b2b-dropdown ng-model="rangeReport.rangeLineType" ng-disabled="rangeReport.removed=='true'">
					<option b2b-dropdown-list option-repeat="d in lineTypes"  value="{{d.value}}">{{d.title}}</option>
				</select>
            </td>
            <td>
            	<button ng-show="$index==0" type="submit" style="width: 90px; height:35px;margin-left:5px;" class="btn btn-secondary btn-small" ng-click="addRangeAxisRow()">Add</button>
            	<span ng-hide="$index==0">
            		<button ng-if="rangeReport.removed!='true'" type="submit" style="width: 90px; height:35px;margin-left:5px;" class="btn btn-secondary btn-small" ng-click="removeRangeAxisRow($index)">Remove</button>
            		<button ng-if="rangeReport.removed=='true'" type="submit" style="width: 90px; height:35px;margin-left:5px;" class="btn btn-secondary btn-small" disabled="disabled">Removed</button>
            	</span>
            </td>
        </tr>
      
    </tbody>
</table>
</div>

</div>
             
<div ng-show=false style="min-height:500px" data-ng-init="init()">
	<div class="fn-ebz-container" >
		<label class="fn-ebz-text-label">Chart Type</label><BR>
		<div class="form-field" att-select="chartTypes" ng-model="reportRunJson.chartTypeJSON" placeholder="Select an Option" show-input-filter="true" ng-change="actionClicked()"></div>
	</div>
	
	
	<div class="fn-ebz-container" style="position:relative; top: -8px;">
		<label class="fn-ebz-text-label">Animate</label><BR>
			<div><input type="checkbox" ng-model="reportRunJson.animation" att-checkbox data-ng-value="true"></div>
	</div>
	<BR>
	
	<div class="fn-ebz-container" >
		<label class="fn-ebz-text-label">Width (Px)</label><BR>
		<input type="text"  name="chartWidth"  maxlength=4  only-digits ng-model="reportRunJson.width" style="width:80px"/>
	</div> 
	
	<div class="fn-ebz-container" >
		<label class="fn-ebz-text-label">Height (Px)</label><BR>
		<input type="text" name="chartHeight" maxlength=4  only-digits ng-model="reportRunJson.height" style="width:80px"/>
	</div>
	<BR>
	
	<div class="fn-ebz-container">
		<label class="fn-ebz-text-label">Title</label><BR>
		<span><input  name="tle" type="radio" ng-model="reportRunJson.showTitle"  data-ng-value="true"/>Show</span>
		<span><input name="tle" type="radio" ng-model="reportRunJson.showTitle" data-ng-value="false"/>Hide</span>
	</div>
	<BR>
	

	<div class="fn-ebz-container" >
		<label class="fn-ebz-text-label">Domain Axis</label><BR>
		<div class="form-field" att-select="reportRunJson.chartColumnJSONList" ng-model="reportRunJson.domainAxisJSON" placeholder="Select an Option" show-input-filter="true"></div>
	</div>  
	
	<div class="fn-ebz-container" >
		<label class="fn-ebz-text-label">Category</label><BR>
		<div class="form-field" att-select="reportRunJson.chartColumnJSONList" ng-model="reportRunJson.categoryAxis" placeholder="" show-input-filter="true"></div>
	</div>
	<BR>

<div style="border:2px;border-style:solid;border-color:#808080;margin-bottom:9px">	
<div ng-repeat="rangeReport in reportRunJson.rangeAxisList">	
	<div style="margin-left:5px">
	<div class="fn-ebz-container">
		<label class="fn-ebz-text-label">Range Axis</label><BR>
		<div class="form-field" att-select="reportRunJson.chartColumnJSONList" 
			ng-model="rangeReport.rangeAxisLabelJSON" placeholder="Select an Option" show-input-filter="true"></div>
	</div>
	
	
	<div class="fn-ebz-container" >
		<label class="fn-ebz-text-label">Y Axis</label><BR>
		<input id="yaxs" type="text" name="yAxis" maxlength=50 ng-model=rangeReport.rangeYAxis style="width:100px"/>
	</div>
	
	<div class="fn-ebz-container" >
		<label class="fn-ebz-text-label">Chart Title</label><BR>
		<input type="text" name="chartTitle"  maxlength=50 ng-model="rangeReport.rangeChartGroup" style="width:200px"/>
	</div>
	
	<div class="fn-ebz-container" >
		<label class="fn-ebz-text-label">Color</label><BR>
		<div class="form-field" att-select="rangeColors" ng-model="rangeReport.rangeColorJSON" placeholder="Select an Option" show-input-filter="true"></div>
	</div>
	
	<div class="fn-ebz-container" >
		<label class="fn-ebz-text-label">Line Type</label><BR>
		<div class="form-field" att-select="lineTypes" ng-model="rangeReport.rangeLineTypeJSON" placeholder="Select an Option" show-input-filter="true"></div>
	</div>
	
	<div class="fn-ebz-container" ng-show="reportRunJson.chartTypeJSON.value=='FlexTimeChart' || 
			reportRunJson.chartTypeJSON.value=='AnnotationChart'" style="position:relative; top: -8px;">
		<label class="fn-ebz-text-label">Area</label><BR>
		<input type="checkbox" ng-model="rangeReport.showAsArea" att-checkbox data-ng-value="true">
	</div>
	
	<div class="fn-ebz-container" style="position:relative; top: 25px;">
	<a href="javascript:void(0)" ng-show="{{$index==0}}" style="float: right;" att-button btn-type="secondary" size="small" att-accessibility-click="13,32" 
			ng-click="addRangeAxisRow(rangeReport);" >Add</a>
	<a href="javascript:void(0)" ng-show="{{$index>0}}" style="float: right;" att-button btn-type="secondary" size="small" att-accessibility-click="13,32" ng-click="removeRangeAxisRow($index);" >
			Remove</a>
	  </div>
	  </div>
	 </div>
	</div>
	<BR>
	
<accordion close-others="true" css="att-accordion--no-box">
	<accordion-group id="additionalOptions" heading="Additional Options"  child-length="10">
	<div class="fn-ebz-container">
		<label class="fn-ebz-text-label">Primary Axis Label</label><BR>
		<input type="text" name="prAxis" maxlength=50 ng-model="reportRunJson.primaryAxisLabel" style="width:210px"/>
	</div>
	<div class="fn-ebz-container" >
		<label class="fn-ebz-text-label">Secondary Axis Label</label><BR>
		<input type="text" name="secAxis" maxlength=75 ng-model="reportRunJson.secondaryAxisLabel"  style="width:210px"/>
	</div>
	<BR>
	<div class="fn-ebz-container" >
		<label class="fn-ebz-text-label">Range Axis Minimum Range</label><BR>
		<input type="text" name="rAxisMinRange" only-digits ng-model="reportRunJson.minRange" style="width:210px"/>
	</div>
	<div class="fn-ebz-container">
		<label class="fn-ebz-text-label">Maximum Range</label><BR>
		<input type="text" name="rAxisMaxRange" only-digits ng-model="reportRunJson.maxRange"  ng-maxLength="35" style="width:210px"/>
	</div><BR>
	</accordion-group>
</accordion>
	
	
	

<div ng-show="reportRunJson.chartType=='BarChart3D'">
  
  	<accordion close-others="true" css="att-accordion--no-box">
	<accordion-group id="accBar" heading="Bar Chart Options"  child-length="10">
  				
	
	<div style="border:2px;border-style:solid;border-color:#808080;margin-bottom:9px">
		<div class="fn-ebz-container" style="position:relative;margin:10px;" >
			<label class="fn-ebz-text-label">Orientation</label><BR>
			<span><input  name="orient" type="radio" ng-model="reportRunJson.barChartOptions.verticalOrientation"  data-ng-value="true"/>Vertical</span>
			<span><input name="orient" type="radio" ng-model="reportRunJson.barChartOptions.verticalOrientation" data-ng-value="false"/>Horizontal</span>
		</div>
	
	<div class="fn-ebz-container" style="position:relative;margin:10px;">
		<label class="fn-ebz-text-label">Stacked</label><BR>
		<span><input  name="stack" type="radio" ng-model="reportRunJson.barChartOptions.stackedChart"  data-ng-value="true"/>Yes</span>
		<span><input name="stack" type="radio" ng-model="reportRunJson.barChartOptions.stackedChart" data-ng-value="false"/>No</span>
	</div>
	
	<div class="fn-ebz-container" style="position:relative;margin:10px;">
		<label class="fn-ebz-text-label">Show Controls</label><BR>
		<span><input  name="shwcontrol" type="radio" ng-model="reportRunJson.barChartOptions.displayBarControls"  data-ng-value="true"/>Yes</span>
		<span><input name="shwcontrol" type="radio" ng-model="reportRunJson.barChartOptions.displayBarControls" data-ng-value="false"/>No</span>
	</div>
	
	<div class="fn-ebz-container" style="position:relative;margin:10px;">
		<label class="fn-ebz-text-label">XAxis Date Type</label><BR>
		<span><input  name="xAxisDtype" type="radio" ng-model="reportRunJson.barChartOptions.xAxisDateType"  data-ng-value="true"/>Yes</span>
		<span><input name="xAxisDtype" type="radio" ng-model="reportRunJson.barChartOptions.xAxisDateType" data-ng-value="false"/>No</span>
	</div>
	
	<div class="fn-ebz-container" style="position:relative;margin:10px;">
		<label class="fn-ebz-text-label">Display less XAxis tickers</label><BR>
		<span><input  name="xTicker" type="radio" ng-model="reportRunJson.barChartOptions.minimizeXAxisTickers"  data-ng-value="true"/>Yes</span>
		<span><input name="xTicker" type="radio" ng-model="reportRunJson.barChartOptions.minimizeXAxisTickers" data-ng-value="false"/>No</span>
	</div><BR>
	
	<div class="fn-ebz-container" style="position:relative;margin:10px;">
		<label class="fn-ebz-text-label">Is Time Axis?</label><BR>
		<span><input  name="timeAxis" type="radio" ng-model="reportRunJson.barChartOptions.timeAxis"  data-ng-value="true"/>Yes</span>
		<span><input name="timeAxis" type="radio" ng-model="reportRunJson.barChartOptions.timeAxis" data-ng-value="false"/>No</span>
	</div>
	
	<div class="fn-ebz-container" style="position:relative;margin:10px;">
		<label class="fn-ebz-text-label">Log Scale (Y Axis)</label><BR>
		<span><input type="checkbox" ng-model="reportRunJson.barChartOptions.yAxisLogScale" att-checkbox data-ng-value="true"></span>
		
	</div>
 </div>

  </accordion-group>
</accordion>
</div>
	{{reportRunJson.chartType}}
	<div ng-show="reportRunJson.chartType=='TimeSeriesChart'">
	 <accordion close-others="true" css="att-accordion--no-box">
		<accordion-group id="accTimeChart"  heading="Time Series Chart Options"  child-length="10">
		
		<div style="border:2px;border-style:solid;border-color:#808080;margin-bottom:9px">
			<div style="margin-left:5px">
			<div class="fn-ebz-container">
				<label class="fn-ebz-text-label">Render as</label><BR>
				<span><input  name="renderAs" type="radio" ng-model="reportRunJson.timeSeriesChartOptions.lineChartRenderer"  value="line"/>Line</span>
				<span><input name="orient" type="radio" ng-model="reportRunJson.timeSeriesChartOptions.lineChartRenderer" value="area"/>Area</span>
			</div>
	
		<div class="fn-ebz-container" style="position:relative;margin:10px;">
			<label class="fn-ebz-text-label">X Axis Label</label><BR>
			<span><input type="checkbox" ng-model="reportRunJson.timeSeriesChartOptions.showXAxisLabel" att-checkbox data-ng-value="true"></span>
		</div><BR>
		
		<div class="fn-ebz-container" style="position:relative;bottom:10px;">
			<label class="fn-ebz-text-label">X Axis <br>Tickers</label><BR>
			<span style="position:relative;top:10px;"><input type="checkbox" ng-model="reportRunJson.timeSeriesChartOptions.addXAxisTicker" att-checkbox data-ng-value="true"></span>
		</div>
		
		<div class="fn-ebz-container" style="position:relative;margin:20px;">
			<label class="fn-ebz-text-label">Is Time Axis?</label><BR>
			<span><input  name="timeAxisChart" type="radio" ng-model="reportRunJson.timeSeriesChartOptions.nonTimeAxis"  data-ng-value="true"/>Yes</span>
			<span><input name="timeAxisChart" type="radio" ng-model="reportRunJson.timeSeriesChartOptions.nonTimeAxis" data-ng-value="false"/>No</span>
		</div>
		
		<div class="fn-ebz-container" style="position:relative;margin:10px;">
			<label class="fn-ebz-text-label">Multi Series?</label><BR>
			<span><input  name="mSeries" type="radio" ng-model="reportRunJson.timeSeriesChartOptions.multiSeries"  data-ng-value="true"/>Yes</span>
			<span><input name="mSeries" type="radio" ng-model="reportRunJson.timeSeriesChartOptions.multiSeries" data-ng-value="false"/>No</span>
		</div>
		 </div>
		</div>
	
	 </accordion-group>
	</accordion>
	
	</div>
	
	<div>		
		
		<accordion close-others="true" css="att-accordion--no-box">
		<accordion-group id="accFlexTimeChart"  heading="Flex Time Series Chart Options"  child-length="10">
		
		<div style="border:2px;border-style:solid;border-color:#808080;margin-bottom:9px">
			<div style="margin-left:5px">
		<div class="fn-ebz-container">
			<label class="fn-ebz-text-label">Zoom-In Window</label><BR>
			<span><input type="text" name="zWindow" only-digits maxlength=3 ng-model="reportRunJson.flexTimeSeriesChartOptions.zoomIn"></span>
		</div>
		
		<div class="fn-ebz-container" style="position:relative;margin:10px;">
			<label class="fn-ebz-text-label">Time Axis Type</label><BR>
			<span><input  name="timeAxisType" type="radio" ng-model="reportRunJson.flexTimeSeriesChartOptions.timeAxisType"  value="weekly"/>Weekly</span>
			<span><input name="timeAxisType" type="radio" ng-model="reportRunJson.flexTimeSeriesChartOptions.timeAxisType" value="daily"/>Daily</span>
			<span><input name="timeAxisType" type="radio" ng-model="reportRunJson.flexTimeSeriesChartOptions.timeAxisType" value="hourly"/>Hourly</span>
			<span><input name="timeAxisType" type="radio" ng-model="reportRunJson.flexTimeSeriesChartOptions.timeAxisType" value="30min"/>30 Min</span>
		</div>
	  </div>
	 </div>
		</accordion-group>
	</accordion>
	
	</div>	
	
	
	
	
	
	
	 
	
	<accordion close-others="true" css="att-accordion--no-box">
	<accordion-group id="accCommonOptions"  heading="Common Options"  child-length="10">
	
	<div style="border:2px;border-style:solid;border-color:#808080;margin-bottom:9px">
	<div style="margin-left:5px">
	<div class="fn-ebz-container">
		<label class="fn-ebz-text-label">Legend Angle</label><BR>
		<span><input name="langle" type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" value="up45"/>up 45&deg;</span>
		<span><input name="langle" type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" value="up90"/>up 90&deg;</span>
 	    <span><input name="langle" type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" value="down45"/>down 45&deg;</span>
 	    <span><input name="langle" type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" value="down90"/>down 90&deg;</span>
 	    <span><input name="langle" type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" value="standard"/>Standard</span>
	</div>
	
	<div class="fn-ebz-container" style="position:relative;margin:15px;">
		<label class="fn-ebz-text-label">Legend Position</label><BR>
		<span><input  name="lgPosition" type="radio" ng-model="reportRunJson.commonChartOptions.legendPosition"  value="top"/>Top</span>
		<span><input name="lgPosition" type="radio" ng-model="reportRunJson.commonChartOptions.legendPosition" value="bottom"/>Bottom</span>
	</div><BR>
	
	<div class="fn-ebz-container">
		<label class="fn-ebz-text-label">Legend</label><BR>
		<span><input name="lgd" type="radio" ng-model="reportRunJson.commonChartOptions.hideLegend" data-ng-value="false"/>Yes</span>
		<span><input name="lgd" type="radio" ng-model="reportRunJson.commonChartOptions.hideLegend" data-ng-value="true"/>No</span>
	</div>
	
	<div class="fn-ebz-container" style="position:relative;margin:10px;">
		<label class="fn-ebz-text-label">Animation</label><BR>
		<span><input name="anmtate"  type="radio" ng-model="reportRunJson.commonChartOptions.animateAnimatedChart" data-ng-value="true" />Yes</span>
		<span><input name="anmtate"  type="radio" ng-model="reportRunJson.commonChartOptions.animateAnimatedChart" data-ng-value="false"/>No</span>
	</div><BR>
	
	<div class="fn-ebz-container">
		<label class="fn-ebz-text-label">Top Margin</label><BR>
		<input type="text" name="reportRunJson.commonChartOptions.topMargin" only-digits maxlength=3 ng-model="reportRunJson.commonChartOptions.topMargin" style="width:210px"/>
	</div>
	<div class="fn-ebz-container">
		<label class="fn-ebz-text-label">Bottom Margin</label><BR>
		<input type="text" name="reportRunJson.commonChartOptions.bottomMargin" only-digits maxlength=3 ng-model="reportRunJson.commonChartOptions.bottomMargin"  style="width:210px"/>
	</div>
	<div class="fn-ebz-container">
		<label class="fn-ebz-text-label">Left Margin</label><BR>
		<input type="text" name="reportRunJson.commonChartOptions.leftMargin" only-digits maxlength=3 ng-model="reportRunJson.commonChartOptions.leftMargin" style="width:210px"/>
	</div>
	<div class="fn-ebz-container">
		<label class="fn-ebz-text-label">Right Margin</label><BR>
		<input type="text" name="reportRunJson.commonChartOptions.rightMargin" only-digits maxlength=3 ng-model="reportRunJson.commonChartOptions.rightMargin" style="width:210px">
	  </div><BR>
	 </div>
	</div>
 </accordion-group>
</accordion>
	<br/><br/>
	<a href="javascript:void(0)" att-button btn-type="primary" att-accessibility-click="13,32" ng-click="saveChartData();">Save</a>
	<a href="report#/report_run/c_master={{reportRunJson.reportID}}&refresh=Y" att-button btn-type="primary" att-accessibility-click="13,32">Run</a>
</div>

<div>
    <b2b-expanders class="mpc-expanders" is-open="additionalOptionOpen">            
        <b2b-expander-heading>
            <div class="row">    
                <div class="span6">
                    <div class="heading-medium b2b-blue" ng-class=" { 'b2b-toggle-header-active': !additionalOptionOpen, 'b2b-toggle-header-inactive': additionalOptionOpen } ">Additional Options</div>
                    <p class="p-small">
                    </p>                    
                </div>
                <div style="position: absolute;right: 250px;" class="span1">
                	<i class="pull-right b2b-toggle-header-icon" b2b-expander-toggle b2b-accessibility-click="13,32" expand-icon="icon-primary-collapsed" collapse-icon="icon-primary-expanded" tabindex="0" aria-posinset="1" aria-setsize="2"></i>
                </div>  
            </div>    
        </b2b-expander-heading>               
        <b2b-expander-body>                   
            <div>	 
				<div id="RangeTable">
				<table>
					<thead>
					    <tr>
					        <th width="30%">Primary Axis Label</th>
					        <th  width="30%">Secondary Axis Label</th>
					        <th></th>	        
					    </tr>
					</thead>
				    <tbody>
				        <tr>
				            <td>
				            	<input type="text" name="primaryAxisLabel" ng-model="reportRunJson.primaryAxisLabel" style="width:200px;">
				            </td>
				            <td>
				            	<input type="text" name="secondaryAxisLabel" ng-model="reportRunJson.secondaryAxisLabel" style="width:200px;">
				            </td>
				        </tr>
				    </tbody>
				</table>
				<table>
					<thead>
					    <tr>
					        <th width="30%">Range Axis Minimum Range</th>
					        <th  width="30%">Maximum Range</th>
					        <th></th>
					    </tr>
					</thead>
				    <tbody>
				        <tr>
				            <td>
				            	<input type="text" name="minRange" ng-model="reportRunJson.minRange" style="width:200px;">
				            </td>
				            <td>
				            	<input type="text" name="maxRange" ng-model="reportRunJson.maxRange" style="width:200px;">
				            </td>
				        </tr>
				    </tbody>
				</table>
				</div>            	
			</div>
        </b2b-expander-body>     
    </b2b-expanders>

	<!-- BAR CHART OPTION SECTION STARTS HERE -->
    <b2b-expanders ng-show="reportRunJson.chartType=='BarChart3D'" class="mpc-expanders" is-open="barChartOptionOpen">            
        <b2b-expander-heading>
            <div class="row">    
                <div class="span6">
                    <div class="heading-medium b2b-blue" ng-class=" { 'b2b-toggle-header-active': !barChartOptionOpen, 'b2b-toggle-header-inactive': barChartOptionOpen } ">Bar Chart Options</div>
                    <p class="p-small">
                    </p>                    
                </div>
                <div style="position: absolute;right: 250px;" class="span1">
                	<i class="pull-right b2b-toggle-header-icon" b2b-expander-toggle b2b-accessibility-click="13,32" expand-icon="icon-primary-collapsed" collapse-icon="icon-primary-expanded" tabindex="0" aria-posinset="1" aria-setsize="2"></i>
                </div>
            </div>    
        </b2b-expander-heading>               
        <b2b-expander-body>                   
            <div>	 
				<div id="RangeTable">
				<table>
					<thead>
					    <tr>
					        <th width="25%">Orientation</th>
					        <th  width="18%">Stacked</th>
					        <th  width="18%">Show Controls</th>
					        <th  width="18%">XAxis Date Type</th>
					        <th  width="21%">Display less XAxis tickers</th>					        
					        <th></th>	        
					    </tr>
					</thead>
				    <tbody>
				        <tr>
				            <td>
						            <label for="optionsOrientationVertical" class="radio">
						                <input type="radio" ng-model="reportRunJson.barChartOptions.verticalOrientation" id="optionsOrientationVertical" name="optionsOrientationVertical" value="true">
						                <i class="skin"></i>
						                <span>Vertical</span>
						            </label>            
						            <label for="optionsOrientationHorizontal" class="radio">
						                <input type="radio" ng-model="reportRunJson.barChartOptions.verticalOrientation" id="optionsOrientationHorizontal" name="optionsOrientationHorizontal" value="false">
						                <i class="skin"></i>
						                <span>Horizontal</span>
						            </label>            
				            </td>
   				            
				            <td>
						            <label for="optionsStackedYes" class="radio">
						                <input type="radio" ng-model="reportRunJson.barChartOptions.stackedChart" id="optionsStackedYes" name="optionsStackedYes" value="true">
						                <i class="skin"></i>
						                <span>Yes</span>
						            </label>            
						            <label for="optionsStackedNo" class="radio">
						                <input type="radio" ng-model="reportRunJson.barChartOptions.stackedChart" id="optionsStackedNo" name="optionsStackedNo" value="false">
						                <i class="skin"></i>
						                <span>No</span>
						            </label>  				            
				            </td>
				            <td>
						            <label for="optionsShowControlYes" class="radio">
						                <input type="radio" ng-model="reportRunJson.barChartOptions.displayBarControls" id="optionsShowControlYes" name="optionsShowControlYes" value="true">
						                <i class="skin"></i>
						                <span>Yes</span>
						            </label>            
						            <label for="optionsShowControlNo" class="radio">
						                <input type="radio" ng-model="reportRunJson.barChartOptions.displayBarControls" id="optionsShowControlNo" name="optionsShowControlNo" value="false">
						                <i class="skin"></i>
						                <span>No</span>
						            </label>  				            
				            </td>
				            <td>
						            <label for="optionsXAxisDateTypeYes" class="radio">
						                <input type="radio" ng-model="reportRunJson.barChartOptions.xAxisDateType" id="optionsXAxisDateTypeYes" name="optionsXAxisDateTypeYes" value="true">
						                <i class="skin"></i>
						                <span>Yes</span>
						            </label>            
						            <label for="optionsXAxisDateTypeNo" class="radio">
						                <input type="radio" ng-model="reportRunJson.barChartOptions.xAxisDateType" id="optionsXAxisDateTypeNo" name="optionsXAxisDateTypeNo" value="false">
						                <i class="skin"></i>
						                <span>No</span>
						            </label>  				            
				            </td>				            
				            <td>
						            <label for="optionsMinimizeXAxisTickersYes" class="radio">
						                <input type="radio" ng-model="reportRunJson.barChartOptions.minimizeXAxisTickers" id="optionsMinimizeXAxisTickersYes" name="optionsMinimizeXAxisTickersYes" value="true">
						                <i class="skin"></i>
						                <span>Yes</span>
						            </label>            
						            <label for="optionsMinimizeXAxisTickersNo" class="radio">
						                <input type="radio" ng-model="reportRunJson.barChartOptions.minimizeXAxisTickers" id="optionsMinimizeXAxisTickersNo" name="optionsMinimizeXAxisTickersNo" value="false">
						                <i class="skin"></i>
						                <span>No</span>
						            </label>  				            
				            </td>				            
				        </tr>
				    </tbody>
				</table>
				<table>
					<thead>
					    <tr>
					        <th width="25%">Is Time Axis?</th>
					        <th  width="25%">Log Scale (Y Axis)</th>
					        <th></th>
					    </tr>
					</thead>
				    <tbody>
				        <tr>
				            <td>
					            <label for="optionsTimeAxisYes" class="radio">
					                <input type="radio" ng-model="reportRunJson.barChartOptions.timeAxis" id="optionsTimeAxisYes" name="optionsTimeAxisYes" value="true">
					                <i class="skin"></i>
					                <span>Yes</span>
					            </label>            
					            <label for="optionsTimeAxisNo" class="radio">
					                <input type="radio" ng-model="reportRunJson.barChartOptions.timeAxis" id="optionsTimeAxisNo" name="optionsTimeAxisNo" value="false">
					                <i class="skin"></i>
					                <span>No</span>
					            </label>  				            
				            </td>
				            <td>
				                <label for="logScaleYAxisCheckBox" class="checkbox">
				                    <input id="logScaleYAxisCheckBox" type="checkbox" ng-model="reportRunJson.barChartOptions.yAxisLogScale" /><i class="skin"></i><span></span>
				                </label>            				            
				            </td>
				        </tr>
				    </tbody>
				</table>
				</div>            	
			</div>
        </b2b-expander-body>     
    </b2b-expanders>
	<!-- BAR CHART OPTION SECTION ENDS HERE -->

	<!-- TIME SERIES CHART OPTION SECTION STARTS HERE -->
    <b2b-expanders ng-show="reportRunJson.chartType=='TimeSeriesChart'" class="mpc-expanders" is-open="timeSeriesChartOptionOpen">            
        <b2b-expander-heading>
            <div class="row">    
                <div class="span6">
                    <div class="heading-medium b2b-blue" ng-class=" { 'b2b-toggle-header-active': !timeSeriesChartOptionOpen, 'b2b-toggle-header-inactive': timeSeriesChartOptionOpen } ">Time Series Chart Options</div>
                    <p class="p-small">
                    </p>                    
                </div>
                <div style="position: absolute;right: 250px;" class="span1">
                	<i class="pull-right b2b-toggle-header-icon" b2b-expander-toggle b2b-accessibility-click="13,32" expand-icon="icon-primary-collapsed" collapse-icon="icon-primary-expanded" tabindex="0" aria-posinset="1" aria-setsize="2"></i>
                </div>  
            </div>    
        </b2b-expander-heading>               
        <b2b-expander-body>                   
            <div>	 
				<div>
				<table>
					<thead>
					    <tr>
					        <th width="20%">Render as</th>
					        <th width="20%">X Axis Label</th>
					        <th width="20%">X Axis Tickers</th>
					        <th width="20%">Is Time Axis?</th>
					        <th width="20%">Multi Series</th>					        					        
					    </tr>
					</thead>
				    <tbody>
				        <tr>
				            <td>
					            <label for="optionsLineChartRendererLine" class="radio">
					                <input type="radio" ng-model="reportRunJson.timeSeriesChartOptions.lineChartRenderer" id="optionsLineChartRendererLine" name="optionsLineChartRendererLine" value="line">
					                <i class="skin"></i>
					                <span>Line</span>
					            </label>            
					            <label for="optionsLineChartRendererArea" class="radio">
					                <input type="radio" ng-model="reportRunJson.timeSeriesChartOptions.lineChartRenderer" id="optionsLineChartRendererArea" name="optionsLineChartRendererArea" value="area">
					                <i class="skin"></i>
					                <span>Area</span>
					            </label>  				            
				            </td>
				            <td>
				                <label for="xAxisLabelCheckBox" class="checkbox">
				                    <input id="xAxisLabelCheckBox" type="checkbox" ng-model="reportRunJson.timeSeriesChartOptions.showXAxisLabel" /><i class="skin"></i><span></span>
				                </label>            				            				            
				            </td>
				            <td>
				                <label for="addXAxisTickerCheckBox" class="checkbox">
				                    <input id="addXAxisTickerCheckBox" type="checkbox" ng-model="reportRunJson.timeSeriesChartOptions.addXAxisTicker" /><i class="skin"></i><span></span>
				                </label>            				            				            
				            </td>
				            <td>
				                <label for="isTimeAxisCheckBox" class="checkbox">
				                    <input id="isTimeAxisCheckBox" type="checkbox" ng-model="reportRunJson.timeSeriesChartOptions.nonTimeAxis" /><i class="skin"></i><span></span>
				                </label>
				            </td>
				            <td>
				                <label for="multiSeriesCheckBox" class="checkbox">
				                    <input id="multiSeriesCheckBox" type="checkbox" ng-model="reportRunJson.timeSeriesChartOptions.multiSeries" /><i class="skin"></i><span></span>
				                </label>
				            </td>
				        </tr>
				    </tbody>
				</table>
				</div>            	
			</div>
        </b2b-expander-body>     
    </b2b-expanders>
	<!-- TIME SERIES CHART OPTION SECTION ENDS HERE -->

    <b2b-expanders class="mpc-expanders" is-open="commonOptionOpen">            
        <b2b-expander-heading>
            <div class="row">    
                <div class="span6">
                    <div class="heading-medium b2b-blue" ng-class=" { 'b2b-toggle-header-active': !commonOptionOpen, 'b2b-toggle-header-inactive': commonOptionOpen } ">Common Options</div>
                    <p class="p-small">
                    </p>                    
                </div>
                <div style="position: absolute;right: 250px;" class="span1">
                	<i class="pull-right b2b-toggle-header-icon" b2b-expander-toggle b2b-accessibility-click="13,32" expand-icon="icon-primary-collapsed" collapse-icon="icon-primary-expanded" tabindex="0" aria-posinset="1" aria-setsize="2"></i>
                </div>  
            </div>    
        </b2b-expander-heading>               
        <b2b-expander-body>                   
            <div >
                <div>
					<div style="border:2px;border-style:solid;border-color:#808080;margin-bottom:9px">
						<div style="margin-left:0px">
							<table>	
							<thead>
							    <tr>
							        <th>Legend Angle</th>
							        <th>Legend Position</th>
							    </tr>
							</thead>
						    <tbody>
						        <tr>
						    		<fieldset role="radiogroup" radio-group-accessibility>
						            <td>
						            <label for="optionsRadios1" class="radio">
						                <input type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" id="optionsRadios1" name="optionsRadio1" value="up45">
						                <i class="skin"></i>
						                <span>up 45&deg;</span>
						            </label>            
						            <label for="optionsRadios2" class="radio">
						                <input type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" id="optionsRadios2" name="optionsRadio2" value="up90">
						                <i class="skin"></i>
						                <span>up 90&deg;</span>
						            </label>            
						            <label for="optionsRadios3" class="radio">
						                <input type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" id="optionsRadios3" name="optionsRadio3" value="down45">
						                <i class="skin"></i>
						                <span>down 45&deg;</span>
						            </label>            
						            <label for="optionsRadios4444" class="radio">
						                <input type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" id="optionsRadios4444" name="optionsRadio44" value="down90">
						                <i class="skin"></i>
						                <span>down 90&deg;</span>
						            </label>            
						            <label for="optionsRadios5555" class="radio">
						                <input type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" id="optionsRadios5555" name="optionsRadio55" value="standard">
						                <i class="skin"></i>
						                <span>Standard</span>
						            </label>            
						            </td>    
						            </fieldset>
						            
						            <fieldset role="radiogroup" radio-group-accessibility>
						            <td>
						            <label for="optionsRadiosTop" class="radio">
						                <input type="radio" ng-model="reportRunJson.commonChartOptions.legendPosition" id="optionsRadiosTop" name="optionsRadioTop" value="top">
						                <i class="skin"></i>
						                <span>Top</span>
						            </label>            
						            <label for="optionsRadiosBottom" class="radio">
						                <input type="radio" ng-model="reportRunJson.commonChartOptions.legendPosition" id="optionsRadiosBottom" name="optionsRadioBottom" value="bottom">
						                <i class="skin"></i>
						                <span>Bottom</span>
						            </label>            
						            </td>                    
						            </fieldset>
						        </tr>
						    </tbody>
						</table>


						<table>	
						<thead>
						    <tr>
						        <th width="20%">Legend</th>
						        <th width="20%">Animation</th>
						        <th></th>
						    </tr>
						</thead>
					    <tbody>
					        <tr>
					    		<fieldset role="radiogroup" radio-group-accessibility>
					            <td>
					            <label for="optionsRadiosHideLegendFalse" class="radio">
					                <input type="radio" ng-model="reportRunJson.commonChartOptions.hideLegend" id="optionsRadiosHideLegendFalse" name="optionsRadiosHideLegendFalse" value="false">
					                <i class="skin"></i>
					                <span>Yes</span>
					            </label>            
					            <label for="optionsRadiosHideLegendTrue" class="radio">
					                <input type="radio" ng-model="reportRunJson.commonChartOptions.hideLegend" id="optionsRadiosHideLegendTrue" name="optionsRadiosHideLegendTrue" value="true">
					                <i class="skin"></i>
					                <span>No</span>
					            </label>            
					            </td>    
					            </fieldset>
					            
					            <fieldset role="radiogroup" radio-group-accessibility>
					            <td>
					            <label for="optionsRadiosAnimateChartTrue" class="radio">
					                <input type="radio" ng-model="reportRunJson.commonChartOptions.animateAnimatedChart" id="optionsRadiosAnimateChartTrue" name="optionsRadiosAnimateChartTrue" value="true">
					                <i class="skin"></i>
					                <span>Yes</span>
					            </label>            
					            <label for="optionsRadiosAnimateChartFalse" class="radio">
					                <input type="radio" ng-model="reportRunJson.commonChartOptions.animateAnimatedChart" id="optionsRadiosAnimateChartFalse" name="optionsRadiosAnimateChartFalse" value="false">
					                <i class="skin"></i>
					                <span>No</span>
					            </label>            
					            </td>                    
					            </fieldset>
					            <td>
					            </td>
					        </tr>
					    </tbody>
					</table>

					<table>
						<thead>
						    <tr>
						        <th width="25%">Top Margin</th>
						        <th width="25%">Bottom Margin</th>
						        <th width="25%">Left Margin</th>
						        <th width="25%">Right Margin</th>
						    </tr>
						</thead>
					    <tbody>
					        <tr>
					            <td>
					            	<input type="text" name="topMargin" ng-model="reportRunJson.commonChartOptions.topMargin" style="width:200px;">
					            </td>
					            <td>
					            	<input type="text" name="bottomMargin" ng-model="reportRunJson.commonChartOptions.bottomMargin" style="width:200px;">
					            </td>
					            <td>
					            	<input type="text" name="leftMargin" ng-model="reportRunJson.commonChartOptions.leftMargin" style="width:200px;">
					            </td>
					            <td>
					            	<input type="text" name="rightMargin" ng-model="reportRunJson.commonChartOptions.rightMargin" style="width:200px;">
					            </td>
					        </tr>
					    </tbody>
					</table>
				</div>                	
            </div>
           </div>
        </b2b-expander-body>     
    </b2b-expanders>

</div>
</div>
	<div>
	<button type="submit" style="width: 90px; height:35px;margin-top:20px; margin-left:5px;" class="btn btn-alt btn-small" ng-click="saveChartData();">Save</button>	
	<a href="report#/report_run/c_master={{reportRunJson.reportID}}&refresh=Y">
	<button type="submit" style="width: 90px; height:35px;margin-top:20px; margin-left:5px;" class="btn btn-alt btn-small">Run</button>
	</a>
	</div>    
</div>