charter-0.1.1.1
Safe HaskellNone
LanguageHaskell2010

Charts.Internal.Server

Synopsis

Documentation

chartApp :: MVar Chart -> FilePath -> Application Source #

Serve a chart, updating along with the MVar

serveChart :: Port -> Chart -> IO () Source #

Serve a single static chart on the given port

serveDynamicChart :: Port -> ((Chart -> IO ()) -> IO ()) -> IO () Source #

Serve a chart on the given port. The application can update the chart using the given handler.