@orbcharts/plugins-basic 3.0.0-alpha.47 → 3.0.0-alpha.48
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@orbcharts/plugins-basic",
|
3
|
-
"version": "3.0.0-alpha.
|
3
|
+
"version": "3.0.0-alpha.48",
|
4
4
|
"description": "plugins for OrbCharts",
|
5
5
|
"author": "Blue Planet Inc.",
|
6
6
|
"license": "Apache-2.0",
|
@@ -35,7 +35,7 @@
|
|
35
35
|
"vite-plugin-dts": "^3.7.3"
|
36
36
|
},
|
37
37
|
"dependencies": {
|
38
|
-
"@orbcharts/core": "^3.0.0-alpha.
|
38
|
+
"@orbcharts/core": "^3.0.0-alpha.46",
|
39
39
|
"d3": "^7.8.5",
|
40
40
|
"rxjs": "^7.8.1"
|
41
41
|
}
|
@@ -396,7 +396,22 @@ function createEachPie (pluginName: string, context: {
|
|
396
396
|
subscriber.next(pathSelection)
|
397
397
|
}
|
398
398
|
})
|
399
|
-
})
|
399
|
+
}).pipe(
|
400
|
+
shareReplay(1)
|
401
|
+
)
|
402
|
+
|
403
|
+
// pathSelection$.subscribe(data => {
|
404
|
+
// console.log('pathSelection', data)
|
405
|
+
// })
|
406
|
+
// context.SeriesDataMap$.subscribe(data => {
|
407
|
+
// console.log('SeriesDataMap', data)
|
408
|
+
// })
|
409
|
+
// context.computedData$.subscribe(data => {
|
410
|
+
// console.log('computedData', data)
|
411
|
+
// })
|
412
|
+
// highlightTarget$.subscribe(data => {
|
413
|
+
// console.log('highlightTarget', data)
|
414
|
+
// })
|
400
415
|
|
401
416
|
combineLatest({
|
402
417
|
pathSelection: pathSelection$,
|
@@ -513,9 +528,6 @@ export const Pie = defineSeriesPlugin(pluginName, DEFAULT_PIE_PARAMS)(({ selecti
|
|
513
528
|
|
514
529
|
const unsubscribeFnArr: (() => void)[] = []
|
515
530
|
|
516
|
-
// @Q@ 在seriesCenterSelection$之後才訂閱會造成fullParams$訂閱不到最初次的值,還需找時間研究先workaround
|
517
|
-
observer.fullParams$.subscribe()
|
518
|
-
|
519
531
|
seriesCenterSelection$
|
520
532
|
.pipe(
|
521
533
|
takeUntil(destroy$)
|