1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/c93e85d8ac0d/ Changeset: c93e85d8ac0d User: guerler Date: 2014-06-04 07:52:58 Summary: Charts: Remove helper function Affected #: 1 file diff -r 2df424fc0536831e49b09d4d2ffa3a111fba1282 -r c93e85d8ac0d28ea07a985ddd15f014216dd6ddb config/plugins/visualizations/charts/static/charts/highcharts/common/highcharts-config.js --- a/config/plugins/visualizations/charts/static/charts/highcharts/common/highcharts-config.js +++ b/config/plugins/visualizations/charts/static/charts/highcharts/common/highcharts-config.js @@ -3,15 +3,6 @@ // widget return function(chart, settings) { - // helper label enabled - var labelEnabled = function(axis) { - if (settings.get(axis + '_type') == 'hide') { - return false; - } else { - return true; - } - }; - // highcharts configuration return { chart: { @@ -48,7 +39,7 @@ var format = d3.format(settings.get('x_axis_tick') + settings.get('x_axis_type')); return format(this.value); }, - enabled : labelEnabled('x_axis') + enabled : !(settings.get('x_axis_type') == 'hide') }, tickPixelInterval : 100 }, @@ -62,7 +53,7 @@ var format = d3.format(settings.get('y_axis_tick') + settings.get('y_axis_type')); return format(this.value); }, - enabled : labelEnabled('y_axis') + enabled : !(settings.get('y_axis_type') == 'hide') } }, 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.