Skip to content

Commit

Permalink
Fix issue w3c#618
Browse files Browse the repository at this point in the history
  • Loading branch information
almossawi committed Feb 22, 2016
1 parent 8c02a48 commit c47cf6e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
8 changes: 2 additions & 6 deletions dist/metricsgraphics.js
Expand Up @@ -1371,7 +1371,6 @@ function x_axis_categorical (args) {
}

function mg_add_x_axis_categorical_labels (g, args, additional_buffer) {

var labels = g.selectAll('text').data(args.categorical_variables).enter().append('svg:text');
labels.attr('x', function (d) {
return args.scales.X(d) + args.scales.X.rangeBand() / 2
Expand Down Expand Up @@ -1610,11 +1609,8 @@ function mg_default_xax_format (args) {
}

function mg_add_x_ticks (g, args) {
if (!args.y_extended_ticks) {
mg_add_x_axis_rim(args, g);
mg_add_x_axis_tick_lines(args, g);
}

mg_add_x_axis_rim(args, g);
mg_add_x_axis_tick_lines(args, g);
}

function mg_add_x_axis_rim (args, g) {
Expand Down

0 comments on commit c47cf6e

Please sign in to comment.