Browse Source

Fix opacity for event rect

pull/631/head
Masayuki Tanaka 10 years ago
parent
commit
f3b4feeb74
  1. 2
      c3.js
  2. 2
      c3.min.js
  3. 2
      src/interaction.js

2
c3.js

@ -2012,7 +2012,7 @@
var $$ = this;
$$.main.select('.' + CLASS.chart).append("g")
.attr("class", CLASS.eventRects)
.style('fill-opacity', 0.1);
.style('fill-opacity', 0);
};
c3_chart_internal_fn.redrawEventRect = function () {
var $$ = this, config = $$.config,

2
c3.min.js vendored

File diff suppressed because one or more lines are too long

2
src/interaction.js

@ -2,7 +2,7 @@ c3_chart_internal_fn.initEventRect = function () {
var $$ = this;
$$.main.select('.' + CLASS.chart).append("g")
.attr("class", CLASS.eventRects)
.style('fill-opacity', 0.1);
.style('fill-opacity', 0);
};
c3_chart_internal_fn.redrawEventRect = function () {
var $$ = this, config = $$.config,

Loading…
Cancel
Save