1. Changed layout per Katy's suggestion for Temporal Graph Vis.

2. Refactored javascript code for Temporal graph vis.
3. Fixed couple of bugs including the one in which an entity had only one publication the line graph showed weird behavior.
4. Modified the behavior of the temporal linear graph to always try to display last 10 years at least on the line graph.
This commit is contained in:
cdtank 2011-01-19 23:47:52 +00:00
parent 239b6d40d7
commit 6af3fee6b1
5 changed files with 127 additions and 48 deletions

View file

@ -248,7 +248,7 @@ var organizationLabel = '${organizationLabel}';
*/
$.each($("input.if_clicked_on_school"), function(index, checkbox) {
if (index > 0) {
if (index > 2) {
return false;
}
@ -306,8 +306,9 @@ var organizationLabel = '${organizationLabel}';
</div>
<h3>Who do you want to compare?</h3>
<div id="paginatedTable"></div>
<br />
<div id="paginated-table-footer">
<a id="csv" href="${TemporalGraphDownloadFile}" class="temporalGraphLinks">Save as CSV</a>
</div>
</div>
<#--
<div id = "stopwordsdiv">
@ -329,8 +330,11 @@ var organizationLabel = '${organizationLabel}';
<div id="bottom">
<h3><span id="comparisonParameter"></span></h3>
<p class="displayCounter">You have selected <span id="counter">0</span> of a maximum
<span id="total">10</span> <span id="entityleveltext"> schools</span> to compare.
<a id="clear" class="temporalGraphLinks">Clear</a></p>
<span id="total">10</span> <span id="entityleveltext"> schools</span> to compare.
<span id="legend-row-header">
<a id="clear" class="temporalGraphLinks">Clear</a>
</span>
</p>
</div>
</div>