Update utils/formatters.py
Browse files- utils/formatters.py +8 -6
utils/formatters.py
CHANGED
|
@@ -453,13 +453,15 @@ def create_trend_line_chart(data: Dict) -> go.Figure:
|
|
| 453 |
title='Monthly Spending & Rewards Trends',
|
| 454 |
xaxis=dict(title='Month'),
|
| 455 |
yaxis=dict(
|
| 456 |
-
|
| 457 |
-
|
| 458 |
-
|
| 459 |
-
|
|
|
|
|
|
|
| 460 |
yaxis2=dict(
|
| 461 |
-
title='Rewards ($)',
|
| 462 |
-
|
| 463 |
tickfont=dict(color='#38ef7d'),
|
| 464 |
overlaying='y',
|
| 465 |
side='right'
|
|
|
|
| 453 |
title='Monthly Spending & Rewards Trends',
|
| 454 |
xaxis=dict(title='Month'),
|
| 455 |
yaxis=dict(
|
| 456 |
+
title=dict(
|
| 457 |
+
text='Spending ($)',
|
| 458 |
+
font=dict(size=14, color='#667eea')
|
| 459 |
+
),
|
| 460 |
+
tickfont=dict(color='#667eea')
|
| 461 |
+
),
|
| 462 |
yaxis2=dict(
|
| 463 |
+
title=dict(text='Rewards ($)',
|
| 464 |
+
font=dict(size=14, color='#38ef7d')),
|
| 465 |
tickfont=dict(color='#38ef7d'),
|
| 466 |
overlaying='y',
|
| 467 |
side='right'
|