Home  >  Q&A  >  body text

MPAndroidChart 设置数据不同颜色之后,横向滑动颜色错位

MPAndroidChart在设置数据颜色之后,横向滑动之后出现颜色错位

set1 = new LineDataSet(values, "DataSet 1");
set1.enableDashedLine(10f, 5f, 0f);
set1.enableDashedHighlightLine(10f, 5f, 0f);
set1.setLineWidth(1f);
set1.setCircleRadius(3f);
set1.setDrawCircleHole(false);
set1.setValueTextSize(9f);
set1.setDrawFilled(true);
set1.setFormLineWidth(1f);
set1.setValueTextColor(Color.GREEN);

怪我咯怪我咯2764 days ago554

reply all(0)I'll reply

No reply
  • Cancelreply