Pre loader

Composite Annotation issue, exception thrown while trying to drag box

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

I am having an issue with my Composite Annotation implementation.
I am using the example provided in the MeasureXyAnnotation.xaml that I found here.
My exception that is thrown (see exception attachment provided) complains about a missing Axis value.

In the public override void Update(ICoordinateCalculator xCoordCalc, ICoordinateCalculator yCoordCalc)
the yCoordCalc comes in with a null value. The xCoordCalc is populated and looks valid.

See attachment of my plotting area and well as the chart area. The composite annotation shows up alright, but as soon as I try to drag it the exception is immediately thrown.

I have no idea at this point why. I have tried to implement the annotation according to your example but obviously I am missing something.
Support getting this to work would be immensely appreciated.

Thank you
Anders

Version
6.2.1.13304
Images
  • John-Anders Persson
    public override void Update(ICoordinateCalculator xCoordCalc, ICoordinateCalculator yCoordCalc) This Update override function is being called , I believe correctly. However it always is called with yCoordCalc being = null. I am not sure what is the issue with that. The xCoordCalc is not null but populated correctly . Any ideas what I am missing here ? Help greatly appreciated, stuck here :-(
  • John-Anders Persson
    OK, I am calling out SOS :-) , it seems like the event public override void Update(ICoordinateCalculator xCoordCalc, ICoordinateCalculator yCoordCalc) does not want give a yCoordCalc value. It is null , it stays null no matter what I try. I am stuck, so please help me getting unstuck. The Update statement : base.Update(xCoordCalc, yCoordCalc); is where the problem occurs as expected I suppose. Object is null and it throws the exception. So what am I am I missing here guys ? I have implemented the Composite Annotation XY version according to the example given here. Step by step line by line pretty much. in my xaml file I have added the Y numeric xaml as : my series binding looks like so : I’ve of course used ChartSurface instead of the example codes <s:SciChartSurface x:Name="SciChart" SO what am I missing here ? Help please ! Thank you and greatly appreciated if you can help me out on this narly problem. Anders
  • You must to post comments
0
0

I added another exception screen shot for your information and hopefully this will be of further help. Thank you
Anders

Images
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies