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.
16 lines
482 B
16 lines
482 B
c3_chart_fn.x = function (x) { |
|
var $$ = this.internal; |
|
if (arguments.length) { |
|
$$.updateTargetX($$.data.targets, x); |
|
$$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true}); |
|
} |
|
return $$.data.xs; |
|
}; |
|
c3_chart_fn.xs = function (xs) { |
|
var $$ = this.internal; |
|
if (arguments.length) { |
|
$$.updateTargetXs($$.data.targets, xs); |
|
$$.redraw({withUpdateOrgXDomain: true, withUpdateXDomain: true}); |
|
} |
|
return $$.data.xs; |
|
};
|
|
|