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.
- Vikas Ahuja asked 5 years ago
- You must login 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! https://www.dumpscafe.com/
- david willy answered 2 years ago
- You must login 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)
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
Hope that helps.
Best Regards,
Nazar R.
SciChart Developer
- Nazar Rudnyk answered 5 years ago
- last edited 5 years ago
- You must login to post comments
Please login first to submit.