swift - ios-charts background color -


hi change background color of ios-chart.

i tried:

barchartview.backgroundcolor = uicolor.redcolor() 

but changed color around bargraph, not color inside, ie. behind vertical bars.

any idea?

barchartview.backgroundcolor references uiview of barchartview subview. need reference base class of barchart change properties of bars or grid behind bars. change color of space behind bars try:

barchartview.gridbackgroundcolor = uicolor.redcolor() 

Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -