https://kotlinlang.org logo
#science
Title
# science
a

altavir

08/23/2019, 10:50 AM
@Zelenyi I've just pushed a commit to plotly.kt which works around the JavaFx dynamic update problem. It introduces a way to update plots without websockets. The client just requests the plot with regular interval. The reconcile is done on client side so the amount of data being sent is much higher, but on the other hand we do not work with websockets. I think in future I can make those pull updates as effecttive as push updates.
z

Zelenyi

08/23/2019, 11:38 AM
I looked at it, ugly fps
a

altavir

08/23/2019, 11:39 AM
You can define tour own update interval, but this method is not meant for intervals less than, say 500 ms. We need to wait for ktor team to fix websockets for fast updates.
3 Views