Pre loader

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

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

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
sciChartSurface?.applyThemeProvider(nil)

That did not worked, Please help.

Version
2.5.0
  • You must to post comments
0
0

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! https://www.dumpscafe.com/

  • You must to post comments
0
0

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)
    xAxis.style.drawMajorBands = false
    xAxis.style.drawMajorGridLines = false
    xAxis.style.drawMinorGridLines = false
    yAxis.style.drawMajorBands = false
    yAxis.style.drawMajorGridLines = false
    yAxis.style.drawMinorGridLines = false

White Background

Hope that helps.

Best Regards,
Nazar R.
SciChart Developer

Images
  • 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