Answer:
If you are using MPAndroidChart and still using setDrawCubic()
method which is deprecated, the solution is to use :
public enum Mode {
LINEAR,
STEPPED,
CUBIC_BEZIER,
HORIZONTAL_BEZIER
}
Which is defined in the LineDataSet.java class in the library.
mySet.setMode(LineDataSet.Mode.CUBIC_BEZIER);
So next time dont use mySet.setDrawCubic(true);
just use the above and the desired enum
value.