File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
client/src/pages/networks/components Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change @@ -70,8 +70,9 @@ function NetworkNodesQuadrants({ nodes }: { nodes: NetworkItems }) {
7070
7171function 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 ( {
You can’t perform that action at this time.
0 commit comments