Browse Source

add setTitleText function to allow change chart title in run time

pull/1932/head
ggalancs 8 years ago
parent
commit
32bfe6ac9d
  1. 4
      c3.js

4
c3.js

@ -7008,6 +7008,10 @@
this.internal.config.tooltip_onhide.call(this); this.internal.config.tooltip_onhide.call(this);
}; };
c3_chart_fn.setTitleText = function(text){
this.internal.title.text(text);
};
// Features: // Features:
// 1. category axis // 1. category axis
// 2. ceil values of translate/x/y to int for half pixel antialiasing // 2. ceil values of translate/x/y to int for half pixel antialiasing

Loading…
Cancel
Save