This question is locked. New answers and comments are not allowed.
HI,
We are dynamically rendering the charts based on the data in our database. For that we are assigning the data context in the design mode.
We are dynamically rendering the charts based on the data in our database. For that we are assigning the data context in the design mode.
DataContext="{Binding DefaultViewModel, RelativeSource={RelativeSource Self}}". But the problem is it is displaying the full qualified data context name. We have even tried this in code behind but the problem still persists. For example if we are using the view model name as CompositeViewModel(in code behind) then it is displaying this CompositeViewModel beside the YAxis as title. We don't want this ViewModel name to be displayed beside it. Please find the screenshot the displaying datacontext name. Can you please suggest us what can be done for this.
Thanks in Advance..