Browse Source

Fixing firefox issue (mozilla bugzilla: #612118) - formatting.

pull/1285/head
upphiminn 10 years ago
parent
commit
5842bdac35
  1. 6
      src/title.js

6
src/title.js

@ -21,7 +21,7 @@ c3_chart_internal_fn.xForTitle = function () {
} else {
throw(e);
}
}
}
if (position.indexOf('right') >= 0) {
x = $$.currentWidth - textWidth - config.title_padding.right;
} else if (position.indexOf('center') >= 0) {
@ -41,8 +41,8 @@ c3_chart_internal_fn.yForTitle = function () {
textHeight = 0;
} else {
throw(e);
}
}
}
}
return $$.config.title_padding.top + textHeight;
};
c3_chart_internal_fn.getTitlePadding = function() {

Loading…
Cancel
Save