Skip to content

Commit

Permalink
Edit chart styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Novruu committed Nov 19, 2024
1 parent d564281 commit af5d634
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ class MS.Views.DashboardLoansActiveStackChart extends Backbone.View
@element = params.el
@loansData = params.loans_data
@defaultChartOptions = {
height: 300,
height: 400,
width: '100%'
backgroundColor: 'none',
isStacked: true,
chartArea: {
left: 60
width: '100%',
height: '90%'
},
hAxis: {
minValue: 0
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ class MS.Views.DashboardLoansChart extends Backbone.View
#@loansDataData = [{'name': 'status1', 'amount':10},{'name': 'status2', 'amount':20},{'name': 'status3', 'amount':30},{'name': 'status4', 'amount':40},{'name': 'status5', 'amount':50},{'name': 'status6', 'amount':60}]
@locale = params.locale
@defaultChartOptions = {
height: 300,
height: 400,
width: '100%',
chartArea: {
left: 0,
top: 10,
left: 20,
top: 20,
width: '100%',
height: '90%'
height: '100%'
},
backgroundColor: 'none'
}
Expand Down

0 comments on commit af5d634

Please sign in to comment.