| Copyright | (c) Connor Moreside, 2016 |
|---|---|
| License | BSD-3 |
| Maintainer | [email protected] |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Web.Lightning.Plots
Contents
Description
- data AdjacencyPlot = AdjacencyPlot {}
- adjacencyPlot :: Monad m => AdjacencyPlot -> LightningT m Visualization
- data ForcePlot = ForcePlot {}
- forcePlot :: Monad m => ForcePlot -> LightningT m Visualization
- data GraphPlot = GraphPlot {}
- graphPlot :: Monad m => GraphPlot -> LightningT m Visualization
- graphBundledPlot :: Monad m => GraphPlot -> LightningT m Visualization
- data LinePlot = LinePlot {}
- linePlot :: Monad m => LinePlot -> LightningT m Visualization
- data MapPlot = MapPlot {
- mppRegions :: [Text]
- mppWeights :: [Double]
- mppColorMap :: Maybe Text
- mapPlot :: Monad m => MapPlot -> LightningT m Visualization
- data MatrixPlot = MatrixPlot {
- mpMatrix :: [[Double]]
- mpRowLabels :: Maybe [Text]
- mpColLabels :: Maybe [Text]
- mpColorMap :: Maybe Text
- mpNumbers :: Maybe Bool
- matrixPlot :: Monad m => MatrixPlot -> LightningT m Visualization
- data ScatterPlot = ScatterPlot {
- spX :: [Double]
- spY :: [Double]
- spValues :: Maybe [Double]
- spLabels :: Maybe [Text]
- spColor :: Maybe [Int]
- spGroup :: Maybe [Int]
- spColorMap :: Maybe Text
- spSize :: Maybe [Int]
- spAlpha :: Maybe [Double]
- spXaxis :: Maybe Text
- spYaxis :: Maybe Text
- spToolTips :: Maybe Bool
- spZoom :: Maybe Bool
- spBrush :: Maybe Bool
- scatterPlot :: Monad m => ScatterPlot -> LightningT m Visualization
- data Scatter3Plot = Scatter3Plot {}
- scatter3Plot :: Monad m => Scatter3Plot -> LightningT m Visualization
- data CirclePlot = CirclePlot {}
- circlePlot :: Monad m => CirclePlot -> LightningT m Visualization
- data HistogramPlot = HistogramPlot {}
- histogramPlot :: Monad m => HistogramPlot -> LightningT m Visualization
- data VolumePlot = VolumePlot {}
- volumePlot :: Monad m => Text -> VolumePlot -> LightningT m Visualization
- data LineStreamPlot = LineStreamPlot {}
- streamingLinePlot :: Monad m => LineStreamPlot -> LightningT m Visualization
- data ScatterStreamPlot = ScatterStreamPlot {
- sspX :: [Double]
- sspY :: [Double]
- sspValues :: Maybe [Double]
- sspLabels :: Maybe [Text]
- sspColor :: Maybe [Int]
- sspGroup :: Maybe [Int]
- sspColorMap :: Maybe Text
- sspSize :: Maybe [Int]
- sspXaxis :: Maybe Text
- sspYaxis :: Maybe Text
- sspToolTips :: Maybe Bool
- sspZoom :: Maybe Bool
- sspBrush :: Maybe Bool
- sspVisualization :: Maybe Visualization
- streamingScatterPlot :: Monad m => ScatterStreamPlot -> LightningT m Visualization
- module Data.Default.Class
Sparse Adjacency Matrix
data AdjacencyPlot Source
Adjacency plot parameters
Constructors
| AdjacencyPlot | |
Fields
| |
Arguments
| :: Monad m | |
| => AdjacencyPlot | Adjacency plot to create. |
| -> LightningT m Visualization | Transformer stack with created visualization. |
Submits a request to the specified lightning-viz server to create a sparse adjacency matrix visualiazation.
Force-Directed Network
Force plot parameters
Constructors
| ForcePlot | |
Fields
| |
Arguments
| :: Monad m | |
| => ForcePlot | Force plot to create. |
| -> LightningT m Visualization | Transformer stack with created visualization. |
Submits a request to the specified lightning-viz server to create a force-directed network visualization from connectivity.
Graph
Graph plot parameters
Constructors
| GraphPlot | |
Fields
| |
Arguments
| :: Monad m | |
| => GraphPlot | Graph plot to create. |
| -> LightningT m Visualization | Transformer stack with created visualization. |
Submits a request to the specified lightning-viz server to create a node-link graph from spatial points and their connectivity.
Graph Bundled
Arguments
| :: Monad m | |
| => GraphPlot | Graph plot to create. |
| -> LightningT m Visualization | Transformer stack with created visualization. |
Submits a request to the specified lightning-viz server to create a bundled node-link graph visualization.
Line
Line plot parameters
Constructors
| LinePlot | |
Fields
| |
Arguments
| :: Monad m | |
| => LinePlot | Line plot to create. |
| -> LightningT m Visualization | Transformer stack with created visualization. |
Submits a request to the specified lightning-viz server to create a plot to visualize one-dimensional series.
Map
Map plot parameters
Constructors
| MapPlot | |
Fields
| |
Arguments
| :: Monad m | |
| => MapPlot | Map plot to create. |
| -> LightningT m Visualization | Transformer stack with created visualization. |
Submits a request to the specified lightning-viz server to create a chloropleth map of the world or united states.
Matrix
data MatrixPlot Source
Matrix plot parameters
Constructors
| MatrixPlot | |
Fields
| |
Arguments
| :: Monad m | |
| => MatrixPlot | Matrix plot to create. |
| -> LightningT m Visualization | Transformer stack with created visualization. |
Submits a request to the specified lightning-viz server to create a heat map of the given matrix.
Scatter
data ScatterPlot Source
Scatter plot parameters
Constructors
| ScatterPlot | |
Fields
| |
Arguments
| :: Monad m | |
| => ScatterPlot | Scatter plot to create. |
| -> LightningT m Visualization | Transformer stack with created visualization. |
Submits a request to the specified lightning-viz server to create a scatter plot.
3D Scatter
data Scatter3Plot Source
Scatter Plot 3D parameters
Constructors
| Scatter3Plot | |
Fields
| |
Arguments
| :: Monad m | |
| => Scatter3Plot | Scatter plot to create |
| -> LightningT m Visualization | Transformer stack with created visualization. |
Submits a request to the specified lightning-viz server to create a 3D scatter plot.
Circle
data CirclePlot Source
Circle plot parameters
Constructors
| CirclePlot | |
Fields
| |
Arguments
| :: Monad m | |
| => CirclePlot | Circle plot to create. |
| -> LightningT m Visualization | Transformer stack with created visualization. |
Submits a request to the specified lightning-viz server to create a circular graph from connectivity data.
Histogram
data HistogramPlot Source
Histogram plot parameters
Arguments
| :: Monad m | |
| => HistogramPlot | Histogram plot to create. |
| -> LightningT m Visualization | Transformer stack with created visualization. |
Submits a request to the specified lightning-viz server to create a plot to histogram.
Volume
Arguments
| :: Monad m | |
| => Text | Base URL for lightning-viz server. |
| -> VolumePlot | Volume plot to create |
| -> LightningT m Visualization | Transformer stack with created visualization. |
Submits a request to the specified lightning-viz server to create a visualization of a collection of images as a three-dimensional volume.
Streaming Line Plot
data LineStreamPlot Source
Streaming line plot parameters
Constructors
| LineStreamPlot | |
Fields
| |
Arguments
| :: Monad m | |
| => LineStreamPlot | Line plot to create / update. |
| -> LightningT m Visualization | Transformer stack with created visualization. |
Plot streaming one-dimensional series data as updating lines.
Streaming Scatter Plot
data ScatterStreamPlot Source
Scatter plot parameters
Constructors
| ScatterStreamPlot | |
Fields
| |
Arguments
| :: Monad m | |
| => ScatterStreamPlot | Scatter plot to create / update. |
| -> LightningT m Visualization | Transformer stack with created visualization. |
Create a streaming scatter plot of x and y.
Plotting once returns a visualization on which append can be called to add new data
in a streaming fashion. The opacity of old and new data is automatically set
to highlight the most recent data and fade old data away.
module Data.Default.Class