Ignore:
Timestamp:
Oct 10, 2011, 6:09:59 PM (11 years ago)
Author:
tjeerd@…
Message:

VIS-31 and VIS-23, added some aggregation and other advanced settings. The option "no aggregation" is not present yet. There is also an error with the count-aggregation (see VIS-34)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/visualize/index.gsp

    r2051 r2055  
    4747
    4848                <span class="topmenu_item" id="menu_study">
    49                     <span class="topmenu_item_label"><img src="${fam.icon( name: 'report' )}" style="vertical-align: text-bottom; display: inline-block;"/>&nbsp;Study<img src="${resource(dir: 'images', file: 'spinner.gif')}" class="spinner" />:</span>
    50                     <span class="topmenu_item_info">no study selected</span>
     49                    <div class="topmenu_item_label"><img src="${fam.icon( name: 'report' )}" style="vertical-align: text-bottom; display: inline-block;"/>&nbsp;Study<img src="${resource(dir: 'images', file: 'spinner.gif')}" class="spinner" />:</div>
     50                    <div class="topmenu_item_info">no study selected</div>
    5151                    <img src="${fam.icon( name: 'bullet_arrow_down' )}" style="vertical-align: text-bottom; display: inline-block;"/>
    5252                    <div class="formulier">
     
    5858                </span>
    5959
    60                
     60                <span class="menu_seperator">&nbsp;</span>
     61
     62                <span class="topmenu_item" id="menu_aggregation">
     63                    <span class="topmenu_item_label"><img src="${fam.icon( name: 'server_chart' )}" style="vertical-align: text-bottom; display: inline-block;"/>&nbsp;Aggregation:</span>
     64                    <span class="topmenu_item_info">AVERAGE</span>
     65                    <img src="${fam.icon( name: 'bullet_arrow_down' )}" style="vertical-align: text-bottom; display: inline-block;"/>
     66                    <div class="formulier">
     67                        <p class="info">Select a way to aggregate the data.</p>
     68                        <p>
     69                            <select name="aggregation" size="5" onchange="$('#menu_aggregation').children('.topmenu_item_info').html($(this).val().toUpperCase()); changeVis();">
     70                                <option value="average" SELECTED>Average</option>
     71                                <option value="count">Count</option>
     72                                <option value="median">Median</option>
     73                                <option value="none" disabled>No aggregation</option>
     74                                <option value="sum">Sum</option>
     75                            </select>
     76                        </p>
     77                    </div>
     78                </span>
    6179
    6280                <span class="menu_seperator">&nbsp;</span>
     
    6684                    <img src="${fam.icon( name: 'bullet_arrow_down' )}" style="vertical-align: text-bottom; display: inline-block;"/>
    6785                    <div class="formulier">
    68                         <p class="info">Advanced settings.</p>
    69                         <p>
    70                             Visualize the data as soon as enough parameters are known.
    71                             <input type="checkbox" name="autovis" id="autovis" CHECKED/>
    72                         </p>
     86                        <table>
     87                            <tr>
     88                                <td>Visualize the data as soon as enough parameters are known.</td>
     89                                <td><input type="checkbox" name="autovis" id="autovis" CHECKED/></td>
     90                            </tr>
     91                            <tr>
     92                                <td>Always show values in the graph.<br />(if this box is unchecked, value's are only shown when you hover over a datapoint)</td>
     93                                <td><input type="checkbox" name="showvalues" id="showvalues" onClick="changeVis();"/></td>
     94                            </tr>
     95                        </table>
    7396                    </div>
    7497                </span>
Note: See TracChangeset for help on using the changeset viewer.