Pre loader

How to derive new type of annotation from annotationbase?

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


Hi, I need some new type of annotation, for example, TriangleAnnotation or HexagonalAnnotation. I would rather derive the new type from AnnotationBase than from CustomAnnotation, because I need more control points than one. what shall I do?

  • You must to post comments
Best Answer

Hi there,

The best thing to do is to inherit or use a BoxAnnotation and change the template. We have an example here:

This will give you control points at all four corners.

Let me know if this helps!

Best regards,

  • wang siyuan
    I try it as you suggested, it works. Thank you so much
  • You must to post comments

Thank you for the quick reply. Let me try it.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.