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
-
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 :-(
-
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 login to post comments
I added another exception screen shot for your information and hopefully this will be of further help. Thank you
Anders
- John-Anders Persson answered 3 years ago
- You must login to post comments
Please login first to submit.