1

I'm trying to implement ShinobiCharts for Android (premium) and everything seems to work fine the first time. I update data live, using the SimpleDataAdapter.AddAll, a few times, and then stop updating. I then update other parts of the UI.

Then I try and update the chart again (using AddAll) and it appears "frozen". If I try and pan, the X Ticks slide past, but the chart itself, and all the data displayed, doesn't move.

The only thing I can think of is removing and re-adding the chart to the parent view, but I thought I'd check if it's possible I'm doing something wrong.

I'm using Xamarin Forms, with a custom renderer to display the chart. iOS works fine, although it's (obviously?) using a different renderer and data adapter.

4

1 回答 1

0

我解决了这个问题。我试图从后台线程更新/刷新图表。我将调用移至 UI 线程,它正在更新并且运行良好。

于 2015-10-30T17:48:04.770 回答