Commit f1268f48 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Add interface to update categories

parent a5f1e56b
......@@ -1789,6 +1789,11 @@
if (isUndefined(args.done)) {
args.done = function () {};
}
// update categories if exists
if ('categories' in args && isCategorized) {
__axis_x_categories = args.categories;
xAxis.categories(__axis_x_categories);
}
// use cache if exists
if ('cacheIds' in args && hasCaches(args.cacheIds)) {
load(getCaches(args.cacheIds), args.done);
......
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