Commit 196c4cca authored by Masayuki Tanaka's avatar Masayuki Tanaka Committed by masayuki

Add regions.add

parent f4f2346d
......@@ -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 --*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment