SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
On device, there is an unwanted border line on the SCIChartSurface. Please refer to the screenshot.
I tried removing this by setting the border width and setting it’s colour as white as below
self.surface.view.layer.borderColor = [[UIColor whiteColor]CGColor];
self.surface.view.layer.borderWidth = 2.0f;
However, this does not set the border of the SCIChartSurface.
How do I remove this unwanted border line?
We don’t have such line by default. I’ve just checked that on 1.2 version.
Please provide some more information on your SCIChartSurface setup, axes setup and annotations you are using.
Some small project to reproduce such issue would be really helpful
Andrii SciChart iOS Developer
Our team has created an example showing how to style various elements of the iOS SCIChartSurface:
This shows how to style the surface.renderableSeriesAreaBorder by setting a pen with this line of code:
// Obj C surface.renderableSeriesAreaBorder = [[SCISolidPenStyle alloc] initWithColor:UIColor.darkGrayColor withThickness:1]; // Swift surface.renderableSeriesAreaBorder = SCISolidPenStyle(color: .darkGray, withThickness: 1)
Does it answer your questions? Is there anything else you would like to see added to this example?
Please login first to submit.