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

0
0

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?

Version
5.1
Images
  • You must to post comments
0
0

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,
Andrew

  • 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
    Glad you found it!
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

SciChart WPF v6 BETA released! Note pricing/licensing changes are coming. Contact us to beat the rise!Read more
+