aboutsummaryrefslogtreecommitdiffstats
path: root/ecomp-sdk-app/src/main/webapp/static/fusion/raptor/ebz/report_chart_wizard.html
blob: 35fad2b4d44ee46aaa692a8aa9a2b0314d9b5c7a (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
<div style="color:#2ca02c" ng-show="successSubmit">Your configurations have been successfully submitted</div>

<div  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.categoryAxisJSON" placeholder="Select an Option" 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.chartTypeJSON.value=='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>
	
	<div ng-show="reportRunJson.chartTypeJSON.value=='TimeSeriesChart'">
	<!-- <div class="fn-ebz-text-label"><b>Time Series Chart Options</b></div><BR> -->
	 <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 ng-show="reportRunJson.chartTypeJSON.value=='FlexTimeChart'">
		
		
		<accordion close-others="true" css="att-accordion--no-box">
		<accordion-group id="accFlexTimeChart"  heading="Flex Time Series Chart Options"  child-length="10">
		
		<!-- <div class="fn-ebz-text-label"><b>Flex Time Series Chart Options</b></div><BR>  -->
		<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>	
	
	
	
	
	
	
	 
	<!-- <div class="fn-ebz-text-label"><b>Common Options</b></div><BR>  -->
	
	<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>