SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
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.
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.
Please login first to submit.