3fae62f11060c9d21eb7a3ddac5837830f3b03e8
[portal/sdk.git] /
1 <style>
2 table tbody td {
3     border: none;
4 }
5
6 table tbody tr {
7     border: none;
8 }
9
10 table{
11     border: none;
12     margin-bottom:0px;
13 }
14
15 #RangeTable{
16         margin-top: 5px;
17         border: 1px solid black;
18 }
19 </style>
20
21 <div id="page-content">
22 <h1 class="heading-page">Report Chart Configuration</h1>
23
24 <div ng-show="showLoader" class="span loader-container">
25         <i class="icon-primary-spinner" role="img"
26                 aria-label="Please wait while we load your content"></i>
27 </div>
28
29
30 <div ng-hide="showLoader">
31 <div>
32 <table>
33         <thead>
34             <tr>
35                 <th width="30%">Chart Type</th>
36                 <th></th>
37             </tr>
38         </thead>
39         
40     <tbody>
41         <tr>
42             <td>
43                                 <select name="chartType" b2b-dropdown ng-model="reportRunJson.chartType">
44                                         <option b2b-dropdown-list option-repeat="d in chartTypeOptions" value="{{d.value}}">{{d.text}}</option>
45                     </select>
46             </td>
47             <td></td>
48         </tr>
49     </tbody>
50 </table>
51
52 <table> 
53         <thead>
54             <tr>
55                 <th width="50px">Width (px)</th>
56                 <th>Height (px)</th>
57             </tr>
58         </thead>
59     <tbody>
60         <tr>
61             <td>
62             <input type="text" name="displayName" ng-model="reportRunJson.width" style="width:100px;">
63             </td>
64             <td>
65             <input type="text" name="displayName" ng-model="reportRunJson.height" style="width:100px;">
66             </td>
67         </tr>
68     </tbody>
69 </table>
70
71 <table> 
72         <thead>
73             <tr>
74                 <th width="50px">Title</th>
75             </tr>
76         </thead>
77     <tbody>
78         <tr>
79                 <fieldset role="radiogroup" radio-group-accessibility>
80             <td>
81             <label for="optionsRadiosShowTitleTrue" class="radio">
82                 <input type="radio" ng-model="reportRunJson.showTitle" id="optionsRadiosShowTitleTrue" name="optionsRadiosShowTitleTrue" value="true">
83                 <i class="skin"></i>
84                 <span>Show</span>
85             </label>            
86             </td>
87             <td>
88             <label for="optionsRadiosShowTitleFalse" class="radio">
89                 <input type="radio" ng-model="reportRunJson.showTitle" id="optionsRadiosShowTitleFalse" name="optionsRadiosShowTitleFalse" value="false">
90                 <i class="skin"></i>
91                 <span>Hide</span>
92             </label>            
93             </td>
94             </fieldset>
95         </tr>
96         
97     </tbody>
98 </table>
99
100 <table> 
101         <thead>
102             <tr>
103                 <th width="30%">Domain Axis</th>
104                 <th  width="30%">Category</th>
105                 <th  width="40%"></th>
106             </tr>
107         </thead>
108     <tbody>
109         <tr>
110             <td>
111                                 <select name="chartType" b2b-dropdown ng-model="reportRunJson.domainAxis">
112                                         <option b2b-dropdown-list option-repeat="d in reportRunJson.chartColumnJSONList" value="{{d.value}}">{{d.title}}</option>
113                     </select>
114             </td>
115             <td>
116                                 <select name="chartType" b2b-dropdown ng-model="reportRunJson.categoryAxis">
117                                         <option b2b-dropdown-list option-repeat="d in reportRunJson.chartColumnJSONList" value="{{d.value}}">{{d.title}}</option>
118                     </select>
119             </td>
120         </tr>
121     </tbody>
122 </table>
123
124
125         <div id="RangeTable">
126
127 <table ng-repeat="rangeReport in reportRunJson.rangeAxisList">
128         <thead>
129             <tr>
130                 <th width="18%">Range Axis</th>
131                 <th  width="15%">Y Axis</th>
132                 <th  width="15%">Chart Title</th>
133                 <th  width="22%">Color</th>
134                 <th  width="25%">Line Type</th>
135                 <th></th>               
136             </tr>
137         </thead>
138     <tbody>
139         <tr>
140             <td>
141                                 <select name="chartType" b2b-dropdown ng-model="rangeReport.rangeAxisLabelJSON.value" placeholder-text="Select">
142                                         <option b2b-dropdown-list option-repeat="d in reportRunJson.chartColumnJSONList" value="{{d.value}}">{{d.title}}</option>
143                     </select>
144             </td>
145             <td>
146                 <input type="text" name="displayName" ng-model="rangeReport.rangeYAxis" style="width:100px;">
147             </td>
148             <td>
149                 <input type="text" name="displayName" ng-model="rangeReport.rangeChartGroup" style="width:150px;">
150             </td>
151             <td>
152                                 <select name="chartType" b2b-dropdown ng-model="rangeReport.rangeColor">
153                                         <option b2b-dropdown-list option-repeat="d in rangeColors" value="{{d.value}}">{{d.title}}</option>
154                     </select>
155             </td>
156             <td>
157                                 <select name="lineType" b2b-dropdown ng-model="rangeReport.rangeLineType">
158                                         <option b2b-dropdown-list option-repeat="d in lineTypes" value="{{d.value}}">{{d.title}}</option>
159                     </select>
160             </td>
161             <td>
162                 <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>
163                 <button ng-hide="$index==0" type="submit" style="width: 90px; height:35px;margin-left:5px;" class="btn btn-secondary btn-small" ng-click="removeRangeAxisRow($index)">Remove</button>
164             </td>
165         </tr>
166       
167     </tbody>
168 </table>
169 </div>
170
171 </div>
172              
173 <div ng-show=false style="min-height:500px" data-ng-init="init()">
174         <div class="fn-ebz-container" >
175                 <label class="fn-ebz-text-label">Chart Type</label><BR>
176                 <div class="form-field" att-select="chartTypes" ng-model="reportRunJson.chartTypeJSON" placeholder="Select an Option" show-input-filter="true" ng-change="actionClicked()"></div>
177         </div>
178         
179         
180         <div class="fn-ebz-container" style="position:relative; top: -8px;">
181                 <label class="fn-ebz-text-label">Animate</label><BR>
182                         <div><input type="checkbox" ng-model="reportRunJson.animation" att-checkbox data-ng-value="true"></div>
183         </div>
184         <BR>
185         
186         <div class="fn-ebz-container" >
187                 <label class="fn-ebz-text-label">Width (Px)</label><BR>
188                 <input type="text"  name="chartWidth"  maxlength=4  only-digits ng-model="reportRunJson.width" style="width:80px"/>
189         </div> 
190         
191         <div class="fn-ebz-container" >
192                 <label class="fn-ebz-text-label">Height (Px)</label><BR>
193                 <input type="text" name="chartHeight" maxlength=4  only-digits ng-model="reportRunJson.height" style="width:80px"/>
194         </div>
195         <BR>
196         
197         <div class="fn-ebz-container">
198                 <label class="fn-ebz-text-label">Title</label><BR>
199                 <span><input  name="tle" type="radio" ng-model="reportRunJson.showTitle"  data-ng-value="true"/>Show</span>
200                 <span><input name="tle" type="radio" ng-model="reportRunJson.showTitle" data-ng-value="false"/>Hide</span>
201         </div>
202         <BR>
203         
204
205         <div class="fn-ebz-container" >
206                 <label class="fn-ebz-text-label">Domain Axis</label><BR>
207                 <div class="form-field" att-select="reportRunJson.chartColumnJSONList" ng-model="reportRunJson.domainAxisJSON" placeholder="Select an Option" show-input-filter="true"></div>
208         </div>  
209         
210         <div class="fn-ebz-container" >
211                 <label class="fn-ebz-text-label">Category</label><BR>
212                 <div class="form-field" att-select="reportRunJson.chartColumnJSONList" ng-model="reportRunJson.categoryAxis" placeholder="" show-input-filter="true"></div>
213         </div>
214         <BR>
215
216 <div style="border:2px;border-style:solid;border-color:#808080;margin-bottom:9px">      
217 <div ng-repeat="rangeReport in reportRunJson.rangeAxisList">    
218         <div style="margin-left:5px">
219         <div class="fn-ebz-container">
220                 <label class="fn-ebz-text-label">Range Axis</label><BR>
221                 <div class="form-field" att-select="reportRunJson.chartColumnJSONList" 
222                         ng-model="rangeReport.rangeAxisLabelJSON" placeholder="Select an Option" show-input-filter="true"></div>
223         </div>
224         
225         
226         <div class="fn-ebz-container" >
227                 <label class="fn-ebz-text-label">Y Axis</label><BR>
228                 <input id="yaxs" type="text" name="yAxis" maxlength=50 ng-model=rangeReport.rangeYAxis style="width:100px"/>
229         </div>
230         
231         <div class="fn-ebz-container" >
232                 <label class="fn-ebz-text-label">Chart Title</label><BR>
233                 <input type="text" name="chartTitle"  maxlength=50 ng-model="rangeReport.rangeChartGroup" style="width:200px"/>
234         </div>
235         
236         <div class="fn-ebz-container" >
237                 <label class="fn-ebz-text-label">Color</label><BR>
238                 <div class="form-field" att-select="rangeColors" ng-model="rangeReport.rangeColorJSON" placeholder="Select an Option" show-input-filter="true"></div>
239         </div>
240         
241         <div class="fn-ebz-container" >
242                 <label class="fn-ebz-text-label">Line Type</label><BR>
243                 <div class="form-field" att-select="lineTypes" ng-model="rangeReport.rangeLineTypeJSON" placeholder="Select an Option" show-input-filter="true"></div>
244         </div>
245         
246         <div class="fn-ebz-container" ng-show="reportRunJson.chartTypeJSON.value=='FlexTimeChart' || 
247                         reportRunJson.chartTypeJSON.value=='AnnotationChart'" style="position:relative; top: -8px;">
248                 <label class="fn-ebz-text-label">Area</label><BR>
249                 <input type="checkbox" ng-model="rangeReport.showAsArea" att-checkbox data-ng-value="true">
250         </div>
251         
252         <div class="fn-ebz-container" style="position:relative; top: 25px;">
253         <a href="javascript:void(0)" ng-show="{{$index==0}}" style="float: right;" att-button btn-type="secondary" size="small" att-accessibility-click="13,32" 
254                         ng-click="addRangeAxisRow(rangeReport);" >Add</a>
255         <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);" >
256                         Remove</a>
257           </div>
258           </div>
259          </div>
260         </div>
261         <BR>
262         
263 <accordion close-others="true" css="att-accordion--no-box">
264         <accordion-group id="additionalOptions" heading="Additional Options"  child-length="10">
265         <div class="fn-ebz-container">
266                 <label class="fn-ebz-text-label">Primary Axis Label</label><BR>
267                 <input type="text" name="prAxis" maxlength=50 ng-model="reportRunJson.primaryAxisLabel" style="width:210px"/>
268         </div>
269         <div class="fn-ebz-container" >
270                 <label class="fn-ebz-text-label">Secondary Axis Label</label><BR>
271                 <input type="text" name="secAxis" maxlength=75 ng-model="reportRunJson.secondaryAxisLabel"  style="width:210px"/>
272         </div>
273         <BR>
274         <div class="fn-ebz-container" >
275                 <label class="fn-ebz-text-label">Range Axis Minimum Range</label><BR>
276                 <input type="text" name="rAxisMinRange" only-digits ng-model="reportRunJson.minRange" style="width:210px"/>
277         </div>
278         <div class="fn-ebz-container">
279                 <label class="fn-ebz-text-label">Maximum Range</label><BR>
280                 <input type="text" name="rAxisMaxRange" only-digits ng-model="reportRunJson.maxRange"  ng-maxLength="35" style="width:210px"/>
281         </div><BR>
282         </accordion-group>
283 </accordion>
284         
285         
286         
287
288 <div ng-show="reportRunJson.chartType=='BarChart3D'">
289   
290         <accordion close-others="true" css="att-accordion--no-box">
291         <accordion-group id="accBar" heading="Bar Chart Options"  child-length="10">
292                                 
293         
294         <div style="border:2px;border-style:solid;border-color:#808080;margin-bottom:9px">
295                 <div class="fn-ebz-container" style="position:relative;margin:10px;" >
296                         <label class="fn-ebz-text-label">Orientation</label><BR>
297                         <span><input  name="orient" type="radio" ng-model="reportRunJson.barChartOptions.verticalOrientation"  data-ng-value="true"/>Vertical</span>
298                         <span><input name="orient" type="radio" ng-model="reportRunJson.barChartOptions.verticalOrientation" data-ng-value="false"/>Horizontal</span>
299                 </div>
300         
301         <div class="fn-ebz-container" style="position:relative;margin:10px;">
302                 <label class="fn-ebz-text-label">Stacked</label><BR>
303                 <span><input  name="stack" type="radio" ng-model="reportRunJson.barChartOptions.stackedChart"  data-ng-value="true"/>Yes</span>
304                 <span><input name="stack" type="radio" ng-model="reportRunJson.barChartOptions.stackedChart" data-ng-value="false"/>No</span>
305         </div>
306         
307         <div class="fn-ebz-container" style="position:relative;margin:10px;">
308                 <label class="fn-ebz-text-label">Show Controls</label><BR>
309                 <span><input  name="shwcontrol" type="radio" ng-model="reportRunJson.barChartOptions.displayBarControls"  data-ng-value="true"/>Yes</span>
310                 <span><input name="shwcontrol" type="radio" ng-model="reportRunJson.barChartOptions.displayBarControls" data-ng-value="false"/>No</span>
311         </div>
312         
313         <div class="fn-ebz-container" style="position:relative;margin:10px;">
314                 <label class="fn-ebz-text-label">XAxis Date Type</label><BR>
315                 <span><input  name="xAxisDtype" type="radio" ng-model="reportRunJson.barChartOptions.xAxisDateType"  data-ng-value="true"/>Yes</span>
316                 <span><input name="xAxisDtype" type="radio" ng-model="reportRunJson.barChartOptions.xAxisDateType" data-ng-value="false"/>No</span>
317         </div>
318         
319         <div class="fn-ebz-container" style="position:relative;margin:10px;">
320                 <label class="fn-ebz-text-label">Display less XAxis tickers</label><BR>
321                 <span><input  name="xTicker" type="radio" ng-model="reportRunJson.barChartOptions.minimizeXAxisTickers"  data-ng-value="true"/>Yes</span>
322                 <span><input name="xTicker" type="radio" ng-model="reportRunJson.barChartOptions.minimizeXAxisTickers" data-ng-value="false"/>No</span>
323         </div><BR>
324         
325         <div class="fn-ebz-container" style="position:relative;margin:10px;">
326                 <label class="fn-ebz-text-label">Is Time Axis?</label><BR>
327                 <span><input  name="timeAxis" type="radio" ng-model="reportRunJson.barChartOptions.timeAxis"  data-ng-value="true"/>Yes</span>
328                 <span><input name="timeAxis" type="radio" ng-model="reportRunJson.barChartOptions.timeAxis" data-ng-value="false"/>No</span>
329         </div>
330         
331         <div class="fn-ebz-container" style="position:relative;margin:10px;">
332                 <label class="fn-ebz-text-label">Log Scale (Y Axis)</label><BR>
333                 <span><input type="checkbox" ng-model="reportRunJson.barChartOptions.yAxisLogScale" att-checkbox data-ng-value="true"></span>
334                 
335         </div>
336  </div>
337
338   </accordion-group>
339 </accordion>
340 </div>
341         {{reportRunJson.chartType}}
342         <div ng-show="reportRunJson.chartType=='TimeSeriesChart'">
343          <accordion close-others="true" css="att-accordion--no-box">
344                 <accordion-group id="accTimeChart"  heading="Time Series Chart Options"  child-length="10">
345                 
346                 <div style="border:2px;border-style:solid;border-color:#808080;margin-bottom:9px">
347                         <div style="margin-left:5px">
348                         <div class="fn-ebz-container">
349                                 <label class="fn-ebz-text-label">Render as</label><BR>
350                                 <span><input  name="renderAs" type="radio" ng-model="reportRunJson.timeSeriesChartOptions.lineChartRenderer"  value="line"/>Line</span>
351                                 <span><input name="orient" type="radio" ng-model="reportRunJson.timeSeriesChartOptions.lineChartRenderer" value="area"/>Area</span>
352                         </div>
353         
354                 <div class="fn-ebz-container" style="position:relative;margin:10px;">
355                         <label class="fn-ebz-text-label">X Axis Label</label><BR>
356                         <span><input type="checkbox" ng-model="reportRunJson.timeSeriesChartOptions.showXAxisLabel" att-checkbox data-ng-value="true"></span>
357                 </div><BR>
358                 
359                 <div class="fn-ebz-container" style="position:relative;bottom:10px;">
360                         <label class="fn-ebz-text-label">X Axis <br>Tickers</label><BR>
361                         <span style="position:relative;top:10px;"><input type="checkbox" ng-model="reportRunJson.timeSeriesChartOptions.addXAxisTicker" att-checkbox data-ng-value="true"></span>
362                 </div>
363                 
364                 <div class="fn-ebz-container" style="position:relative;margin:20px;">
365                         <label class="fn-ebz-text-label">Is Time Axis?</label><BR>
366                         <span><input  name="timeAxisChart" type="radio" ng-model="reportRunJson.timeSeriesChartOptions.nonTimeAxis"  data-ng-value="true"/>Yes</span>
367                         <span><input name="timeAxisChart" type="radio" ng-model="reportRunJson.timeSeriesChartOptions.nonTimeAxis" data-ng-value="false"/>No</span>
368                 </div>
369                 
370                 <div class="fn-ebz-container" style="position:relative;margin:10px;">
371                         <label class="fn-ebz-text-label">Multi Series?</label><BR>
372                         <span><input  name="mSeries" type="radio" ng-model="reportRunJson.timeSeriesChartOptions.multiSeries"  data-ng-value="true"/>Yes</span>
373                         <span><input name="mSeries" type="radio" ng-model="reportRunJson.timeSeriesChartOptions.multiSeries" data-ng-value="false"/>No</span>
374                 </div>
375                  </div>
376                 </div>
377         
378          </accordion-group>
379         </accordion>
380         
381         </div>
382         
383         <div>           
384                 
385                 <accordion close-others="true" css="att-accordion--no-box">
386                 <accordion-group id="accFlexTimeChart"  heading="Flex Time Series Chart Options"  child-length="10">
387                 
388                 <div style="border:2px;border-style:solid;border-color:#808080;margin-bottom:9px">
389                         <div style="margin-left:5px">
390                 <div class="fn-ebz-container">
391                         <label class="fn-ebz-text-label">Zoom-In Window</label><BR>
392                         <span><input type="text" name="zWindow" only-digits maxlength=3 ng-model="reportRunJson.flexTimeSeriesChartOptions.zoomIn"></span>
393                 </div>
394                 
395                 <div class="fn-ebz-container" style="position:relative;margin:10px;">
396                         <label class="fn-ebz-text-label">Time Axis Type</label><BR>
397                         <span><input  name="timeAxisType" type="radio" ng-model="reportRunJson.flexTimeSeriesChartOptions.timeAxisType"  value="weekly"/>Weekly</span>
398                         <span><input name="timeAxisType" type="radio" ng-model="reportRunJson.flexTimeSeriesChartOptions.timeAxisType" value="daily"/>Daily</span>
399                         <span><input name="timeAxisType" type="radio" ng-model="reportRunJson.flexTimeSeriesChartOptions.timeAxisType" value="hourly"/>Hourly</span>
400                         <span><input name="timeAxisType" type="radio" ng-model="reportRunJson.flexTimeSeriesChartOptions.timeAxisType" value="30min"/>30 Min</span>
401                 </div>
402           </div>
403          </div>
404                 </accordion-group>
405         </accordion>
406         
407         </div>  
408         
409         
410         
411         
412         
413         
414          
415         
416         <accordion close-others="true" css="att-accordion--no-box">
417         <accordion-group id="accCommonOptions"  heading="Common Options"  child-length="10">
418         
419         <div style="border:2px;border-style:solid;border-color:#808080;margin-bottom:9px">
420         <div style="margin-left:5px">
421         <div class="fn-ebz-container">
422                 <label class="fn-ebz-text-label">Legend Angle</label><BR>
423                 <span><input name="langle" type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" value="up45"/>up 45&deg;</span>
424                 <span><input name="langle" type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" value="up90"/>up 90&deg;</span>
425             <span><input name="langle" type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" value="down45"/>down 45&deg;</span>
426             <span><input name="langle" type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" value="down90"/>down 90&deg;</span>
427             <span><input name="langle" type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" value="standard"/>Standard</span>
428         </div>
429         
430         <div class="fn-ebz-container" style="position:relative;margin:15px;">
431                 <label class="fn-ebz-text-label">Legend Position</label><BR>
432                 <span><input  name="lgPosition" type="radio" ng-model="reportRunJson.commonChartOptions.legendPosition"  value="top"/>Top</span>
433                 <span><input name="lgPosition" type="radio" ng-model="reportRunJson.commonChartOptions.legendPosition" value="bottom"/>Bottom</span>
434         </div><BR>
435         
436         <div class="fn-ebz-container">
437                 <label class="fn-ebz-text-label">Legend</label><BR>
438                 <span><input name="lgd" type="radio" ng-model="reportRunJson.commonChartOptions.hideLegend" data-ng-value="false"/>Yes</span>
439                 <span><input name="lgd" type="radio" ng-model="reportRunJson.commonChartOptions.hideLegend" data-ng-value="true"/>No</span>
440         </div>
441         
442         <div class="fn-ebz-container" style="position:relative;margin:10px;">
443                 <label class="fn-ebz-text-label">Animation</label><BR>
444                 <span><input name="anmtate"  type="radio" ng-model="reportRunJson.commonChartOptions.animateAnimatedChart" data-ng-value="true" />Yes</span>
445                 <span><input name="anmtate"  type="radio" ng-model="reportRunJson.commonChartOptions.animateAnimatedChart" data-ng-value="false"/>No</span>
446         </div><BR>
447         
448         <div class="fn-ebz-container">
449                 <label class="fn-ebz-text-label">Top Margin</label><BR>
450                 <input type="text" name="reportRunJson.commonChartOptions.topMargin" only-digits maxlength=3 ng-model="reportRunJson.commonChartOptions.topMargin" style="width:210px"/>
451         </div>
452         <div class="fn-ebz-container">
453                 <label class="fn-ebz-text-label">Bottom Margin</label><BR>
454                 <input type="text" name="reportRunJson.commonChartOptions.bottomMargin" only-digits maxlength=3 ng-model="reportRunJson.commonChartOptions.bottomMargin"  style="width:210px"/>
455         </div>
456         <div class="fn-ebz-container">
457                 <label class="fn-ebz-text-label">Left Margin</label><BR>
458                 <input type="text" name="reportRunJson.commonChartOptions.leftMargin" only-digits maxlength=3 ng-model="reportRunJson.commonChartOptions.leftMargin" style="width:210px"/>
459         </div>
460         <div class="fn-ebz-container">
461                 <label class="fn-ebz-text-label">Right Margin</label><BR>
462                 <input type="text" name="reportRunJson.commonChartOptions.rightMargin" only-digits maxlength=3 ng-model="reportRunJson.commonChartOptions.rightMargin" style="width:210px">
463           </div><BR>
464          </div>
465         </div>
466  </accordion-group>
467 </accordion>
468         <br/><br/>
469         <a href="javascript:void(0)" att-button btn-type="primary" att-accessibility-click="13,32" ng-click="saveChartData();">Save</a>
470         <a href="report#/report_run/c_master={{reportRunJson.reportID}}&refresh=Y" att-button btn-type="primary" att-accessibility-click="13,32">Run</a>
471 </div>
472
473 <div>
474     <b2b-expanders class="mpc-expanders" is-open="additionalOptionOpen">            
475         <b2b-expander-heading>
476             <div class="row">    
477                 <div class="span6">
478                     <div class="heading-medium b2b-blue" ng-class=" { 'b2b-toggle-header-active': !additionalOptionOpen, 'b2b-toggle-header-inactive': additionalOptionOpen } ">Additional Options</div>
479                     <p class="p-small">
480                     </p>                    
481                 </div>
482                 <div style="position: absolute;right: 250px;" class="span1">
483                         <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>
484                 </div>  
485             </div>    
486         </b2b-expander-heading>               
487         <b2b-expander-body>                   
488             <div>        
489                                 <div id="RangeTable">
490                                 <table>
491                                         <thead>
492                                             <tr>
493                                                 <th width="30%">Primary Axis Label</th>
494                                                 <th  width="30%">Secondary Axis Label</th>
495                                                 <th></th>               
496                                             </tr>
497                                         </thead>
498                                     <tbody>
499                                         <tr>
500                                             <td>
501                                                 <input type="text" name="primaryAxisLabel" ng-model="reportRunJson.primaryAxisLabel" style="width:200px;">
502                                             </td>
503                                             <td>
504                                                 <input type="text" name="secondaryAxisLabel" ng-model="reportRunJson.secondaryAxisLabel" style="width:200px;">
505                                             </td>
506                                         </tr>
507                                     </tbody>
508                                 </table>
509                                 <table>
510                                         <thead>
511                                             <tr>
512                                                 <th width="30%">Range Axis Minimum Range</th>
513                                                 <th  width="30%">Maximum Range</th>
514                                                 <th></th>
515                                             </tr>
516                                         </thead>
517                                     <tbody>
518                                         <tr>
519                                             <td>
520                                                 <input type="text" name="minRange" ng-model="reportRunJson.minRange" style="width:200px;">
521                                             </td>
522                                             <td>
523                                                 <input type="text" name="maxRange" ng-model="reportRunJson.maxRange" style="width:200px;">
524                                             </td>
525                                         </tr>
526                                     </tbody>
527                                 </table>
528                                 </div>                  
529                         </div>
530         </b2b-expander-body>     
531     </b2b-expanders>
532
533         <!-- BAR CHART OPTION SECTION STARTS HERE -->
534     <b2b-expanders ng-show="reportRunJson.chartType=='BarChart3D'" class="mpc-expanders" is-open="barChartOptionOpen">            
535         <b2b-expander-heading>
536             <div class="row">    
537                 <div class="span6">
538                     <div class="heading-medium b2b-blue" ng-class=" { 'b2b-toggle-header-active': !barChartOptionOpen, 'b2b-toggle-header-inactive': barChartOptionOpen } ">Bar Chart Options</div>
539                     <p class="p-small">
540                     </p>                    
541                 </div>
542                 <div style="position: absolute;right: 250px;" class="span1">
543                         <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>
544                 </div>
545             </div>    
546         </b2b-expander-heading>               
547         <b2b-expander-body>                   
548             <div>        
549                                 <div id="RangeTable">
550                                 <table>
551                                         <thead>
552                                             <tr>
553                                                 <th width="25%">Orientation</th>
554                                                 <th  width="18%">Stacked</th>
555                                                 <th  width="18%">Show Controls</th>
556                                                 <th  width="18%">XAxis Date Type</th>
557                                                 <th  width="21%">Display less XAxis tickers</th>                                                
558                                                 <th></th>               
559                                             </tr>
560                                         </thead>
561                                     <tbody>
562                                         <tr>
563                                             <td>
564                                                             <label for="optionsOrientationVertical" class="radio">
565                                                                 <input type="radio" ng-model="reportRunJson.barChartOptions.verticalOrientation" id="optionsOrientationVertical" name="optionsOrientationVertical" value="true">
566                                                                 <i class="skin"></i>
567                                                                 <span>Vertical</span>
568                                                             </label>            
569                                                             <label for="optionsOrientationHorizontal" class="radio">
570                                                                 <input type="radio" ng-model="reportRunJson.barChartOptions.verticalOrientation" id="optionsOrientationHorizontal" name="optionsOrientationHorizontal" value="false">
571                                                                 <i class="skin"></i>
572                                                                 <span>Horizontal</span>
573                                                             </label>            
574                                             </td>
575                                             
576                                             <td>
577                                                             <label for="optionsStackedYes" class="radio">
578                                                                 <input type="radio" ng-model="reportRunJson.barChartOptions.stackedChart" id="optionsStackedYes" name="optionsStackedYes" value="true">
579                                                                 <i class="skin"></i>
580                                                                 <span>Yes</span>
581                                                             </label>            
582                                                             <label for="optionsStackedNo" class="radio">
583                                                                 <input type="radio" ng-model="reportRunJson.barChartOptions.stackedChart" id="optionsStackedNo" name="optionsStackedNo" value="false">
584                                                                 <i class="skin"></i>
585                                                                 <span>No</span>
586                                                             </label>                                        
587                                             </td>
588                                             <td>
589                                                             <label for="optionsShowControlYes" class="radio">
590                                                                 <input type="radio" ng-model="reportRunJson.barChartOptions.displayBarControls" id="optionsShowControlYes" name="optionsShowControlYes" value="true">
591                                                                 <i class="skin"></i>
592                                                                 <span>Yes</span>
593                                                             </label>            
594                                                             <label for="optionsShowControlNo" class="radio">
595                                                                 <input type="radio" ng-model="reportRunJson.barChartOptions.displayBarControls" id="optionsShowControlNo" name="optionsShowControlNo" value="false">
596                                                                 <i class="skin"></i>
597                                                                 <span>No</span>
598                                                             </label>                                        
599                                             </td>
600                                             <td>
601                                                             <label for="optionsXAxisDateTypeYes" class="radio">
602                                                                 <input type="radio" ng-model="reportRunJson.barChartOptions.xAxisDateType" id="optionsXAxisDateTypeYes" name="optionsXAxisDateTypeYes" value="true">
603                                                                 <i class="skin"></i>
604                                                                 <span>Yes</span>
605                                                             </label>            
606                                                             <label for="optionsXAxisDateTypeNo" class="radio">
607                                                                 <input type="radio" ng-model="reportRunJson.barChartOptions.xAxisDateType" id="optionsXAxisDateTypeNo" name="optionsXAxisDateTypeNo" value="false">
608                                                                 <i class="skin"></i>
609                                                                 <span>No</span>
610                                                             </label>                                        
611                                             </td>                                           
612                                             <td>
613                                                             <label for="optionsMinimizeXAxisTickersYes" class="radio">
614                                                                 <input type="radio" ng-model="reportRunJson.barChartOptions.minimizeXAxisTickers" id="optionsMinimizeXAxisTickersYes" name="optionsMinimizeXAxisTickersYes" value="true">
615                                                                 <i class="skin"></i>
616                                                                 <span>Yes</span>
617                                                             </label>            
618                                                             <label for="optionsMinimizeXAxisTickersNo" class="radio">
619                                                                 <input type="radio" ng-model="reportRunJson.barChartOptions.minimizeXAxisTickers" id="optionsMinimizeXAxisTickersNo" name="optionsMinimizeXAxisTickersNo" value="false">
620                                                                 <i class="skin"></i>
621                                                                 <span>No</span>
622                                                             </label>                                        
623                                             </td>                                           
624                                         </tr>
625                                     </tbody>
626                                 </table>
627                                 <table>
628                                         <thead>
629                                             <tr>
630                                                 <th width="25%">Is Time Axis?</th>
631                                                 <th  width="25%">Log Scale (Y Axis)</th>
632                                                 <th></th>
633                                             </tr>
634                                         </thead>
635                                     <tbody>
636                                         <tr>
637                                             <td>
638                                                     <label for="optionsTimeAxisYes" class="radio">
639                                                         <input type="radio" ng-model="reportRunJson.barChartOptions.timeAxis" id="optionsTimeAxisYes" name="optionsTimeAxisYes" value="true">
640                                                         <i class="skin"></i>
641                                                         <span>Yes</span>
642                                                     </label>            
643                                                     <label for="optionsTimeAxisNo" class="radio">
644                                                         <input type="radio" ng-model="reportRunJson.barChartOptions.timeAxis" id="optionsTimeAxisNo" name="optionsTimeAxisNo" value="false">
645                                                         <i class="skin"></i>
646                                                         <span>No</span>
647                                                     </label>                                        
648                                             </td>
649                                             <td>
650                                                 <label for="logScaleYAxisCheckBox" class="checkbox">
651                                                     <input id="logScaleYAxisCheckBox" type="checkbox" ng-model="reportRunJson.barChartOptions.yAxisLogScale" /><i class="skin"></i><span></span>
652                                                 </label>                                                    
653                                             </td>
654                                         </tr>
655                                     </tbody>
656                                 </table>
657                                 </div>                  
658                         </div>
659         </b2b-expander-body>     
660     </b2b-expanders>
661         <!-- BAR CHART OPTION SECTION ENDS HERE -->
662
663         <!-- TIME SERIES CHART OPTION SECTION STARTS HERE -->
664     <b2b-expanders ng-show="reportRunJson.chartType=='TimeSeriesChart'" class="mpc-expanders" is-open="timeSeriesChartOptionOpen">            
665         <b2b-expander-heading>
666             <div class="row">    
667                 <div class="span6">
668                     <div class="heading-medium b2b-blue" ng-class=" { 'b2b-toggle-header-active': !timeSeriesChartOptionOpen, 'b2b-toggle-header-inactive': timeSeriesChartOptionOpen } ">Time Series Chart Options</div>
669                     <p class="p-small">
670                     </p>                    
671                 </div>
672                 <div style="position: absolute;right: 250px;" class="span1">
673                         <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>
674                 </div>  
675             </div>    
676         </b2b-expander-heading>               
677         <b2b-expander-body>                   
678             <div>        
679                                 <div>
680                                 <table>
681                                         <thead>
682                                             <tr>
683                                                 <th width="20%">Render as</th>
684                                                 <th width="20%">X Axis Label</th>
685                                                 <th width="20%">X Axis Tickers</th>
686                                                 <th width="20%">Is Time Axis?</th>
687                                                 <th width="20%">Multi Series</th>                                                                                               
688                                             </tr>
689                                         </thead>
690                                     <tbody>
691                                         <tr>
692                                             <td>
693                                                     <label for="optionsLineChartRendererLine" class="radio">
694                                                         <input type="radio" ng-model="reportRunJson.timeSeriesChartOptions.lineChartRenderer" id="optionsLineChartRendererLine" name="optionsLineChartRendererLine" value="line">
695                                                         <i class="skin"></i>
696                                                         <span>Line</span>
697                                                     </label>            
698                                                     <label for="optionsLineChartRendererArea" class="radio">
699                                                         <input type="radio" ng-model="reportRunJson.timeSeriesChartOptions.lineChartRenderer" id="optionsLineChartRendererArea" name="optionsLineChartRendererArea" value="area">
700                                                         <i class="skin"></i>
701                                                         <span>Area</span>
702                                                     </label>                                        
703                                             </td>
704                                             <td>
705                                                 <label for="xAxisLabelCheckBox" class="checkbox">
706                                                     <input id="xAxisLabelCheckBox" type="checkbox" ng-model="reportRunJson.timeSeriesChartOptions.showXAxisLabel" /><i class="skin"></i><span></span>
707                                                 </label>                                                                                            
708                                             </td>
709                                             <td>
710                                                 <label for="addXAxisTickerCheckBox" class="checkbox">
711                                                     <input id="addXAxisTickerCheckBox" type="checkbox" ng-model="reportRunJson.timeSeriesChartOptions.addXAxisTicker" /><i class="skin"></i><span></span>
712                                                 </label>                                                                                            
713                                             </td>
714                                             <td>
715                                                 <label for="isTimeAxisCheckBox" class="checkbox">
716                                                     <input id="isTimeAxisCheckBox" type="checkbox" ng-model="reportRunJson.timeSeriesChartOptions.nonTimeAxis" /><i class="skin"></i><span></span>
717                                                 </label>
718                                             </td>
719                                             <td>
720                                                 <label for="multiSeriesCheckBox" class="checkbox">
721                                                     <input id="multiSeriesCheckBox" type="checkbox" ng-model="reportRunJson.timeSeriesChartOptions.multiSeries" /><i class="skin"></i><span></span>
722                                                 </label>
723                                             </td>
724                                         </tr>
725                                     </tbody>
726                                 </table>
727                                 </div>                  
728                         </div>
729         </b2b-expander-body>     
730     </b2b-expanders>
731         <!-- TIME SERIES CHART OPTION SECTION ENDS HERE -->
732
733     <b2b-expanders class="mpc-expanders" is-open="commonOptionOpen">            
734         <b2b-expander-heading>
735             <div class="row">    
736                 <div class="span6">
737                     <div class="heading-medium b2b-blue" ng-class=" { 'b2b-toggle-header-active': !commonOptionOpen, 'b2b-toggle-header-inactive': commonOptionOpen } ">Common Options</div>
738                     <p class="p-small">
739                     </p>                    
740                 </div>
741                 <div style="position: absolute;right: 250px;" class="span1">
742                         <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>
743                 </div>  
744             </div>    
745         </b2b-expander-heading>               
746         <b2b-expander-body>                   
747             <div >
748                 <div>
749                                         <div style="border:2px;border-style:solid;border-color:#808080;margin-bottom:9px">
750                                                 <div style="margin-left:0px">
751                                                         <table> 
752                                                         <thead>
753                                                             <tr>
754                                                                 <th>Legend Angle</th>
755                                                                 <th>Legend Position</th>
756                                                             </tr>
757                                                         </thead>
758                                                     <tbody>
759                                                         <tr>
760                                                                 <fieldset role="radiogroup" radio-group-accessibility>
761                                                             <td>
762                                                             <label for="optionsRadios1" class="radio">
763                                                                 <input type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" id="optionsRadios1" name="optionsRadio1" value="up45">
764                                                                 <i class="skin"></i>
765                                                                 <span>up 45&deg;</span>
766                                                             </label>            
767                                                             <label for="optionsRadios2" class="radio">
768                                                                 <input type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" id="optionsRadios2" name="optionsRadio2" value="up90">
769                                                                 <i class="skin"></i>
770                                                                 <span>up 90&deg;</span>
771                                                             </label>            
772                                                             <label for="optionsRadios3" class="radio">
773                                                                 <input type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" id="optionsRadios3" name="optionsRadio3" value="down45">
774                                                                 <i class="skin"></i>
775                                                                 <span>down 45&deg;</span>
776                                                             </label>            
777                                                             <label for="optionsRadios4444" class="radio">
778                                                                 <input type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" id="optionsRadios4444" name="optionsRadio44" value="down90">
779                                                                 <i class="skin"></i>
780                                                                 <span>down 90&deg;</span>
781                                                             </label>            
782                                                             <label for="optionsRadios5555" class="radio">
783                                                                 <input type="radio" ng-model="reportRunJson.commonChartOptions.legendLabelAngle" id="optionsRadios5555" name="optionsRadio55" value="standard">
784                                                                 <i class="skin"></i>
785                                                                 <span>Standard</span>
786                                                             </label>            
787                                                             </td>    
788                                                             </fieldset>
789                                                             
790                                                             <fieldset role="radiogroup" radio-group-accessibility>
791                                                             <td>
792                                                             <label for="optionsRadiosTop" class="radio">
793                                                                 <input type="radio" ng-model="reportRunJson.commonChartOptions.legendPosition" id="optionsRadiosTop" name="optionsRadioTop" value="top">
794                                                                 <i class="skin"></i>
795                                                                 <span>Top</span>
796                                                             </label>            
797                                                             <label for="optionsRadiosBottom" class="radio">
798                                                                 <input type="radio" ng-model="reportRunJson.commonChartOptions.legendPosition" id="optionsRadiosBottom" name="optionsRadioBottom" value="bottom">
799                                                                 <i class="skin"></i>
800                                                                 <span>Bottom</span>
801                                                             </label>            
802                                                             </td>                    
803                                                             </fieldset>
804                                                         </tr>
805                                                     </tbody>
806                                                 </table>
807
808
809                                                 <table> 
810                                                 <thead>
811                                                     <tr>
812                                                         <th width="20%">Legend</th>
813                                                         <th width="20%">Animation</th>
814                                                         <th></th>
815                                                     </tr>
816                                                 </thead>
817                                             <tbody>
818                                                 <tr>
819                                                         <fieldset role="radiogroup" radio-group-accessibility>
820                                                     <td>
821                                                     <label for="optionsRadiosHideLegendFalse" class="radio">
822                                                         <input type="radio" ng-model="reportRunJson.commonChartOptions.hideLegend" id="optionsRadiosHideLegendFalse" name="optionsRadiosHideLegendFalse" value="false">
823                                                         <i class="skin"></i>
824                                                         <span>Yes</span>
825                                                     </label>            
826                                                     <label for="optionsRadiosHideLegendTrue" class="radio">
827                                                         <input type="radio" ng-model="reportRunJson.commonChartOptions.hideLegend" id="optionsRadiosHideLegendTrue" name="optionsRadiosHideLegendTrue" value="true">
828                                                         <i class="skin"></i>
829                                                         <span>No</span>
830                                                     </label>            
831                                                     </td>    
832                                                     </fieldset>
833                                                     
834                                                     <fieldset role="radiogroup" radio-group-accessibility>
835                                                     <td>
836                                                     <label for="optionsRadiosAnimateChartTrue" class="radio">
837                                                         <input type="radio" ng-model="reportRunJson.commonChartOptions.animateAnimatedChart" id="optionsRadiosAnimateChartTrue" name="optionsRadiosAnimateChartTrue" value="true">
838                                                         <i class="skin"></i>
839                                                         <span>Yes</span>
840                                                     </label>            
841                                                     <label for="optionsRadiosAnimateChartFalse" class="radio">
842                                                         <input type="radio" ng-model="reportRunJson.commonChartOptions.animateAnimatedChart" id="optionsRadiosAnimateChartFalse" name="optionsRadiosAnimateChartFalse" value="false">
843                                                         <i class="skin"></i>
844                                                         <span>No</span>
845                                                     </label>            
846                                                     </td>                    
847                                                     </fieldset>
848                                                     <td>
849                                                     </td>
850                                                 </tr>
851                                             </tbody>
852                                         </table>
853
854                                         <table>
855                                                 <thead>
856                                                     <tr>
857                                                         <th width="25%">Top Margin</th>
858                                                         <th width="25%">Bottom Margin</th>
859                                                         <th width="25%">Left Margin</th>
860                                                         <th width="25%">Right Margin</th>
861                                                     </tr>
862                                                 </thead>
863                                             <tbody>
864                                                 <tr>
865                                                     <td>
866                                                         <input type="text" name="topMargin" ng-model="reportRunJson.commonChartOptions.topMargin" style="width:200px;">
867                                                     </td>
868                                                     <td>
869                                                         <input type="text" name="bottomMargin" ng-model="reportRunJson.commonChartOptions.bottomMargin" style="width:200px;">
870                                                     </td>
871                                                     <td>
872                                                         <input type="text" name="leftMargin" ng-model="reportRunJson.commonChartOptions.leftMargin" style="width:200px;">
873                                                     </td>
874                                                     <td>
875                                                         <input type="text" name="rightMargin" ng-model="reportRunJson.commonChartOptions.rightMargin" style="width:200px;">
876                                                     </td>
877                                                 </tr>
878                                             </tbody>
879                                         </table>
880                                 </div>                  
881             </div>
882            </div>
883         </b2b-expander-body>     
884     </b2b-expanders>
885
886 </div>
887 </div>
888         <div>
889         <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>        
890         <a href="report#/report_run/c_master={{reportRunJson.reportID}}&refresh=Y">
891         <button type="submit" style="width: 90px; height:35px;margin-top:20px; margin-left:5px;" class="btn btn-alt btn-small">Run</button>
892         </a>
893         </div>    
894 </div>