plotlykt-server / scientifik.plotly.server

Package scientifik.plotly.server

Types

JupyterPlotly

object JupyterPlotly

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

scientifik.plotly.Plot

scientifik.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