Skip to content

A local-first personal finance app

add styling back to cash flow graph (#1819)

Shaan Khoslad338a737943a
diff --git a/packages/desktop-client/e2e/reports.test.js-snapshots/Reports-loads-cash-flow-graph-and-checks-visuals-1-chromium-linux.png b/packages/desktop-client/e2e/reports.test.js-snapshots/Reports-loads-cash-flow-graph-and-checks-visuals-1-chromium-linux.png
index e4d5cacd71..ebc5ed1f82 100644
Binary files a/packages/desktop-client/e2e/reports.test.js-snapshots/Reports-loads-cash-flow-graph-and-checks-visuals-1-chromium-linux.png and b/packages/desktop-client/e2e/reports.test.js-snapshots/Reports-loads-cash-flow-graph-and-checks-visuals-1-chromium-linux.png differ
diff --git a/packages/desktop-client/src/components/reports/graphs/CashFlowGraph.tsx b/packages/desktop-client/src/components/reports/graphs/CashFlowGraph.tsx
index 51263a18a8..c98382f2e5 100644
--- a/packages/desktop-client/src/components/reports/graphs/CashFlowGraph.tsx
+++ b/packages/desktop-client/src/components/reports/graphs/CashFlowGraph.tsx
@@ -35,7 +35,10 @@ function CashFlowGraph({ graphData, isConcise }: CashFlowGraphProps) {
}
>
<VictoryGroup>
- <VictoryBar data={graphData.expenses} />
+ <VictoryBar
+ data={graphData.expenses}
+ style={{ data: { fill: chartTheme.colors.red } }}
+ />
<VictoryBar data={graphData.income} />
</VictoryGroup>
<VictoryLine
diff --git a/upcoming-release-notes/1819.md b/upcoming-release-notes/1819.md
new file mode 100644
index 0000000000..4f0c8ee8fb
--- /dev/null
+++ b/upcoming-release-notes/1819.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [shaankhosla]
+---
+
+Fix styling on cash-flow graph.