Scatterplot: wind down current development, fix label assignment, flatten model config, style fixes

This commit is contained in:
Carl Eberhard
2014-03-14 13:44:26 -04:00
parent 095d7098e5
commit 72907724b8
8 changed files with 21 additions and 16 deletions
@@ -184,7 +184,7 @@ var ScatterplotDisplay = Backbone.View.extend({
//console.debug( JSON.stringify( stats, null, ' ' ) );
var config = this.model.get( 'config' ),
$statsTable = this.$el.find( '.stats-display' ),
xLabel = config.x.label, yLabel = config.y.label,
xLabel = config.xLabel, yLabel = config.yLabel,
$table = $( '<table/>' ).addClass( 'table' )
.append([ '<thead><th></th><th>', xLabel, '</th><th>', yLabel, '</th></thead>' ].join( '' ))
.append( _.map( stats, function( stat, key ){