Hi Everybody,
I use a FastLineRenderableSeries with an XyDataSeries,
when I append data with a negative incrementation of X value,
nothing seems to be drawn
for example:
Clear();
for (int i = 0; i < 100; i++)
{
Append(100-i, i);
}
ZoomExtents();
but this example is working
Clear();
for (int i = 0; i < 100; i++)
{
Append(i, i);
}
ZoomExtents();
Is there a way to get this working? In my application data comes in real time, so I can’t sort them.
Thanks in advance for your help.
- Guillaume Bishop asked 5 years ago
- You must login to post comments
Hi Guilaume,
I believe this issue could be caused by exception thrown by data series when you append unsorted data ( please check your logcat output to confirm ). If it’s the case then you can disable this check by setting AcceptsUnsortedData = true:
final XyDataSeries<Double, Double> dataSeries = sciChartBuilder.newXyDataSeries(Double.class, Double.class).withAcceptsUnsortedData().build();
Best regards,
Yura
- Yura Khariton answered 5 years ago
- You must login to post comments
Please login first to submit.