Skip to content

Commit

Permalink
Fix xLabel position #3784
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktMehl committed Nov 21, 2024
1 parent eaadc3b commit 0740dac
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@ export class MetricColorRangeDiagramComponent implements OnChanges {
}

private createGroup(svg: VGElement) {
return svg.append("g")
return svg
.append("g")
.attr("transform", `translate(${this.frameMarginLeft}, ${this.frameMarginTop})`)
.attr("display", "flex")
.attr("justify-content", "center")
Expand Down

0 comments on commit 0740dac

Please sign in to comment.