Pre loader

Only one Scrollbar is being created for Multiple YAxes when implementing a Custom Control and a Theme with SciChart in the xaml

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 created a custom control and created a theme for the visual of the SciChartSurface. The goal is to add/remove Y Axes as needed. The problem is only one Scrollbar is created for all the axes and as I add an axis the scroll bar gets bound to the latest axis.

But if I implement it as View/ViewModel and not a custom control, it works fine.

I’m evaluating SciChart for use in our product is this is my only issue with it. Any Ideas?

  • You must to post comments

Hi Joe,

I’m looking through your provided sample and I can’t even find where you are applying a Scrollbar to the axis dynamically. I did find HorizontalAxisStyle (applied to the XAxis) which sets a Scrollbar instance but cannot find the equivalent for the YAxis.

Can you provide some info about where to look in your sample so we can effectively help?

Best regards,

  • Joe Morin
    Hi Andrew, I found my issue, I needed to set x:Shared=False in the style definition in the ChartControlTheme.xml: Thanks, Joe
  • Andrew Burnett-Thompson
    Glad you found it!
  • 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