Skip to content

Commit

Permalink
feat: move legend to the bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
gmolki committed Mar 25, 2024
1 parent 6da3187 commit 61b403c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/MetricsPlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,17 @@ const MetricsPlot: React.FC<MetricsPlotProps> = ({ plotData, layout }) => {
},
],
type: "date",

...layout.xaxis,
},
legend: {
orientation: "h",
x: 0.5,
xanchor: "center",
y: -0.1,
yanchor: "top",
...layout.legend,
},
};

console.log(extendedLayout);
Expand Down

0 comments on commit 61b403c

Please sign in to comment.