Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
860
Dynamic Axis/Legend Binding
posted

In our application a varying number of charts can be created based upon user configuration.  The axis information is also user configurable, and this is where the problem comes in.

In creating the axes for the chart, can the name be bound to a property on our axis viewmodel? (I do not think so as my experimentation with x:Name={Binding Path=ViewModel.Name} so far) or is there some way to use RelativeSource binding to locate the axis information?  Can this be done for the legend as well?  Thank you!