plotlykt-server / kscience.plotly.server

Package kscience.plotly.server

Types

JupyterPlotlyServer

class JupyterPlotlyServer : PlotlyRenderer

MetaChangeCollector

A change collector that combines all emitted configuration changes until read, than drops all collected changes and starts new batch.

class MetaChangeCollector

PlotlyServer

class PlotlyServer : Configurable

PlotlyUpdateMode

enum class PlotlyUpdateMode

Update

An update message for both data and layout

sealed class Update

Extensions for External Classes

io.ktor.application.Application

io.ktor.server.engine.ApplicationEngine

kscience.plotly.Plot

kscience.plotly.Plotly

Functions

pullUpdates

Configure client to request regular updates from server. Pull updates are more expensive than push updates since they contain the full plot data and server can't decide what to send.

fun PlotlyServer.pullUpdates(interval: Long = 1000): PlotlyServer

pushUpdates

Configure server to start sending updates in push mode. Does not affect loaded pages

fun PlotlyServer.pushUpdates(interval: Long = 100): PlotlyServer