billboard.js 3.8.0-next.1 → 3.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/billboard.css +1 -1
- package/dist/billboard.js +104 -51
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +2 -2
- package/dist/billboard.pkgd.js +147 -66
- package/dist/billboard.pkgd.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.js +18 -3
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.js +17 -3
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.js +14 -2
- package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.js +15 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.js +45 -17
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.js +62 -19
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.js +62 -20
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.js +59 -19
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.js +88 -43
- package/dist/theme/datalab.css +1 -1
- package/dist/theme/datalab.min.css +1 -1
- package/dist/theme/graph.css +1 -1
- package/dist/theme/graph.min.css +1 -1
- package/dist/theme/insight.css +1 -1
- package/dist/theme/insight.min.css +1 -1
- package/dist-esm/billboard.js +13 -12
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +8 -4
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -2
- package/package.json +21 -21
- package/src/ChartInternal/internals/region.ts +9 -9
- package/src/ChartInternal/shape/point.ts +3 -2
- package/src/Plugin/sparkline/index.ts +9 -1
- package/types/options.d.ts +1 -4
package/dist-esm/billboard.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.8.0
|
|
8
|
+
* @version 3.8.0
|
|
9
9
|
*/
|
|
10
10
|
import { timeParse, utcParse, timeFormat, utcFormat } from 'd3-time-format';
|
|
11
11
|
import { pointer, select, namespaces, selectAll } from 'd3-selection';
|
|
@@ -14436,20 +14436,20 @@ var region = {
|
|
|
14436
14436
|
// hide if arc type
|
|
14437
14437
|
region.main.style("visibility", $$.hasArcType() ? "hidden" : null);
|
|
14438
14438
|
// select <g> element
|
|
14439
|
-
var
|
|
14439
|
+
var regions = region.main
|
|
14440
14440
|
.selectAll(".".concat($REGION.region))
|
|
14441
14441
|
.data(config.regions);
|
|
14442
|
-
$T(
|
|
14442
|
+
$T(regions.exit())
|
|
14443
14443
|
.style("opacity", "0")
|
|
14444
14444
|
.remove();
|
|
14445
|
-
|
|
14446
|
-
.append("g")
|
|
14447
|
-
|
|
14448
|
-
.attr("class", $$.classRegion.bind($$));
|
|
14449
|
-
list
|
|
14445
|
+
var regionsEnter = regions.enter()
|
|
14446
|
+
.append("g");
|
|
14447
|
+
regionsEnter
|
|
14450
14448
|
.append("rect")
|
|
14451
14449
|
.style("fill-opacity", "0");
|
|
14452
|
-
region.list =
|
|
14450
|
+
region.list = regionsEnter
|
|
14451
|
+
.merge(regions)
|
|
14452
|
+
.attr("class", $$.classRegion.bind($$));
|
|
14453
14453
|
},
|
|
14454
14454
|
redrawRegion: function (withTransition) {
|
|
14455
14455
|
var $$ = this;
|
|
@@ -18497,7 +18497,8 @@ var shapePoint = {
|
|
|
18497
18497
|
if (d) {
|
|
18498
18498
|
circle = circle
|
|
18499
18499
|
.filter(function (t) {
|
|
18500
|
-
var
|
|
18500
|
+
var _a;
|
|
18501
|
+
var data = (_a = d.filter) === null || _a === void 0 ? void 0 : _a.call(d, function (v) { return v.id === t.id; });
|
|
18501
18502
|
return data.length ?
|
|
18502
18503
|
select(this).datum(data[0]) : false;
|
|
18503
18504
|
});
|
|
@@ -22264,7 +22265,7 @@ var zoomModule = function () {
|
|
|
22264
22265
|
var defaults = {};
|
|
22265
22266
|
/**
|
|
22266
22267
|
* @namespace bb
|
|
22267
|
-
* @version 3.8.0
|
|
22268
|
+
* @version 3.8.0
|
|
22268
22269
|
*/
|
|
22269
22270
|
var bb = {
|
|
22270
22271
|
/**
|
|
@@ -22274,7 +22275,7 @@ var bb = {
|
|
|
22274
22275
|
* bb.version; // "1.0.0"
|
|
22275
22276
|
* @memberof bb
|
|
22276
22277
|
*/
|
|
22277
|
-
version: "3.8.0
|
|
22278
|
+
version: "3.8.0",
|
|
22278
22279
|
/**
|
|
22279
22280
|
* Generate chart
|
|
22280
22281
|
* - **NOTE:** Bear in mind for the possiblity of ***throwing an error***, during the generation when:
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.8.0
|
|
8
|
+
* @version 3.8.0
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -104,7 +104,7 @@ var Plugin = /** @class */ (function () {
|
|
|
104
104
|
delete _this[key];
|
|
105
105
|
});
|
|
106
106
|
};
|
|
107
|
-
Plugin.version = "3.8.0
|
|
107
|
+
Plugin.version = "3.8.0";
|
|
108
108
|
return Plugin;
|
|
109
109
|
}());
|
|
110
110
|
var Plugin$1 = Plugin;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.8.0
|
|
8
|
+
* @version 3.8.0
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -278,7 +278,7 @@ var Plugin = /** @class */ (function () {
|
|
|
278
278
|
delete _this[key];
|
|
279
279
|
});
|
|
280
280
|
};
|
|
281
|
-
Plugin.version = "3.8.0
|
|
281
|
+
Plugin.version = "3.8.0";
|
|
282
282
|
return Plugin;
|
|
283
283
|
}());
|
|
284
284
|
var Plugin$1 = Plugin;
|
|
@@ -626,7 +626,7 @@ var Sparkline = /** @class */ (function (_super) {
|
|
|
626
626
|
eventReceiver.rect = e.target.getBoundingClientRect();
|
|
627
627
|
};
|
|
628
628
|
Sparkline.prototype.moveHandler = function (e) {
|
|
629
|
-
var _a, _b;
|
|
629
|
+
var _a, _b, _c;
|
|
630
630
|
var $$ = this.$$;
|
|
631
631
|
var index = $$.getDataIndexFromEvent(e);
|
|
632
632
|
var data = (_a = $$.api.data(e.target.__id)) === null || _a === void 0 ? void 0 : _a[0];
|
|
@@ -635,13 +635,17 @@ var Sparkline = /** @class */ (function (_super) {
|
|
|
635
635
|
d.name = d.id;
|
|
636
636
|
}
|
|
637
637
|
$$.state.event = e;
|
|
638
|
+
if ($$.config.point_focus_only && d) {
|
|
639
|
+
(_c = $$.showCircleFocus) === null || _c === void 0 ? void 0 : _c.call($$, [d]);
|
|
640
|
+
}
|
|
638
641
|
$$.setExpand(index, data.id, true);
|
|
639
642
|
$$.showTooltip([d], e.target);
|
|
640
643
|
};
|
|
641
644
|
Sparkline.prototype.outHandler = function (e) {
|
|
642
645
|
var $$ = this.$$;
|
|
643
646
|
$$.state.event = e;
|
|
644
|
-
$$.
|
|
647
|
+
$$.config.point_focus_only ?
|
|
648
|
+
$$.hideCircleFocus() : $$.unexpandCircles();
|
|
645
649
|
$$.hideTooltip();
|
|
646
650
|
};
|
|
647
651
|
Sparkline.prototype.$redraw = function () {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.8.0
|
|
8
|
+
* @version 3.8.0
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -481,7 +481,7 @@ var Plugin = /** @class */ (function () {
|
|
|
481
481
|
delete _this[key];
|
|
482
482
|
});
|
|
483
483
|
};
|
|
484
|
-
Plugin.version = "3.8.0
|
|
484
|
+
Plugin.version = "3.8.0";
|
|
485
485
|
return Plugin;
|
|
486
486
|
}());
|
|
487
487
|
var Plugin$1 = Plugin;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.8.0
|
|
8
|
+
* @version 3.8.0
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -121,7 +121,7 @@ var Plugin = /** @class */ (function () {
|
|
|
121
121
|
delete _this[key];
|
|
122
122
|
});
|
|
123
123
|
};
|
|
124
|
-
Plugin.version = "3.8.0
|
|
124
|
+
Plugin.version = "3.8.0";
|
|
125
125
|
return Plugin;
|
|
126
126
|
}());
|
|
127
127
|
var Plugin$1 = Plugin;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.8.0
|
|
8
|
+
* @version 3.8.0
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -258,7 +258,7 @@ var Plugin = /** @class */ (function () {
|
|
|
258
258
|
delete _this[key];
|
|
259
259
|
});
|
|
260
260
|
};
|
|
261
|
-
Plugin.version = "3.8.0
|
|
261
|
+
Plugin.version = "3.8.0";
|
|
262
262
|
return Plugin;
|
|
263
263
|
}());
|
|
264
264
|
var Plugin$1 = Plugin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "billboard.js",
|
|
3
|
-
"version": "3.8.0
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "Re-usable easy interface JavaScript chart library, based on D3 v4+",
|
|
5
5
|
"homepage": "https://naver.github.io/billboard.js/",
|
|
6
6
|
"main": "dist/billboard.js",
|
|
@@ -101,32 +101,32 @@
|
|
|
101
101
|
"d3-zoom": "^3.0.0"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@babel/core": "^7.21.
|
|
104
|
+
"@babel/core": "^7.21.4",
|
|
105
105
|
"@babel/eslint-parser": "^7.21.3",
|
|
106
106
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
107
107
|
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
|
|
108
|
-
"@babel/plugin-transform-runtime": "^7.21.
|
|
109
|
-
"@babel/preset-env": "^7.
|
|
110
|
-
"@babel/preset-typescript": "^7.21.
|
|
108
|
+
"@babel/plugin-transform-runtime": "^7.21.4",
|
|
109
|
+
"@babel/preset-env": "^7.21.4",
|
|
110
|
+
"@babel/preset-typescript": "^7.21.4",
|
|
111
111
|
"@babel/runtime": "^7.21.0",
|
|
112
|
-
"@commitlint/cli": "17.5.
|
|
112
|
+
"@commitlint/cli": "17.5.1",
|
|
113
113
|
"@commitlint/config-conventional": "^17.4.4",
|
|
114
114
|
"@rollup/plugin-babel": "^6.0.3",
|
|
115
|
-
"@rollup/plugin-node-resolve": "^15.0.
|
|
115
|
+
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
116
116
|
"@rollup/plugin-replace": "^5.0.2",
|
|
117
|
-
"@rollup/plugin-typescript": "^11.
|
|
117
|
+
"@rollup/plugin-typescript": "^11.1.0",
|
|
118
118
|
"@semantic-release/changelog": "^6.0.3",
|
|
119
119
|
"@semantic-release/commit-analyzer": "^9.0.2",
|
|
120
120
|
"@semantic-release/exec": "^6.0.3",
|
|
121
121
|
"@semantic-release/git": "^10.0.1",
|
|
122
|
-
"@semantic-release/npm": "^10.0.
|
|
122
|
+
"@semantic-release/npm": "^10.0.3",
|
|
123
123
|
"@semantic-release/release-notes-generator": "^10.0.3",
|
|
124
124
|
"@types/chai": "^4.3.4",
|
|
125
125
|
"@types/d3": "^7.4.0",
|
|
126
126
|
"@types/mocha": "^10.0.1",
|
|
127
127
|
"@types/sinon": "^10.0.13",
|
|
128
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
129
|
-
"@typescript-eslint/parser": "^5.
|
|
128
|
+
"@typescript-eslint/eslint-plugin": "^5.58.0",
|
|
129
|
+
"@typescript-eslint/parser": "^5.58.0",
|
|
130
130
|
"babel-helper-modules": "^6.0.0",
|
|
131
131
|
"babel-loader": "^9.1.2",
|
|
132
132
|
"babel-plugin-add-module-exports": "^1.0.4",
|
|
@@ -142,22 +142,22 @@
|
|
|
142
142
|
"chai": "^4.3.7",
|
|
143
143
|
"clean-webpack-plugin": "^4.0.0",
|
|
144
144
|
"cloc": "^2.11.0",
|
|
145
|
-
"core-js": "^3.
|
|
145
|
+
"core-js": "^3.30.0",
|
|
146
146
|
"coveralls": "^3.1.1",
|
|
147
147
|
"cross-env": "^7.0.3",
|
|
148
148
|
"css-loader": "^6.7.3",
|
|
149
149
|
"css-minimizer-webpack-plugin": "^5.0.0",
|
|
150
150
|
"d3-color": "^3.1.0",
|
|
151
|
-
"d3-delaunay": "^6.0.
|
|
151
|
+
"d3-delaunay": "^6.0.4",
|
|
152
152
|
"d3-format": "^3.1.0",
|
|
153
153
|
"d3-polygon": "^3.0.1",
|
|
154
154
|
"docdash": "^2.0.1",
|
|
155
155
|
"dtslint": "^4.2.1",
|
|
156
|
-
"eslint": "^8.
|
|
156
|
+
"eslint": "^8.38.0",
|
|
157
157
|
"eslint-config-naver": "^2.1.0",
|
|
158
158
|
"eslint-plugin-import": "^2.27.5",
|
|
159
|
-
"eslint-plugin-jsdoc": "^40.
|
|
160
|
-
"eslint-webpack-plugin": "^4.0.
|
|
159
|
+
"eslint-plugin-jsdoc": "^40.3.0",
|
|
160
|
+
"eslint-webpack-plugin": "^4.0.1",
|
|
161
161
|
"exports-loader": "^4.0.0",
|
|
162
162
|
"hammer-simulator": "0.0.1",
|
|
163
163
|
"husky": "^8.0.3",
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
"karma-sinon": "^1.0.5",
|
|
175
175
|
"karma-sourcemap-loader": "^0.4.0",
|
|
176
176
|
"karma-webpack": "^5.0.0",
|
|
177
|
-
"lint-staged": "^13.2.
|
|
177
|
+
"lint-staged": "^13.2.1",
|
|
178
178
|
"lite-fixture": "^1.0.2",
|
|
179
179
|
"mini-css-extract-plugin": "^2.7.5",
|
|
180
180
|
"mocha": "^10.2.0",
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"rollup": "^3.20.2",
|
|
184
184
|
"rollup-plugin-delete": "^2.0.0",
|
|
185
185
|
"sass-loader": "^13.2.2",
|
|
186
|
-
"semantic-release": "^21.0.
|
|
186
|
+
"semantic-release": "^21.0.1",
|
|
187
187
|
"simulant": "^0.2.2",
|
|
188
188
|
"sinon": "^15.0.3",
|
|
189
189
|
"string-replace-loader": "^3.1.0",
|
|
@@ -191,13 +191,13 @@
|
|
|
191
191
|
"taffydb": "^2.7.3",
|
|
192
192
|
"terser-webpack-plugin": "^5.3.7",
|
|
193
193
|
"tslib": "^2.5.0",
|
|
194
|
-
"typescript": "5.0.
|
|
195
|
-
"webpack": "^5.
|
|
194
|
+
"typescript": "5.0.4",
|
|
195
|
+
"webpack": "^5.78.0",
|
|
196
196
|
"webpack-bundle-analyzer": "^4.8.0",
|
|
197
197
|
"webpack-clean": "^1.2.5",
|
|
198
198
|
"webpack-cli": "^5.0.1",
|
|
199
199
|
"webpack-common-shake": "^2.1.0",
|
|
200
|
-
"webpack-dev-server": "^4.13.
|
|
200
|
+
"webpack-dev-server": "^4.13.2",
|
|
201
201
|
"webpack-merge": "^5.8.0",
|
|
202
202
|
"webpackbar": "^5.0.2",
|
|
203
203
|
"write-file-webpack-plugin": "^4.5.1"
|
|
@@ -28,26 +28,26 @@ export default {
|
|
|
28
28
|
|
|
29
29
|
// hide if arc type
|
|
30
30
|
region.main.style("visibility", $$.hasArcType() ? "hidden" : null);
|
|
31
|
-
// select <g> element
|
|
32
31
|
|
|
33
|
-
|
|
32
|
+
// select <g> element
|
|
33
|
+
const regions = region.main
|
|
34
34
|
.selectAll(`.${$REGION.region}`)
|
|
35
35
|
.data(config.regions);
|
|
36
36
|
|
|
37
|
-
$T(
|
|
37
|
+
$T(regions.exit())
|
|
38
38
|
.style("opacity", "0")
|
|
39
39
|
.remove();
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
.append("g")
|
|
43
|
-
.merge(list)
|
|
44
|
-
.attr("class", $$.classRegion.bind($$));
|
|
41
|
+
const regionsEnter = regions.enter()
|
|
42
|
+
.append("g");
|
|
45
43
|
|
|
46
|
-
|
|
44
|
+
regionsEnter
|
|
47
45
|
.append("rect")
|
|
48
46
|
.style("fill-opacity", "0");
|
|
49
47
|
|
|
50
|
-
region.list =
|
|
48
|
+
region.list = regionsEnter
|
|
49
|
+
.merge(regions)
|
|
50
|
+
.attr("class", $$.classRegion.bind($$));
|
|
51
51
|
},
|
|
52
52
|
|
|
53
53
|
redrawRegion(withTransition) {
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
import type {d3Selection} from "../../../types/types";
|
|
10
10
|
import {$CIRCLE, $COMMON, $SELECT} from "../../config/classes";
|
|
11
11
|
import {document} from "../../module/browser";
|
|
12
|
+
import type {IDataRow} from "../data/IData";
|
|
12
13
|
import {getBoundingRect, getPointer, getRandom, isFunction, isObject, isObjectType, isUndefined, isValue, toArray, notEmpty} from "../../module/util";
|
|
13
14
|
|
|
14
15
|
const getTransitionName = () => getRandom();
|
|
@@ -188,7 +189,7 @@ export default {
|
|
|
188
189
|
* @param {object} d Selected data
|
|
189
190
|
* @private
|
|
190
191
|
*/
|
|
191
|
-
showCircleFocus(d
|
|
192
|
+
showCircleFocus(d?: IDataRow[]): void {
|
|
192
193
|
const $$ = this;
|
|
193
194
|
const {config, state: {hasRadar, resizing, toggling, transiting}, $el} = $$;
|
|
194
195
|
let {circle} = $el;
|
|
@@ -202,7 +203,7 @@ export default {
|
|
|
202
203
|
if (d) {
|
|
203
204
|
circle = circle
|
|
204
205
|
.filter(function(t) {
|
|
205
|
-
const data = d.filter(v => v.id === t.id);
|
|
206
|
+
const data = d.filter?.(v => v.id === t.id);
|
|
206
207
|
|
|
207
208
|
return data.length ?
|
|
208
209
|
d3Select(this).datum(data[0]) : false;
|
|
@@ -221,6 +221,11 @@ export default class Sparkline extends Plugin {
|
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
$$.state.event = e;
|
|
224
|
+
|
|
225
|
+
if ($$.config.point_focus_only && d) {
|
|
226
|
+
$$.showCircleFocus?.([d]);
|
|
227
|
+
}
|
|
228
|
+
|
|
224
229
|
$$.setExpand(index, data.id, true);
|
|
225
230
|
$$.showTooltip([d], e.target);
|
|
226
231
|
}
|
|
@@ -229,7 +234,10 @@ export default class Sparkline extends Plugin {
|
|
|
229
234
|
const {$$} = this;
|
|
230
235
|
|
|
231
236
|
$$.state.event = e;
|
|
232
|
-
|
|
237
|
+
|
|
238
|
+
$$.config.point_focus_only ?
|
|
239
|
+
$$.hideCircleFocus() : $$.unexpandCircles();
|
|
240
|
+
|
|
233
241
|
$$.hideTooltip();
|
|
234
242
|
}
|
|
235
243
|
|
package/types/options.d.ts
CHANGED
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import {Axis} from "./axis";
|
|
6
6
|
import {ChartTypes, d3Selection, DataItem, PrimitiveArray} from "./types";
|
|
7
|
-
import Bubblecompare from "./plugin/bubblecompare/index";
|
|
8
|
-
import Stanford from "./plugin/stanford/index";
|
|
9
|
-
import TextOverlap from "./plugin/textoverlap/index";
|
|
10
7
|
import {Chart} from "./chart";
|
|
11
8
|
import {IArcData, IData, IDataRow} from "../src/ChartInternal/data/IData";
|
|
12
9
|
import {
|
|
@@ -334,7 +331,7 @@ export interface ChartOptions {
|
|
|
334
331
|
/**
|
|
335
332
|
* Set plugins
|
|
336
333
|
*/
|
|
337
|
-
plugins?: Array<
|
|
334
|
+
plugins?: Array<InstanceType<any>>;
|
|
338
335
|
|
|
339
336
|
/**
|
|
340
337
|
* Control the render timing
|