@visactor/vchart 2.1.0-alpha.7 → 2.1.0-alpha.9
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/build/es5/index.js +1 -1
- package/build/index.es.js +2710 -2455
- package/build/index.js +2710 -2455
- package/build/index.min.js +2 -2
- package/build/tsconfig.tsbuildinfo +1 -1
- package/cjs/chart/base/base-chart.js +12 -4
- package/cjs/chart/base/base-chart.js.map +1 -1
- package/cjs/component/index.js +1 -2
- package/cjs/constant/attribute.js +2 -1
- package/cjs/constant/correlation.js +1 -2
- package/cjs/constant/marker.js +1 -1
- package/cjs/constant/polar.js +1 -1
- package/cjs/constant/scatter.js +1 -1
- package/cjs/constant/scroll-bar.js +1 -1
- package/cjs/constant/sunburst.js +1 -1
- package/cjs/constant/waterfall.js +2 -1
- package/cjs/constant/word-cloud.js +1 -1
- package/cjs/core/expression-function.js +1 -1
- package/cjs/core/factory.js +1 -1
- package/cjs/core/index.js +1 -1
- package/cjs/core/instance-manager.js +1 -1
- package/cjs/core/interface.js +1 -1
- package/cjs/core/util.js +1 -1
- package/cjs/core/vchart.js +2 -6
- package/cjs/core/vchart.js.map +1 -1
- package/cjs/event/event.d.ts +4 -0
- package/cjs/event/event.js +26 -7
- package/cjs/event/event.js.map +1 -1
- package/cjs/mark/base/base-mark.js +1 -2
- package/cjs/mark/base/base-mark.js.map +1 -1
- package/cjs/scale/color-ordinal-scale.d.ts +1 -0
- package/cjs/scale/color-ordinal-scale.js +3 -0
- package/cjs/scale/color-ordinal-scale.js.map +1 -1
- package/cjs/scale/global-scale.js +9 -2
- package/cjs/scale/global-scale.js.map +1 -1
- package/cjs/series/base/base-series.js +2 -2
- package/cjs/series/base/base-series.js.map +1 -1
- package/esm/chart/base/base-chart.js +12 -4
- package/esm/chart/base/base-chart.js.map +1 -1
- package/esm/component/index.js +1 -2
- package/esm/constant/attribute.js +2 -1
- package/esm/constant/correlation.js +1 -2
- package/esm/constant/marker.js +1 -1
- package/esm/constant/polar.js +1 -1
- package/esm/constant/scatter.js +1 -1
- package/esm/constant/scroll-bar.js +1 -1
- package/esm/constant/sunburst.js +1 -1
- package/esm/constant/waterfall.js +2 -1
- package/esm/constant/word-cloud.js +1 -1
- package/esm/core/expression-function.js +1 -1
- package/esm/core/factory.js +1 -1
- package/esm/core/index.js +1 -1
- package/esm/core/instance-manager.js +1 -1
- package/esm/core/interface.js +1 -1
- package/esm/core/util.js +1 -1
- package/esm/core/vchart.js +2 -6
- package/esm/core/vchart.js.map +1 -1
- package/esm/event/event.d.ts +4 -0
- package/esm/event/event.js +26 -7
- package/esm/event/event.js.map +1 -1
- package/esm/mark/base/base-mark.js +1 -2
- package/esm/mark/base/base-mark.js.map +1 -1
- package/esm/scale/color-ordinal-scale.d.ts +1 -0
- package/esm/scale/color-ordinal-scale.js +3 -0
- package/esm/scale/color-ordinal-scale.js.map +1 -1
- package/esm/scale/global-scale.js +9 -1
- package/esm/scale/global-scale.js.map +1 -1
- package/esm/series/base/base-series.js +1 -1
- package/esm/series/base/base-series.js.map +1 -1
- package/package.json +9 -9
package/cjs/constant/marker.js
CHANGED
|
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: !0
|
|
5
5
|
}), exports.REGRESS_TYPE = exports.AGGR_TYPE = void 0, exports.AGGR_TYPE = [ "sum", "average", "min", "max", "variance", "standardDeviation", "median" ],
|
|
6
6
|
exports.REGRESS_TYPE = [ "regression" ];
|
|
7
|
-
//# sourceMappingURL=marker.js.map
|
|
7
|
+
//# sourceMappingURL=marker.js.map
|
package/cjs/constant/polar.js
CHANGED
|
@@ -12,4 +12,4 @@ exports.ARC_K = `${base_1.PREFIX}_ARC_K`, exports.ARC_MIDDLE_ANGLE = `${base_1.P
|
|
|
12
12
|
exports.ARC_QUADRANT = `${base_1.PREFIX}_ARC_QUADRANT`, exports.ARC_RADIAN = `${base_1.PREFIX}_ARC_RADIAN`,
|
|
13
13
|
exports.POLAR_START_RADIAN = -Math.PI / 2, exports.POLAR_END_RADIAN = 3 * Math.PI / 2,
|
|
14
14
|
exports.POLAR_START_ANGLE = -90, exports.POLAR_END_ANGLE = 270, exports.POLAR_DEFAULT_RADIUS = .6;
|
|
15
|
-
//# sourceMappingURL=polar.js.map
|
|
15
|
+
//# sourceMappingURL=polar.js.map
|
package/cjs/constant/scatter.js
CHANGED
|
@@ -9,4 +9,4 @@ const vscale_1 = require("@visactor/vscale");
|
|
|
9
9
|
exports.SCATTER_DEFAULT_SIZE = 10, exports.SCATTER_DEFAULT_RANGE_SIZE = [ 10, 20 ],
|
|
10
10
|
exports.SCATTER_DEFAULT_SIZE_SCALE_TYPE = vscale_1.ScaleEnum.Linear, exports.SCATTER_DEFAULT_SHAPE = "circle",
|
|
11
11
|
exports.SCATTER_DEFAULT_SHAPE_SCALE_TYPE = vscale_1.ScaleEnum.Ordinal, exports.SCATTER_DEFAULT_RANGE_SHAPE = [ "circle", "square", "triangle", "diamond", "star" ];
|
|
12
|
-
//# sourceMappingURL=scatter.js.map
|
|
12
|
+
//# sourceMappingURL=scatter.js.map
|
package/cjs/constant/sunburst.js
CHANGED
|
@@ -6,4 +6,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
|
|
7
7
|
const base_1 = require("./base");
|
|
8
8
|
|
|
9
|
-
exports.WaterfallDefaultSeriesField = `${base_1.PREFIX}_waterfall_default_seriesField`;
|
|
9
|
+
exports.WaterfallDefaultSeriesField = `${base_1.PREFIX}_waterfall_default_seriesField`;
|
|
10
|
+
//# sourceMappingURL=waterfall.js.map
|
|
@@ -10,4 +10,4 @@ exports.WORD_CLOUD_ANGLE = `${base_1.PREFIX}_WORD_CLOUD_ANGLE`, exports.WORD_CLO
|
|
|
10
10
|
exports.WORD_CLOUD_WEIGHT = `${base_1.PREFIX}_WORD_CLOUD_WEIGHT`, exports.WORDCLOUD_COLOR = `${base_1.PREFIX}_WORDCLOUD_COLOR`,
|
|
11
11
|
exports.WORDCLOUD_DATA_TOTAL = `${base_1.PREFIX}_WORDCLOUD_DATA_TOTAL`, exports.WORD_CLOUD_TEXT = `${base_1.PREFIX}_WORD_CLOUD_TEXT`,
|
|
12
12
|
exports.WORDCLOUD_SHAPE_DATA_TOTAL = `${base_1.PREFIX}_WORDCLOUD_SHAPE_DATA_TOTAL`;
|
|
13
|
-
//# sourceMappingURL=word-cloud.js.map
|
|
13
|
+
//# sourceMappingURL=word-cloud.js.map
|
package/cjs/core/factory.js
CHANGED
package/cjs/core/index.js
CHANGED
package/cjs/core/interface.js
CHANGED
package/cjs/core/util.js
CHANGED
package/cjs/core/vchart.js
CHANGED
|
@@ -307,11 +307,7 @@ class VChart {
|
|
|
307
307
|
if (updateResult.reMake && (this._releaseData(), this._initDataSet(), null === (_a = this._chart) || void 0 === _a || _a.release(!1),
|
|
308
308
|
this._chart = null), updateResult.reTransformSpec && (this._chartSpecTransformer = null),
|
|
309
309
|
updateResult.changeTheme ? (this._setCurrentTheme(), this._setFontFamilyTheme(this.getTheme("fontFamily"))) : updateResult.changeBackground && (null === (_b = this._compiler) || void 0 === _b || _b.setBackground(this._getBackground())),
|
|
310
|
-
updateResult.reMake ?
|
|
311
|
-
this._userEvents.forEach((e => {
|
|
312
|
-
var _a;
|
|
313
|
-
return null === (_a = this._event) || void 0 === _a ? void 0 : _a.on(e.eType, e.query, e.handler);
|
|
314
|
-
}))) : updateResult.reCompile && (null === (_d = this._compiler) || void 0 === _d || _d.clear({
|
|
310
|
+
updateResult.reMake ? null === (_c = this._compiler) || void 0 === _c || _c.releaseGrammar(!0) : updateResult.reCompile && (null === (_d = this._compiler) || void 0 === _d || _d.clear({
|
|
315
311
|
chart: this._chart,
|
|
316
312
|
vChart: this
|
|
317
313
|
}), null === (_e = this._compiler) || void 0 === _e || _e.compile({
|
|
@@ -966,4 +962,4 @@ const registerVChartCore = () => {
|
|
|
966
962
|
};
|
|
967
963
|
|
|
968
964
|
exports.registerVChartCore = registerVChartCore, (0, exports.registerVChartCore)();
|
|
969
|
-
//# sourceMappingURL=vchart.js.map
|
|
965
|
+
//# sourceMappingURL=vchart.js.map
|