SetupVegaServer

io.github.quafadas.plots.SetupVegaServer

Sends a Vega-Lite specification to a local WebSocket server for visualization.

Before calling this method, you must start the WebSocket server by running the following command in a separate terminal:

cs launch io.github.quafadas:dedav4s_3:0.10.0 -M viz.websockets.serve -- 8085

After the server is running, visualizations will be displayed at http://localhost:8085 and are updated via a websocket message every time the plot method is called, with eith the websocket or publishToPort plot target given in scope.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Exports

Defined exports

final val Json: Json
Exported from SetupVega
final type Json = Json
Exported from SetupVega$
final val VegaPlot: VegaPlot
Exported from SetupVega
final type VegaSpec = VegaSpec
Exported from vega
inline export namedTupleCodec[X <: AnyNamedTuple]
Exported from SetupVega
export vegaFlavour
Exported from SetupVega
export websocket
Exported from PlotTargets