commit/galaxy-central: guerler: Charts: Fix legend hiding for heatmaps
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/5a12c832b682/ Changeset: 5a12c832b682 User: guerler Date: 2014-06-16 15:51:01 Summary: Charts: Fix legend hiding for heatmaps Affected #: 1 file diff -r d3a0b4b9da32927b5aab806f1a991594285475f7 -r 5a12c832b682c9c906a8e52d17a746d3f45177ee config/plugins/visualizations/charts/static/charts/others/heatmap/heatmap-plugin.js --- a/config/plugins/visualizations/charts/static/charts/others/heatmap/heatmap-plugin.js +++ b/config/plugins/visualizations/charts/static/charts/others/heatmap/heatmap-plugin.js @@ -139,7 +139,11 @@ this._buildBoxes(); this._buildX(); this._buildY(); - this._buildLegend(); + + // show legend only if requested + if (this.chart.settings.get('show_legend') == 'true') { + this._buildLegend(); + } }, // y axis Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org