SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
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.