Browse Source

Add regions.add

pull/1/head
Masayuki Tanaka 12 years ago committed by masayuki
parent
commit
196c4ccaa6
  1. 6
      c3.js

6
c3.js

@ -1586,6 +1586,12 @@
__regions = regions
redraw(true, true, true)
}
c3.regions.add = function (regions) {
if (typeof regions === 'undefined') return __regions
__regions = __regions.concat(regions)
redraw(true, true, true)
return __regions
}
/*-- Load data and init chart with defined functions --*/

Loading…
Cancel
Save