Compare commits

...

1 Commits

Author SHA1 Message Date
AnkushD
729affaeb7 Fix: Render bar chart axis labels in lighter color when dark theme applied 2023-11-08 15:42:09 +05:30

View File

@ -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>