Adjust chart x-axis legend placement
Move the date legend inward to align with the y-axis label on overview and user detail charts. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -44,7 +44,8 @@ const Stats = () => {
|
||||
axisBottom={{
|
||||
format: "%b %Y",
|
||||
legend: "Date",
|
||||
legendOffset: -40,
|
||||
legendPosition: "middle",
|
||||
legendOffset: -20,
|
||||
}}
|
||||
useMesh
|
||||
pointLabelYOffset={0}
|
||||
|
||||
@@ -85,7 +85,8 @@ const UserDetail = () => {
|
||||
axisBottom={{
|
||||
format: "%b %Y",
|
||||
legend: "Date",
|
||||
legendOffset: -12,
|
||||
legendPosition: "middle",
|
||||
legendOffset: -20,
|
||||
}}
|
||||
useMesh
|
||||
pointLabelYOffset={0}
|
||||
|
||||
Reference in new issue
Block a user