Pre loader

Rollover modifier vertical line dashed

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums


I am looking to customize the shape of the rollover vertical line (Android) – particularly, make it dashed and potentially increase the line thickness.
I saw that this is possible for WPF (, but was not able to find any information for Android.

Is this styling capable in Android?

  • You must to post comments
Best Answer

Hi Eyram,

Well there are ways to style chart:

  • using ThemeManager API, but by default you can’t specify dash pattern in XML. To add dash support you would need to reimplement entire IThemeProvider interface to return PenStyle with dash pattern for RolloverLineStyle property.
  • you can set properties directly on Paint that is used by RolloverModifier to draw vertical line, but you should set its properties only after you add RolloverModifier into modifier collection of chart. This is required because your value can be overridden by default theme from ThemeProvider and default theme is applied when it’s attached to chart ( in case of modifiers when it’s added into modifier collection ), so custom values for Paint should be set afterwards.

Hope this will help you!

Best regards,

  • Eyram Dornor
    That worked – specifically option 2. Thank you!
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies