@opentinyvue/vue-huicharts-sankey 2.21.0 → 2.22.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/lib/index.js +2 -5
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -60,7 +60,7 @@ var getTooltip = function getTooltip2(args) {
|
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
62
|
var getSeries = function getSeries2(args) {
|
|
63
|
-
var dimension = args.dimension
|
|
63
|
+
var dimension = args.dimension, links = args.links, metrics = args.metrics, rows = args.rows, useDataValue = args.useDataValue, valueFull = args.valueFull;
|
|
64
64
|
var dataMap = {};
|
|
65
65
|
var seriesData = rows.map(function(row) {
|
|
66
66
|
dataMap[row[dimension]] = row[metrics];
|
|
@@ -120,10 +120,7 @@ var sankey = function sankey2(columns, rows, settings) {
|
|
|
120
120
|
metrics,
|
|
121
121
|
links,
|
|
122
122
|
valueFull,
|
|
123
|
-
useDataValue
|
|
124
|
-
label,
|
|
125
|
-
itemStyle,
|
|
126
|
-
lineStyle
|
|
123
|
+
useDataValue
|
|
127
124
|
};
|
|
128
125
|
var series = getSeries(seriesParams);
|
|
129
126
|
var data2 = {
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-huicharts-sankey",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.22.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"type": "module",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@opentinyvue/vue-huicharts-core": "~2.
|
|
11
|
-
"@opentinyvue/vue-common": "~2.
|
|
10
|
+
"@opentinyvue/vue-huicharts-core": "~2.22.0",
|
|
11
|
+
"@opentinyvue/vue-common": "~2.22.0"
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"types": "index.d.ts",
|