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
- Ghousia Begum asked 7 years ago
- You must login to post comments
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
- Yura Khariton answered 7 years ago
- You must login to post comments
Please login first to submit.