title: MPAndroidChart: LineChart with cubic bezier displays wrong (spikes and loops)
body: <p>I am trying to make a LineChart with a cubic plot. The result is like in the screenshot below: the cubic bezier displays wrong and has &quot;spikes&quot;. Can someone help me make it appear correctly?</p>
  <p>This is my config :</p>
  <pre><code>        LineDataSet lineDataSet = new LineDataSet(entries,nameLabel);
          lineDataSet.setColor(Constants.colors.get(i));
          lineDataSet.setDrawValues(false);
          lineDataSet.setDrawCircles(false);
          lineDataSet.setMode(LineDataSet.Mode.CUBIC_BEZIER);
  </code></pre>
  <p>Thank you
  <a href="https://i.stack.imgur.com/khKUs.png" rel="noreferrer"><img src="https://i.stack.imgur.com/khKUs.png" alt="cubic line chart with spikes" /></a></p>