Commit f5b5bfaf authored by jgould's avatar jgould

check if color scheme provided

parent 7406a560
......@@ -409,7 +409,8 @@ morpheus.HeatMap = function(options) {
_this.options.dataset = joined;
_this._init();
if (joined.getRowMetadata().getByName('Source') != null) {
if (joined.getRowMetadata().getByName('Source') != null
&& !_this.options.colorScheme) {
_this.heatmap.getColorScheme()
.setSeparateColorSchemeForRowMetadataField(
'Source');
......
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