sammy786 commited on
Commit
6764e38
·
verified ·
1 Parent(s): 79d270d

Update utils/formatters.py

Browse files
Files changed (1) hide show
  1. 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
- title='Spending ($)',
457
- titlefont=dict(color='#667eea'),
458
- tickfont=dict(color='#667eea')
459
- ),
 
 
460
  yaxis2=dict(
461
- title='Rewards ($)',
462
- titlefont=dict(color='#38ef7d'),
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'