Pre loader

Trying to dynamically set NumericAxis.AutoTicks

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

Closed
1
0

Hey all,

I’ve bound a plot’s NumericAxis.AutoTicks to a checkbox and MinorDelta and MajorDelta to TextBoxes. The Idea being that the user can toggle on and off automatic tick spacing and apply their own spacing if they desire. I’m hoping to avoid having to override the tickproviders and/or deltacalculators.

My issue is that once AutoTicks is set to true it appears to lock-out external input of the deltas even after it has been set back to false.

Have I missed something?

Version
4.2.2.9445
  • Andrew Burnett-Thompson
    Hi Nick, this is probably a bug. There is something in WPF called Dependency Property Precidence. Internally if we write to these properties in code, it will overwrite your bindings. I will ask the team to look into it
  • Yuriy Zadereckiy
    Hi Nick, for now, you could try setting BindingMode to TwoWay. It should help.
  • You must to post comments
0
0

Managed to get this working a couple weeks ago by screwing with the bindings and making sure the minor/major deltas were always set but we’ve de-scoped that part of the feature so don’t worry about it too much.
Cheers!

  • You must to post comments
Showing 1 result

Try SciChart Today

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

Start TrialCase Studies