How do you set X1,X2 and Y1,Y2 in xaml as suggested in a previous post here on the forum?
I also get null values here when using Composite Annotations example. the suggestion to set the value DependencyProperty.SetCurrentValue(X1Property, 0.0); does not work since DependencyProperty does not expose a SetCurrentValue method (?)
I am using your example code for doing composite Annotations on my existing chart.
I am using MeasureXAnnotation and MeasureXyAnnotation and the respective Update method that is overidden.
What am I missing ?
Appreciate your help with getting this working
Thanks
Anders
- You must login to post comments
Hello John-Anders Persson,
It seems that this forum question is a duplication of your support ticket, so I’ll duplicate my answer here:
— According to your description and error message you’ve got I assume that the problem is in multiple YAxes and AxisId you assign to them, or might be the problem that you’re not using that Id when creating your axis.
— When Annotation XAxisId or YAxisId has id that not match to existing AxisId’s it will place them by default to coordinate X=0; Y=0(top left corner), that again looks like the problem with adding extra axes, or adding annotations without specifying for them AxisId.
- Nazariy Pelyushkevych answered 3 years ago
- You must login to post comments
Please login first to submit.