Open mintheinwin opened 1 year ago
Hello, Please help me with this I am getting the same issue.
Hi dishankEbizz, I was created to dynamic dataset for different line (example different line chart color and show gap when Y-axias value is null) Example datalist 2,3,4,null,null,1,23,5
for data position 2 to 4 create one dataset ILineDataSet lineSet = data.getDataSetByIndex(0); for data position null to null next one dataset ILineDataSet lineSet = data.getDataSetByIndex(1); for data position 1...to ...5 ILineDataSet lineSet = data.getDataSetByIndex(2); you can handle in data loop list. You can change to create dataset position when data has changed .
Hi dishankEbizz, I was created to dynamic dataset for different line (example different line chart color and show gap when Y-axias value is null) Example datalist 2,3,4,null,null,1,23,5
for data position 2 to 4 create one dataset ILineDataSet lineSet = data.getDataSetByIndex(0); for data position null to null next one dataset ILineDataSet lineSet = data.getDataSetByIndex(1); for data position 1...to ...5 ILineDataSet lineSet = data.getDataSetByIndex(2); you can handle in data loop list. You can change to create dataset position when data has changed .
Can you please suggest a solution to this bug? https://github.com/PhilJay/MPAndroidChart/issues/5429#issue-1973858671
You can refer to this real-time curve library, https://github.com/GitHubWanglei/RTLineChartView
I'm using MP Library chart to show data real time data chart with different color depending on Y value condition in run real time every second data changes.