1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/385c4b53694e/ Changeset: 385c4b53694e User: guerler Date: 2014-06-18 12:42:11 Summary: Charts: Fix jqplot bar axis Affected #: 4 files diff -r 45963b149ddb39de0e62617a49e0af59e7f2fc06 -r 385c4b53694eb1838c0f2487b38b4e798b16c522 config/plugins/visualizations/charts/static/charts/jqplot/bar/wrapper.js --- a/config/plugins/visualizations/charts/static/charts/jqplot/bar/wrapper.js +++ b/config/plugins/visualizations/charts/static/charts/jqplot/bar/wrapper.js @@ -20,7 +20,12 @@ makeConfig : function(groups, plot_config){ $.extend(true, plot_config, { seriesDefaults: { - renderer : $.jqplot.BarRenderer + renderer : $.jqplot.BarRenderer + }, + axes: { + xaxis: { + min : -1 + } } }); } diff -r 45963b149ddb39de0e62617a49e0af59e7f2fc06 -r 385c4b53694eb1838c0f2487b38b4e798b16c522 config/plugins/visualizations/charts/static/charts/jqplot/common/plot-config.js --- a/config/plugins/visualizations/charts/static/charts/jqplot/common/plot-config.js +++ b/config/plugins/visualizations/charts/static/charts/jqplot/common/plot-config.js @@ -16,8 +16,8 @@ showLine : true, // whether to render the line segments or not. rendererOptions: { shadowDepth : 0, - //barDirection : 'horizontal', - barWidth : 1 + barWidth : 3, + barPadding : 3 }, markerRenderer : $.jqplot.MarkerRenderer, markerOptions: { @@ -56,7 +56,6 @@ angle : chart.settings.get('use_panels') === 'true' ? 0 : -30, showGridline : chart.settings.get('x_axis_grid') === 'true' }, - tickInterval : 1, pad : 0 }, yaxis: { diff -r 45963b149ddb39de0e62617a49e0af59e7f2fc06 -r 385c4b53694eb1838c0f2487b38b4e798b16c522 config/plugins/visualizations/charts/static/charts/jqplot/common/wrapper.js --- a/config/plugins/visualizations/charts/static/charts/jqplot/common/wrapper.js +++ b/config/plugins/visualizations/charts/static/charts/jqplot/common/wrapper.js @@ -134,7 +134,7 @@ formatter : function(formatter) { if (formatter) { plot_config.axes[id + 'axis'].tickOptions.formatter = function(format, value) { - return formatter(value); + return formatter(value); }; } } diff -r 45963b149ddb39de0e62617a49e0af59e7f2fc06 -r 385c4b53694eb1838c0f2487b38b4e798b16c522 config/plugins/visualizations/charts/static/charts/tools.js --- a/config/plugins/visualizations/charts/static/charts/tools.js +++ b/config/plugins/visualizations/charts/static/charts/tools.js @@ -361,6 +361,9 @@ // add handler svg.call(d3zoom).on('dblclick.zoom', unzoomed); + + // return + return d3zoom; }; // return 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.