Hi, from the attached screenshot, we can see that the axis marker is somehow overlapped the chart content. I would like to ask how to resize the annotation so that we can fix this issue? thanks.
- Ray Hung asked 6 years ago
- You must login to post comments
Hi Ray,
Have you tried to reduce font size by setting new font style value for your AxisMarkerAnnotation?
final DisplayMetrics displayMetrics = getActivity().getResources().getDisplayMetrics();
final float textSize = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_SP, 10, displayMetrics);
axisMarkerAnnotation.setFontStyle(new FontStyle(textSize, Color.WHITE));
This should reduce size of annotation.
Hope this will help you!
Best regards,
Yura
- Yura Khariton answered 6 years ago
- You must login to post comments
Please login first to submit.