Pre loader

How to make chart background Color as white, As it is coming as grid with black filled color?


I am using SCIStackedMountainRenderableSeries in my iOS application, I am always getting chart background as black grids, I want to make it clear or white background. How can I do that?

I have tried

sciChartSurface?.backgroundColor = UIColor.white

That did not worked, Please help.

  • You must to post comments

Hello Vikas,

First of all, you might want to apply one of our light themes like so:

SCIThemeManager.applyTheme(toThemeable: surface, withThemeKey: SCIChart_ExpressionLightStyleKey)

Light Theme

If you want to have fully clear white background, just remove grid lines, bands and other parts – more information is available in our Axis Styling Documentation

    SCIThemeManager.applyTheme(toThemeable: surface, withThemeKey: SCIChart_ExpressionLightStyleKey)
    surface.backgroundColor = .white
    surface.renderableSeriesAreaFill = SCISolidBrushStyle(color: .white) = false = false = false = false = false = false

White Background

Hope that helps.

Best Regards,
Nazar R.
SciChart Developer

  • You must to post comments

Your post is too amazing. I have found with ease what I was looking for. Moreover, the content quality is awesome. Thanks for the nudge!

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies