diff --git a/c3.js b/c3.js
index eff38ab..33f204d 100644
--- a/c3.js
+++ b/c3.js
@@ -8,9 +8,9 @@
var c3_chart_fn, c3_chart_internal_fn;
function Chart(config) {
- this.internal = new ChartInternal(config, this);
- this.internal.loadConfig(config);
- this.internal.init();
+ var $$ = this.internal = new ChartInternal(config, this);
+ loadConfig.call($$, config);
+ init.call($$);
}
function ChartInternal(config, api) {
@@ -239,14 +239,14 @@
if (! text) {
title = titleFormat ? titleFormat(d[i].x) : d[i].x;
- text = "