Skip to content

Instantly share code, notes, and snippets.

@tristanpendergrass
Created November 10, 2014 17:00
Show Gist options
  • Save tristanpendergrass/01164f5757ae3225320b to your computer and use it in GitHub Desktop.
Save tristanpendergrass/01164f5757ae3225320b to your computer and use it in GitHub Desktop.
<div class="controls" ng-if="floorPlanDataChunkCount > 1">
<div class="checkbox-group">
<label for="show-cumulative">Totals</label>
<input id="show-cumulative" type="checkbox" ng-model="showTotal" />
</div>
<div ng-hide="showTotal" class="heat-map-controls">
<img src="static/images/videoPlayIcon.png" class="play-animation-icon" ng-click="startAnimation()" ng-if="!isAnimating" />
<div class="play-animation-icon" ng-if="isAnimating"></div>
<div jquery-slider callback="setInstanceData" chunk-count="floorPlanDataChunkCount"></div>
</div>
</div>
<div class="slider-time-display">{{instanceTime}}</div>
<div class="graphContainer" ng-hide="showTotal">
<heat-map-legend data="legendKeys"></heat-map-legend>
<div class="floorPlan">
<img ng-src="{{floorPlanImgSrc}}"/>
<canvas heat-map data="instanceData" coords="locationCoords"></canvas>
</div>
</div>
<div class="graphContainer" ng-show="showTotal">
<heat-map-legend data="legendKeys"></heat-map-legend>
<div class="floorPlan">
<img ng-src="{{floorPlanImgSrc}}"/>
<canvas heat-map data="graph3CumulativeData" coords="locationCoords"></canvas>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment