Pre loader

Custom annotations not getting displayed

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

Answered
0
0

Hi Yura,

Thank you for the answer here

I already did tried that way before also but was unable to display the custom annotations, even though I give the YAxisId the symbols are not visible on the chart…

I would be really grateful if you could help me out with this please

Version
2.3
  • You must to post comments
Best Answer
1
0

Hi Ghousia,

Did you set some content for your custom annotation because by default content is empty and annotation doesn’t display anything:

CustomAnnotation annotation = builder.newCustomAnnotation()
       .withContent(R.layout.example_custom_annotation_view) // set layout from XML as content
       // some other code
       .build();

I tried to use your code from your previous question and after I set correct YAxisId and content for custom annotation it worked.

Best regards,
Yura

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.