mirror of https://github.com/masayuki0812/c3.git
Quite good looking graph derived from d3.js
http://c3js.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
216 B
6 lines
216 B
11 years ago
|
c3_chart_fn.transform = function (type, targetIds) {
|
||
|
var $$ = this.internal,
|
||
|
options = ['pie', 'donut'].indexOf(type) >= 0 ? {withTransform: true} : null;
|
||
|
$$.transformTo(targetIds, type, options);
|
||
|
};
|