Ziwei Guo

Results 10 comments of Ziwei Guo

I guess these codes can resolve your problem. ` lineDataSet.setMode(LineDataSet.Mode.CUBIC_BEZIER);` lineDataSet.setCubicIntensity(0.1f); `

I think you can use two datasets. The line drawn from a dataset must be continuous.

There is an "isEmpty" method in Chart.java, I guess it is what you found. `/** * Returns true if the chart is empty (meaning it's data object is either *...

Do you disable mAxisLeft or mAxisRight? If you don't want to show the label in YAxis, you can set isDrawLabelsEnabled as false rather than disable it.

In your scenario, I suggest you can use RecyclerView or other customized views to implement it. Your design has a huge difference from the MPChart default style, so customizing this...

上一下代码 @Clearlee

考虑到有的场景需要显示多个指标就这样处理了,这种实现确实不是最佳的解决方案

我也一样,有这个问题

@johnnyzen It's a good solution. However, I think we shouldn't alter the source code if we must do. In some cases, the gap of lines wouldn't be 3 or a...