@opentinyvue/vue-huicharts-sankey 3.21.0 → 3.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
|
@@ -64,7 +64,7 @@ var getTooltip = function getTooltip2(args) {
|
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
66
|
var getSeries = function getSeries2(args) {
|
|
67
|
-
var dimension = args.dimension
|
|
67
|
+
var dimension = args.dimension, links = args.links, metrics = args.metrics, rows = args.rows, useDataValue = args.useDataValue, valueFull = args.valueFull;
|
|
68
68
|
var dataMap = {};
|
|
69
69
|
var seriesData = rows.map(function(row) {
|
|
70
70
|
dataMap[row[dimension]] = row[metrics];
|
|
@@ -124,10 +124,7 @@ var sankey = function sankey2(columns, rows, settings) {
|
|
|
124
124
|
metrics,
|
|
125
125
|
links,
|
|
126
126
|
valueFull,
|
|
127
|
-
useDataValue
|
|
128
|
-
label,
|
|
129
|
-
itemStyle,
|
|
130
|
-
lineStyle
|
|
127
|
+
useDataValue
|
|
131
128
|
};
|
|
132
129
|
var series = getSeries(seriesParams);
|
|
133
130
|
var data2 = {
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-huicharts-sankey",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.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": "~3.
|
|
11
|
-
"@opentinyvue/vue-common": "~3.
|
|
10
|
+
"@opentinyvue/vue-huicharts-core": "~3.22.0",
|
|
11
|
+
"@opentinyvue/vue-common": "~3.22.0"
|
|
12
12
|
},
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"types": "index.d.ts",
|