SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components

0
0

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

Version
6.2.1.13304
  • You must to post comments
0
0

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.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.