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' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -