Charts.Internal.Server
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.