SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

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.