PhilJay / MPAndroidChart

A powerful 🚀 Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, panning and animations.
Other
37.64k stars 9.02k forks source link

Real time graph with intermittent data #2257

Open joanna-zolopa opened 8 years ago

joanna-zolopa commented 8 years ago

Hi Phil, Firstly, thank you for making such a great library!

Secondly, I need some help.

I am using the LineChart from your library to present real-time data with some "gaps" that should be handled by showing an empty space. So for example we have data for x from range [ 0, 10 ], then no data for [11, 38] then some more data for [19, 100]. So we want to show line for [0,10] then empty space for [11, 38] and then another section of the line for [19, 100].

I saw some suggestions to use multiple data sets to handle that case but I was wondering whether there is any way to handle that in a single data set?

Jo

joanna-zolopa commented 8 years ago

@PhilJay Hi Phil, any suggestion on this one?

yuliangC commented 6 years ago

@joanna-zolopa Hi joanna-zolopa ,I am in trouble with the same question like yours,did you solve your question? Can you tell me how did you do for this question? if you are Chinese,please answer me for 中文,thanks! Best wishes!

protectedMan commented 4 years ago

可以看echarts,是一个跨平台方案。