|
|
@ -257,6 +257,10 @@ |
|
|
|
.on('mouseenter', function () { return config.onmouseover.call($$); }) |
|
|
|
.on('mouseenter', function () { return config.onmouseover.call($$); }) |
|
|
|
.on('mouseleave', function () { return config.onmouseout.call($$); }); |
|
|
|
.on('mouseleave', function () { return config.onmouseout.call($$); }); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($$.config.classname) { |
|
|
|
|
|
|
|
$$.svg.attr('class', $$.config.classname); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Define defs
|
|
|
|
// Define defs
|
|
|
|
defs = $$.svg.append("defs"); |
|
|
|
defs = $$.svg.append("defs"); |
|
|
|
$$.clipChart = $$.appendClip(defs, $$.clipId); |
|
|
|
$$.clipChart = $$.appendClip(defs, $$.clipId); |
|
|
@ -1064,6 +1068,7 @@ |
|
|
|
c3_chart_internal_fn.getDefaultConfig = function () { |
|
|
|
c3_chart_internal_fn.getDefaultConfig = function () { |
|
|
|
var config = { |
|
|
|
var config = { |
|
|
|
bindto: '#chart', |
|
|
|
bindto: '#chart', |
|
|
|
|
|
|
|
classname: undefined, |
|
|
|
size_width: undefined, |
|
|
|
size_width: undefined, |
|
|
|
size_height: undefined, |
|
|
|
size_height: undefined, |
|
|
|
padding_left: undefined, |
|
|
|
padding_left: undefined, |
|
|
|