Pre loader

PathAnnotation type not found

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

When I enter PathAnnotation in the xaml, I get the error “The type ‘s:PathAnnotation’ was not found.” I do have the following Annotation types available:
– AxisMarkerAnnotation
– BoxAnnotation
– CustomAnnotation
– HorizontalLineAnnotation
– LineAnnotation
– LineArrowAnnotation
– SeriesValueAxisMarkerAnnotation
– TextAnnotation
– VerticalLineAnnotation

I want to be able to make a star shape annotation, and PathAnnotation seemed to be the only way to do this. Please let me know if there’s another way to do this.

Thanks,
Rachel

Version
v4.2.5.10565
  • Rachel Myrah
    I saw in the answer to a different question that all of the online documentation is for v5.xxx, and there isn’t any available for earlier versions. If my issue is that PathAnnotation isn’t available in v4, then please let me know if there’s a way to make a shape with a custom path using annotations in v4. Thanks
  • You must to post comments
1
0

Hi Rachel,

Thanks for your question.
I’m not sure if PathAnnotation existed in SciChart v4.x. To make a star shape annotation you can use the CustomAnnotation type. Please see this documentation article for more info:
https://www.scichart.com/documentation/v5.x/webframe.html#The%20CustomAnnotation%20Type.html

Also, you can find examples of CustomAnnotations in our “Annotations are Easy” example:
https://www.scichart.com/example/wpf-chart-example-annotations-are-easy/

We also recommend updating to SciChart v5.x as it has a lot of improvements since v4.x and SciChart v4.x is no longer supported – hence there is no documentation on v4.x.

Hope this helps.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.