问题
Hello am using MPAndroiChart for my Android App
I stuck with a requirement where I have to draw a line chart(a single line) with different style. Some part of the line is straight and some part is dotted. Something like this
________...........__________________...______
Is it possible to do in MPAndroidChart?
回答1:
Yes, call lineDataSet.enableDashedLine(...)
Documentation: https://github.com/PhilJay/MPAndroidChart/wiki/DataSet-classes-in-detail
来源:https://stackoverflow.com/questions/33011210/how-to-set-diffent-style-to-single-line-graph-in-mpandroidchart