Commit 9388ce29 authored by joshua-gould's avatar joshua-gould

fixed initial display when "color by"

parent 714d3107
......@@ -259,6 +259,7 @@ morpheus.HeatMapColorSchemeChooser.prototype = {
if (this.colorScheme.setCurrentValue) {
this.colorScheme.setCurrentValue(this.currentValue);
}
this.setColorScheme(this.colorScheme);
},
setColorScheme : function(colorScheme) {
this.colorScheme = colorScheme;
......
......@@ -286,6 +286,7 @@ morpheus.HeatMapOptions = function(controller) {
controller.project.getFullDataset().getRowMetadata()
.getByName(separateSchemesField)).keys()));
}
colorSchemeChooser.setColorScheme(controller.heatmap.getColorScheme());
if (separateSchemesField != null) {
colorSchemeChooser.setCurrentValue($colorByValue.val());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment