plotlyhs-0.2.3: Haskell bindings to Plotly.js
Safe HaskellSafe-Inferred
LanguageHaskell2010

Graphics.Plotly.Blaze

Description

Plot traces to html using blaze-html

Example code:

plotHtml :: Html ()
plotHtml = toHtml $ plotly "myDiv" [trace] & layout . title ?~ "my plot"
                                           & layout . width ?~ 300

where trace is a value of type Trace

Synopsis

Documentation

plotlyCDN :: Html Source #

script tag to go in the header to import the plotly.js javascript from the official CDN

plotlyJS :: Plotly -> Html Source #

Activate a plot defined by a Plotly value

plotlyDiv :: Plotly -> Html Source #

Create a div for a Plotly value

Orphan instances