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

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.