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

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.