plotlyhs-0.1.0: Haskell bindings to Plotly.js

Safe HaskellNone
LanguageHaskell98

Graphics.Plotly.Blaze

Contents

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