fix: cystom analytics bar graph index alignment (#2737)
This commit is contained in:
parent
a6567bbce4
commit
96862e06ef
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ export const AnalyticsGraph: React.FC<Props> = ({ analytics, barGraphData, param
|
|||
<text
|
||||
x={0}
|
||||
y={datum.y}
|
||||
textAnchor="end"
|
||||
textAnchor={`${barGraphData.data.length > 7 ? "end" : "middle"}`}
|
||||
fontSize={10}
|
||||
fill="rgb(var(--color-text-200))"
|
||||
className={`${barGraphData.data.length > 7 ? "-rotate-45" : ""}`}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue