SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

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 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.


Hey guys,

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: = [[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?


  • You must to post comments

Hi, Igor

Seems that you should use SCISolidPenStyle instead SCIPenDashed like = [[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

Best regards,
Sushynski Andrei

  • Igor Peric
    Thanks for the suggestion. I think we should just wait for the release which supports it, as Mykola suggested.
  • You must to post comments

Hi, guys

Dashed line is not available for annotations right now, only for renderable series, and it will be done after release, in minor version.

Best Regards, Mykola

  • Igor Peric
    Thanks for the info. Looking forward to it! :)
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.