|
|
@ -802,16 +802,6 @@ |
|
|
|
return callResizeFunctions; |
|
|
|
return callResizeFunctions; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
c3_chart_internal_fn.transformTo = function (targetIds, type, optionsForRedraw) { |
|
|
|
|
|
|
|
var $$ = this, |
|
|
|
|
|
|
|
withTransitionForAxis = !$$.hasArcType(), |
|
|
|
|
|
|
|
options = optionsForRedraw || {withTransitionForAxis: withTransitionForAxis}; |
|
|
|
|
|
|
|
options.withTransitionForTransform = false; |
|
|
|
|
|
|
|
$$.transiting = false; |
|
|
|
|
|
|
|
$$.setTargetType(targetIds, type); |
|
|
|
|
|
|
|
$$.updateAndRedraw(options); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
c3_chart_internal_fn.endall = function (transition, callback) { |
|
|
|
c3_chart_internal_fn.endall = function (transition, callback) { |
|
|
|
var n = 0; |
|
|
|
var n = 0; |
|
|
|
transition |
|
|
|
transition |
|
|
@ -5911,6 +5901,16 @@ |
|
|
|
$$.transformTo(targetIds, type, options); |
|
|
|
$$.transformTo(targetIds, type, options); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
c3_chart_internal_fn.transformTo = function (targetIds, type, optionsForRedraw) { |
|
|
|
|
|
|
|
var $$ = this, |
|
|
|
|
|
|
|
withTransitionForAxis = !$$.hasArcType(), |
|
|
|
|
|
|
|
options = optionsForRedraw || {withTransitionForAxis: withTransitionForAxis}; |
|
|
|
|
|
|
|
options.withTransitionForTransform = false; |
|
|
|
|
|
|
|
$$.transiting = false; |
|
|
|
|
|
|
|
$$.setTargetType(targetIds, type); |
|
|
|
|
|
|
|
$$.updateAndRedraw(options); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
c3_chart_fn.groups = function (groups) { |
|
|
|
c3_chart_fn.groups = function (groups) { |
|
|
|
var $$ = this.internal, config = $$.config; |
|
|
|
var $$ = this.internal, config = $$.config; |
|
|
|
if (isUndefined(groups)) { return config[__data_groups]; } |
|
|
|
if (isUndefined(groups)) { return config[__data_groups]; } |
|
|
|