|
|
@ -119,6 +119,9 @@ c3_chart_internal_fn.updateLegend = function (targetIds, options, transitions) { |
|
|
|
var withTransition, withTransitionForTransform; |
|
|
|
var withTransition, withTransitionForTransform; |
|
|
|
var texts, rects, tiles, background; |
|
|
|
var texts, rects, tiles, background; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Skip elements when their name is set to null
|
|
|
|
|
|
|
|
targetIds = targetIds.filter(function(id) {return !isDefined(config.data_names[id]) || config.data_names[id] !== null;}); |
|
|
|
|
|
|
|
|
|
|
|
options = options || {}; |
|
|
|
options = options || {}; |
|
|
|
withTransition = getOption(options, "withTransition", true); |
|
|
|
withTransition = getOption(options, "withTransition", true); |
|
|
|
withTransitionForTransform = getOption(options, "withTransitionForTransform", true); |
|
|
|
withTransitionForTransform = getOption(options, "withTransitionForTransform", true); |
|
|
|