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
380
XamDataChart - AxisLabelSettings binding not working
posted

Hi,

In XamDataChart, i tried to bind the properties of AxisLabelSettings with DependencyProperty. But it is working. I hardcoded its working fine. Could you please tell me any ways where i can bind it and able to change dynamically?

 

Thanks

  • 35319
    posted

    Hello,

     

    I am just checking if you require any further assistance on the matter.

  • 30692
    Suggested Answer
    Offline posted

    Hi,

    The axis label settings will not have the same DataContext as the chart because there is nothing to bridge that inheritance. Could you provide a sample of the xaml you are trying to use? You may need to get the values to the AxisLabelSettings through a static resource, which should be accessible regardless of the DataContext.

    -Graham