Pre loader

Correctly Size the AxisMarkerAnnotation

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

0
0

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.

Version
2.0.0
Images
  • You must to post comments
0
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies