This is a strange bug which we’ve seen once before but it’s very hard to pin down as it only happens with certain devices (for example, we found it happen with a Nexus 10 but not a HTC One).
It seems by placing a view on top of the chart you can prevent it from happening - which explains why it doesn’t happen with the trial version; the watermark is a view on top of the chart.
A workaround you can employ is as follows:
- Create an ImageView with an image resource that is a 1x1 pixel transparent image
- Add a custom view annotation to the chart using the above ImageView:
AnnotationsManager annotationsManager = chart.getAnnotationsManager();
Annotation annotation = annotationsManager.addViewAnnotation(imageView, null, null, chart.getXAxis(), chart.getYAxis());
- The X and Y values can be set to null as we’re going to make the annotation span the width and height of the plot area (see below)
- For this workaround to work the ImageView needs to be constantly on top of the chart so the layout params of the ImageView have to be set accordingly to make the annotation span the width and height of the plot area:
imageView.getLayoutParams().width = LayoutParams.MATCH_PARENT;
imageView.getLayoutParams().height = LayoutParams.MATCH_PARENT;
Hopefully that will help in the meantime while we look for a permanent fix.