From 655b6577998714069712d8a19925db9842bdd47a Mon Sep 17 00:00:00 2001 From: TripZz Date: Fri, 13 Oct 2023 11:50:32 +0200 Subject: [PATCH] NN-365 Adjusted values of heatmap legend --- frontend/src/components/enrichment/heatmap/PathwayHeatmap.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/enrichment/heatmap/PathwayHeatmap.vue b/frontend/src/components/enrichment/heatmap/PathwayHeatmap.vue index 714ccdc3..929fd4f6 100644 --- a/frontend/src/components/enrichment/heatmap/PathwayHeatmap.vue +++ b/frontend/src/components/enrichment/heatmap/PathwayHeatmap.vue @@ -146,9 +146,9 @@ export default { .append("svg") .attr("width", "100%") .attr("height", "100%") - .attr("viewBox", `0 0 ${svgWidth*2} ${svgHeight}`) + .attr("viewBox", `0 0 ${svgWidth*2.2} ${svgHeight}`) .append("g") - .attr("transform", `translate(${svgWidth / 2}, ${svgHeight / 2})`); // Center the SVG content + .attr("transform", `translate(${svgWidth / 1.6}, ${svgHeight / 2})`); // Center the SVG content var xScale = d3.scaleLinear() .domain([0, 1])