forked from github/plane
Fix: Render bar chart axis labels in lighter color when dark theme applied
This commit is contained in:
parent
490e032ac6
commit
729affaeb7
@ -107,7 +107,7 @@ export const AnalyticsGraph: React.FC<Props> = ({ analytics, barGraphData, param
|
|||||||
}
|
}
|
||||||
: (datum) => (
|
: (datum) => (
|
||||||
<g transform={`translate(${datum.x},${datum.y})`}>
|
<g transform={`translate(${datum.x},${datum.y})`}>
|
||||||
<text x={0} y={21} textAnchor="middle" fontSize={10}>
|
<text x={0} y={21} textAnchor="middle" fontSize={10} fill="rgb(var(--color-text-200))">
|
||||||
{generateDisplayName(datum.value, analytics, params, "x_axis")}
|
{generateDisplayName(datum.value, analytics, params, "x_axis")}
|
||||||
</text>
|
</text>
|
||||||
</g>
|
</g>
|
||||||
|
Loading…
Reference in New Issue
Block a user