android - MPAndroidChart homescreen widget -
is there example, howto place of charts in mpandroidchart library homescreen widget?
//i tried utilize getchartbitmap(), 1)bitmap not created after calling invalidate(), homecoming null 2)i dont see way, howto initialize chart class without placing resources - cant widget.
anybody have successful illustration ?
the chart needs milliseconds draw content onto bitmap
. reason why calling getchartbitmap()
right after invalidate()
not homecoming valid bitmap
.
try using handler
, delay time before retrieving bitmap
abound 100ms.
android mpandroidchart
No comments:
Post a Comment