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.
Starting from 2.0 we can have dashed lines in renderable series. I was wondering can we have dashed line annotations as well?
I tried this:
verticalLineAnnotation.style.linePen = [[SCIPenDashed alloc] initWithColor:[UIColor redColor] width:2 withStrokeDashArray:@[@(10.f),@(3.f)]];
and got this build error:
Assigning to 'SCIPenStyle *' from incompatible type 'SCIPenDashed *'
Isn’t SCIPenDashed a SCIPenStyle?
Seems that you should use SCISolidPenStyle instead SCIPenDashed like
sellMarker.style.markerLinePen = [[SCISolidPenStyle alloc] initWithColor:[UIColor whiteColor] withThickness:4 andStrokeDash:@[@(0.1f), @(0.3f), @(0.1f), @(0.3f)]];
But it’s doesn’t work for me also
So, please, lets me know if you find right way how to use it
Please login first to submit.