Skip to content

Commit d9c9276

Browse files
committed
Merge branch 'develop_quadrants' into staging
2 parents 98fc808 + abf3167 commit d9c9276

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/src/pages/networks/components/charts/quadran.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,7 @@ export default function getQuadrantChartsOptions({
9292
},
9393
},
9494
},
95-
// colors: _data.map((d) => d.color),
9695
legend: { enabled: false },
97-
series: [{ data: _data, colorByPoint: true }],
96+
series: [{ data: _data }],
9897
}
9998
}

client/src/pages/networks/components/quadrants/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,9 @@ function NetworkNodesQuadrants({ nodes }: { nodes: NetworkItems }) {
7070

7171
function NetworkClustersQuadrants({ clusters }: { clusters: NetworkCommunities }) {
7272
if (!clusters) return null
73-
const data = clusters?.map(({ label, metrics }) => ({
73+
const data = clusters?.map(({ label, color, metrics }) => ({
7474
label,
75+
color,
7576
...metrics,
7677
}))
7778
const quadrantOptions = getQuadrantChartsOptions({

0 commit comments

Comments
 (0)