This file is indexed.

/usr/share/doc/libghc-chart-doc/html/Graphics-Rendering-Chart-Layout.html is in libghc-chart-doc 1.8.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Graphics.Rendering.Chart.Layout</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-Rendering-Chart-Layout.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-Rendering-Chart-Layout.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">Chart-1.8.1: A library for generating 2D Charts and Plots</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) Tim Docker 2006, 2014</td></tr><tr><th>License</th><td>BSD-style (see chart/COPYRIGHT)</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Graphics.Rendering.Chart.Layout</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Types</a></li><li><a href="#g:2">Rendering</a></li><li><a href="#g:3">LayoutAxis lenses</a></li><li><a href="#g:4">Layout lenses</a></li><li><a href="#g:5">LayoutLR lenses</a></li><li><a href="#g:6">StackedLayouts lenses</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>This module glues together axes and plots to actually create a renderable
 for a chart.</p><p>Note that Template haskell is used to derive accessor functions
 (see <code><a href="Control.html#v:Lens">Lens</a></code>) for each field of the following data types:</p><ul><li><code><a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a></code></li><li><code><a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a></code></li><li><code><a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a></code></li><li><code><a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a></code></li></ul></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span> <a href="#t:Layout">Layout</a> x y = <a href="#v:Layout">Layout</a> {<ul class="subs"><li><a href="#v:_layout_background">_layout_background</a> :: <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a></li><li><a href="#v:_layout_plot_background">_layout_plot_background</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a></li><li><a href="#v:_layout_title">_layout_title</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li><a href="#v:_layout_title_style">_layout_title_style</a> :: <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></li><li><a href="#v:_layout_x_axis">_layout_x_axis</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x</li><li><a href="#v:_layout_top_axis_visibility">_layout_top_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li><a href="#v:_layout_bottom_axis_visibility">_layout_bottom_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li><a href="#v:_layout_y_axis">_layout_y_axis</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> y</li><li><a href="#v:_layout_left_axis_visibility">_layout_left_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li><a href="#v:_layout_right_axis_visibility">_layout_right_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li><a href="#v:_layout_plots">_layout_plots</a> :: [<a href="Graphics-Rendering-Chart-Plot-Types.html#t:Plot">Plot</a> x y]</li><li><a href="#v:_layout_legend">_layout_legend</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Legend.html#t:LegendStyle">LegendStyle</a></li><li><a href="#v:_layout_margin">_layout_margin</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:_layout_grid_last">_layout_grid_last</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:LayoutLR">LayoutLR</a> x y1 y2 = <a href="#v:LayoutLR">LayoutLR</a> {<ul class="subs"><li><a href="#v:_layoutlr_background">_layoutlr_background</a> :: <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a></li><li><a href="#v:_layoutlr_plot_background">_layoutlr_plot_background</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a></li><li><a href="#v:_layoutlr_title">_layoutlr_title</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li><a href="#v:_layoutlr_title_style">_layoutlr_title_style</a> :: <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></li><li><a href="#v:_layoutlr_x_axis">_layoutlr_x_axis</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x</li><li><a href="#v:_layoutlr_top_axis_visibility">_layoutlr_top_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li><a href="#v:_layoutlr_bottom_axis_visibility">_layoutlr_bottom_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li><a href="#v:_layoutlr_left_axis">_layoutlr_left_axis</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> y1</li><li><a href="#v:_layoutlr_left_axis_visibility">_layoutlr_left_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li><a href="#v:_layoutlr_right_axis">_layoutlr_right_axis</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> y2</li><li><a href="#v:_layoutlr_right_axis_visibility">_layoutlr_right_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li><a href="#v:_layoutlr_plots">_layoutlr_plots</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Either.html#t:Either">Either</a> (<a href="Graphics-Rendering-Chart-Plot-Types.html#t:Plot">Plot</a> x y1) (<a href="Graphics-Rendering-Chart-Plot-Types.html#t:Plot">Plot</a> x y2)]</li><li><a href="#v:_layoutlr_legend">_layoutlr_legend</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Legend.html#t:LegendStyle">LegendStyle</a></li><li><a href="#v:_layoutlr_margin">_layoutlr_margin</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li><a href="#v:_layoutlr_grid_last">_layoutlr_grid_last</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:LayoutAxis">LayoutAxis</a> x = <a href="#v:LayoutAxis">LayoutAxis</a> {<ul class="subs"><li><a href="#v:_laxis_title_style">_laxis_title_style</a> :: <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></li><li><a href="#v:_laxis_title">_laxis_title</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li><a href="#v:_laxis_style">_laxis_style</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisStyle">AxisStyle</a></li><li><a href="#v:_laxis_generate">_laxis_generate</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisFn">AxisFn</a> x</li><li><a href="#v:_laxis_override">_laxis_override</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisData">AxisData</a> x -&gt; <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisData">AxisData</a> x</li><li><a href="#v:_laxis_reverse">_laxis_reverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:LayoutPick">LayoutPick</a> x y1 y2<ul class="subs"><li>= <a href="#v:LayoutPick_Legend">LayoutPick_Legend</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li>| <a href="#v:LayoutPick_Title">LayoutPick_Title</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li>| <a href="#v:LayoutPick_XTopAxisTitle">LayoutPick_XTopAxisTitle</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li>| <a href="#v:LayoutPick_XBottomAxisTitle">LayoutPick_XBottomAxisTitle</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li>| <a href="#v:LayoutPick_YLeftAxisTitle">LayoutPick_YLeftAxisTitle</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li>| <a href="#v:LayoutPick_YRightAxisTitle">LayoutPick_YRightAxisTitle</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li>| <a href="#v:LayoutPick_PlotArea">LayoutPick_PlotArea</a> x y1 y2</li><li>| <a href="#v:LayoutPick_XTopAxis">LayoutPick_XTopAxis</a> x</li><li>| <a href="#v:LayoutPick_XBottomAxis">LayoutPick_XBottomAxis</a> x</li><li>| <a href="#v:LayoutPick_YLeftAxis">LayoutPick_YLeftAxis</a> y1</li><li>| <a href="#v:LayoutPick_YRightAxis">LayoutPick_YRightAxis</a> y2</li></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:StackedLayouts">StackedLayouts</a> x = <a href="#v:StackedLayouts">StackedLayouts</a> {<ul class="subs"><li><a href="#v:_slayouts_layouts">_slayouts_layouts</a> :: [<a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayout">StackedLayout</a> x]</li><li><a href="#v:_slayouts_compress_legend">_slayouts_compress_legend</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li></ul>}</li><li class="src short"><span class="keyword">data</span> <a href="#t:StackedLayout">StackedLayout</a> x<ul class="subs"><li>= <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> y =&gt; <a href="#v:StackedLayout">StackedLayout</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y)</li><li>| (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> yl, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> yr) =&gt; <a href="#v:StackedLayoutLR">StackedLayoutLR</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x yl yr)</li></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:MAxisFn">MAxisFn</a> t = [t] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisData">AxisData</a> t)</li><li class="src short"><a href="#v:layoutToRenderable">layoutToRenderable</a> :: <span class="keyword">forall</span> x y. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> x, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> y) =&gt; <a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y -&gt; <a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutPick">LayoutPick</a> x y y)</li><li class="src short"><a href="#v:layoutToGrid">layoutToGrid</a> :: <span class="keyword">forall</span> x y. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> x, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> y) =&gt; <a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y -&gt; <a href="Graphics-Rendering-Chart-Grid.html#t:Grid">Grid</a> (<a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutPick">LayoutPick</a> x y y))</li><li class="src short"><a href="#v:layoutLRToRenderable">layoutLRToRenderable</a> :: <span class="keyword">forall</span> x yl yr. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> x, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> yl, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> yr) =&gt; <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x yl yr -&gt; <a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutPick">LayoutPick</a> x yl yr)</li><li class="src short"><a href="#v:layoutLRToGrid">layoutLRToGrid</a> :: <span class="keyword">forall</span> x yl yr. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> x, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> yl, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> yr) =&gt; <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x yl yr -&gt; <a href="Graphics-Rendering-Chart-Grid.html#t:Grid">Grid</a> (<a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutPick">LayoutPick</a> x yl yr))</li><li class="src short"><a href="#v:renderStackedLayouts">renderStackedLayouts</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> x =&gt; <a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a> x -&gt; <a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> ()</li><li class="src short"><a href="#v:laxis_title_style">laxis_title_style</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></li><li class="src short"><a href="#v:laxis_title">laxis_title</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:laxis_style">laxis_style</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisStyle">AxisStyle</a></li><li class="src short"><a href="#v:laxis_generate">laxis_generate</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x) (<a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisFn">AxisFn</a> x)</li><li class="src short"><a href="#v:laxis_override">laxis_override</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x) (<a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisData">AxisData</a> x -&gt; <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisData">AxisData</a> x)</li><li class="src short"><a href="#v:laxis_reverse">laxis_reverse</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:layout_background">layout_background</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a></li><li class="src short"><a href="#v:layout_plot_background">layout_plot_background</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a>)</li><li class="src short"><a href="#v:layout_title">layout_title</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:layout_title_style">layout_title_style</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></li><li class="src short"><a href="#v:layout_x_axis">layout_x_axis</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x)</li><li class="src short"><a href="#v:layout_top_axis_visibility">layout_top_axis_visibility</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li class="src short"><a href="#v:layout_bottom_axis_visibility">layout_bottom_axis_visibility</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li class="src short"><a href="#v:layout_y_axis">layout_y_axis</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> y)</li><li class="src short"><a href="#v:layout_left_axis_visibility">layout_left_axis_visibility</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li class="src short"><a href="#v:layout_right_axis_visibility">layout_right_axis_visibility</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li class="src short"><a href="#v:layout_margin">layout_margin</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li class="src short"><a href="#v:layout_plots">layout_plots</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) [<a href="Graphics-Rendering-Chart-Plot-Types.html#t:Plot">Plot</a> x y]</li><li class="src short"><a href="#v:layout_legend">layout_legend</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Legend.html#t:LegendStyle">LegendStyle</a>)</li><li class="src short"><a href="#v:layout_grid_last">layout_grid_last</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:layout_axes_styles">layout_axes_styles</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisStyle">AxisStyle</a></li><li class="src short"><a href="#v:layout_axes_title_styles">layout_axes_title_styles</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></li><li class="src short"><a href="#v:layout_all_font_styles">layout_all_font_styles</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></li><li class="src short"><a href="#v:layout_foreground">layout_foreground</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><a href="#v:layoutlr_background">layoutlr_background</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a></li><li class="src short"><a href="#v:layoutlr_plot_background">layoutlr_plot_background</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a>)</li><li class="src short"><a href="#v:layoutlr_title">layoutlr_title</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:layoutlr_title_style">layoutlr_title_style</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></li><li class="src short"><a href="#v:layoutlr_x_axis">layoutlr_x_axis</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x)</li><li class="src short"><a href="#v:layoutlr_top_axis_visibility">layoutlr_top_axis_visibility</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li class="src short"><a href="#v:layoutlr_bottom_axis_visibility">layoutlr_bottom_axis_visibility</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li class="src short"><a href="#v:layoutlr_left_axis">layoutlr_left_axis</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> y1)</li><li class="src short"><a href="#v:layoutlr_right_axis">layoutlr_right_axis</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> y2)</li><li class="src short"><a href="#v:layoutlr_left_axis_visibility">layoutlr_left_axis_visibility</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li class="src short"><a href="#v:layoutlr_right_axis_visibility">layoutlr_right_axis_visibility</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></li><li class="src short"><a href="#v:layoutlr_plots">layoutlr_plots</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Either.html#t:Either">Either</a> (<a href="Graphics-Rendering-Chart-Plot-Types.html#t:Plot">Plot</a> x y1) (<a href="Graphics-Rendering-Chart-Plot-Types.html#t:Plot">Plot</a> x y2)]</li><li class="src short"><a href="#v:layoutlr_legend">layoutlr_legend</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Legend.html#t:LegendStyle">LegendStyle</a>)</li><li class="src short"><a href="#v:layoutlr_margin">layoutlr_margin</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></li><li class="src short"><a href="#v:layoutlr_grid_last">layoutlr_grid_last</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:layoutlr_axes_styles">layoutlr_axes_styles</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisStyle">AxisStyle</a></li><li class="src short"><a href="#v:layoutlr_axes_title_styles">layoutlr_axes_title_styles</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></li><li class="src short"><a href="#v:layoutlr_all_font_styles">layoutlr_all_font_styles</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></li><li class="src short"><a href="#v:layoutlr_foreground">layoutlr_foreground</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>)</li><li class="src short"><a href="#v:slayouts_layouts">slayouts_layouts</a> :: <span class="keyword">forall</span> x x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens">Lens</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a> x) (<a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a> x) [<a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayout">StackedLayout</a> x] [<a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayout">StackedLayout</a> x]</li><li class="src short"><a href="#v:slayouts_compress_legend">slayouts_compress_legend</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a> x) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></li></ul></div><div id="interface"><h1 id="g:1">Types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Layout" class="def">Layout</a> x y <a href="src/Graphics-Rendering-Chart-Layout.html#Layout" class="link">Source</a> <a href="#t:Layout" class="selflink">#</a></p><div class="doc"><p>A Layout value is a single plot area, with single x and y
   axis. The title is at the top and the legend at the bottom. It's
   parametrized by the types of values to be plotted on the x
   and y axes.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Layout" class="def">Layout</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:_layout_background" class="def">_layout_background</a> :: <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a></dfn><div class="doc"><p>How to fill the background of everything.</p></div></li><li><dfn class="src"><a id="v:_layout_plot_background" class="def">_layout_plot_background</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a></dfn><div class="doc"><p>How to fill the background of the plot, 
   if different from the overall background.</p></div></li><li><dfn class="src"><a id="v:_layout_title" class="def">_layout_title</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></dfn><div class="doc"><p>Title to display above the chart.</p></div></li><li><dfn class="src"><a id="v:_layout_title_style" class="def">_layout_title_style</a> :: <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></dfn><div class="doc"><p>Font style to use for the title.</p></div></li><li><dfn class="src"><a id="v:_layout_x_axis" class="def">_layout_x_axis</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x</dfn><div class="doc"><p>Rules to generate the x axis.</p></div></li><li><dfn class="src"><a id="v:_layout_top_axis_visibility" class="def">_layout_top_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></dfn><div class="doc"><p>Visibility options for the top axis.</p></div></li><li><dfn class="src"><a id="v:_layout_bottom_axis_visibility" class="def">_layout_bottom_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></dfn><div class="doc"><p>Visibility options for the bottom axis.</p></div></li><li><dfn class="src"><a id="v:_layout_y_axis" class="def">_layout_y_axis</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> y</dfn><div class="doc"><p>Rules to generate the y axis.</p></div></li><li><dfn class="src"><a id="v:_layout_left_axis_visibility" class="def">_layout_left_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></dfn><div class="doc"><p>Visibility options for the left axis.</p></div></li><li><dfn class="src"><a id="v:_layout_right_axis_visibility" class="def">_layout_right_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></dfn><div class="doc"><p>Visibility options for the right axis.</p></div></li><li><dfn class="src"><a id="v:_layout_plots" class="def">_layout_plots</a> :: [<a href="Graphics-Rendering-Chart-Plot-Types.html#t:Plot">Plot</a> x y]</dfn><div class="doc"><p>The data sets to plot in the chart.
   The are ploted over each other.</p></div></li><li><dfn class="src"><a id="v:_layout_legend" class="def">_layout_legend</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Legend.html#t:LegendStyle">LegendStyle</a></dfn><div class="doc"><p>How to style the legend.</p></div></li><li><dfn class="src"><a id="v:_layout_margin" class="def">_layout_margin</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></dfn><div class="doc"><p>The margin distance to use.</p></div></li><li><dfn class="src"><a id="v:_layout_grid_last" class="def">_layout_grid_last</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></dfn><div class="doc"><p>If the grid shall be rendered
   beneath (<code>False</code>) or over (<code>True</code>) all plots.</p></div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:Layout" class="caption collapser" onclick="toggleSection('i:Layout')">Instances</p><div id="section.i:Layout" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Layout:Default:1" class="instance expander" onclick="toggleSection('i:id:Layout:Default:1')"></span> (<a href="Graphics-Rendering-Chart-Axis-Types.html#t:PlotValue">PlotValue</a> x, <a href="Graphics-Rendering-Chart-Axis-Types.html#t:PlotValue">PlotValue</a> y) =&gt; <a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y)</span> <a href="src/Graphics-Rendering-Chart-Layout.html#line-297" class="link">Source</a> <a href="#t:Layout" class="selflink">#</a></td><td class="doc"><p>Empty <code><a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a></code> without title and plots. The background is white and 
   the grid is drawn beneath all plots. There will be a legend. The top
   and right axis will not be visible.</p></td></tr><tr><td colspan="2"><div id="section.i:id:Layout:Default:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:def">def</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y <a href="#v:def" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Layout:ToRenderable:2" class="instance expander" onclick="toggleSection('i:id:Layout:ToRenderable:2')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> x, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> y) =&gt; <a href="Graphics-Rendering-Chart-Renderable.html#t:ToRenderable">ToRenderable</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y)</span> <a href="src/Graphics-Rendering-Chart-Layout.html#line-205" class="link">Source</a> <a href="#t:Layout" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Layout:ToRenderable:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toRenderable">toRenderable</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y -&gt; <a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> () <a href="src/Graphics-Rendering-Chart-Renderable.html#toRenderable" class="link">Source</a> <a href="#v:toRenderable" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:LayoutLR" class="def">LayoutLR</a> x y1 y2 <a href="src/Graphics-Rendering-Chart-Layout.html#LayoutLR" class="link">Source</a> <a href="#t:LayoutLR" class="selflink">#</a></p><div class="doc"><p>A LayoutLR value is a single plot area, with an x axis and
   independent left and right y axes, with a title at the top;
   legend at the bottom. It's parametrized by the types of values
   to be plotted on the x and two y axes.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:LayoutLR" class="def">LayoutLR</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:_layoutlr_background" class="def">_layoutlr_background</a> :: <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a></dfn><div class="doc"><p>How to fill the background of everything.</p></div></li><li><dfn class="src"><a id="v:_layoutlr_plot_background" class="def">_layoutlr_plot_background</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a></dfn><div class="doc"><p>How to fill the background of the plot, 
   if different from the overall background.</p></div></li><li><dfn class="src"><a id="v:_layoutlr_title" class="def">_layoutlr_title</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></dfn><div class="doc"><p>Title to display above the chart.</p></div></li><li><dfn class="src"><a id="v:_layoutlr_title_style" class="def">_layoutlr_title_style</a> :: <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></dfn><div class="doc"><p>Font style to use for the title.</p></div></li><li><dfn class="src"><a id="v:_layoutlr_x_axis" class="def">_layoutlr_x_axis</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x</dfn><div class="doc"><p>Rules to generate the x axis.</p></div></li><li><dfn class="src"><a id="v:_layoutlr_top_axis_visibility" class="def">_layoutlr_top_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></dfn><div class="doc"><p>Visibility options for the top axis.</p></div></li><li><dfn class="src"><a id="v:_layoutlr_bottom_axis_visibility" class="def">_layoutlr_bottom_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></dfn><div class="doc"><p>Visibility options for the bottom axis.</p></div></li><li><dfn class="src"><a id="v:_layoutlr_left_axis" class="def">_layoutlr_left_axis</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> y1</dfn><div class="doc"><p>Rules to generate the left y axis.</p></div></li><li><dfn class="src"><a id="v:_layoutlr_left_axis_visibility" class="def">_layoutlr_left_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></dfn><div class="doc"><p>Visibility options for the left axis.</p></div></li><li><dfn class="src"><a id="v:_layoutlr_right_axis" class="def">_layoutlr_right_axis</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> y2</dfn><div class="doc"><p>Rules to generate the right y axis.</p></div></li><li><dfn class="src"><a id="v:_layoutlr_right_axis_visibility" class="def">_layoutlr_right_axis_visibility</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></dfn><div class="doc"><p>Visibility options for the right axis.</p></div></li><li><dfn class="src"><a id="v:_layoutlr_plots" class="def">_layoutlr_plots</a> :: [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Either.html#t:Either">Either</a> (<a href="Graphics-Rendering-Chart-Plot-Types.html#t:Plot">Plot</a> x y1) (<a href="Graphics-Rendering-Chart-Plot-Types.html#t:Plot">Plot</a> x y2)]</dfn><div class="doc"><p>The data sets to plot in the chart.
   The are ploted over each other.
   The either type associates the plot with the
   left or right y axis.</p></div></li><li><dfn class="src"><a id="v:_layoutlr_legend" class="def">_layoutlr_legend</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Legend.html#t:LegendStyle">LegendStyle</a></dfn><div class="doc"><p>How to style the legend.</p></div></li><li><dfn class="src"><a id="v:_layoutlr_margin" class="def">_layoutlr_margin</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a></dfn><div class="doc"><p>The margin distance to use.</p></div></li><li><dfn class="src"><a id="v:_layoutlr_grid_last" class="def">_layoutlr_grid_last</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></dfn><div class="doc"><p>If the grid shall be rendered
   beneath (<code>False</code>) or over (<code>True</code>) all plots.</p></div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:LayoutLR" class="caption collapser" onclick="toggleSection('i:LayoutLR')">Instances</p><div id="section.i:LayoutLR" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LayoutLR:Default:1" class="instance expander" onclick="toggleSection('i:id:LayoutLR:Default:1')"></span> (<a href="Graphics-Rendering-Chart-Axis-Types.html#t:PlotValue">PlotValue</a> x, <a href="Graphics-Rendering-Chart-Axis-Types.html#t:PlotValue">PlotValue</a> y1, <a href="Graphics-Rendering-Chart-Axis-Types.html#t:PlotValue">PlotValue</a> y2) =&gt; <a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2)</span> <a href="src/Graphics-Rendering-Chart-Layout.html#line-744" class="link">Source</a> <a href="#t:LayoutLR" class="selflink">#</a></td><td class="doc"><p>Empty <code><a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a></code> without title and plots. The background is white and 
   the grid is drawn beneath all plots. There will be a legend. The top
   axis will not be visible.</p></td></tr><tr><td colspan="2"><div id="section.i:id:LayoutLR:Default:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:def">def</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2 <a href="#v:def" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LayoutLR:ToRenderable:2" class="instance expander" onclick="toggleSection('i:id:LayoutLR:ToRenderable:2')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> x, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> yl, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> yr) =&gt; <a href="Graphics-Rendering-Chart-Renderable.html#t:ToRenderable">ToRenderable</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x yl yr)</span> <a href="src/Graphics-Rendering-Chart-Layout.html#line-372" class="link">Source</a> <a href="#t:LayoutLR" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:LayoutLR:ToRenderable:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toRenderable">toRenderable</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x yl yr -&gt; <a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> () <a href="src/Graphics-Rendering-Chart-Renderable.html#toRenderable" class="link">Source</a> <a href="#v:toRenderable" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:LayoutAxis" class="def">LayoutAxis</a> x <a href="src/Graphics-Rendering-Chart-Layout.html#LayoutAxis" class="link">Source</a> <a href="#t:LayoutAxis" class="selflink">#</a></p><div class="doc"><p>Type of axis that is used in <code><a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a></code> and <code><a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a></code>.</p><p>To generate the actual axis type (<code><a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisData">AxisData</a></code> and <code><a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisT">AxisT</a></code>)
   the <code><a href="Graphics-Rendering-Chart-Layout.html#v:_laxis_generate">_laxis_generate</a></code> function is called and custom settings
   are applied with <code><a href="Graphics-Rendering-Chart-Layout.html#v:_laxis_override">_laxis_override</a></code>. Note that the <code><a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a></code>
   values in <code><a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a></code> and <code><a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a></code> override visibility related 
   settings of the axis.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:LayoutAxis" class="def">LayoutAxis</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:_laxis_title_style" class="def">_laxis_title_style</a> :: <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></dfn><div class="doc"><p>Font style to use for the axis title.</p></div></li><li><dfn class="src"><a id="v:_laxis_title" class="def">_laxis_title</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></dfn><div class="doc"><p>Title displayed for the axis.</p></div></li><li><dfn class="src"><a id="v:_laxis_style" class="def">_laxis_style</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisStyle">AxisStyle</a></dfn><div class="doc"><p>Axis style applied.</p></div></li><li><dfn class="src"><a id="v:_laxis_generate" class="def">_laxis_generate</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisFn">AxisFn</a> x</dfn><div class="doc"><p>Function that generates the axis data, based upon the
   points plotted. The default value is <code><a href="Graphics-Rendering-Chart-Axis-Types.html#v:autoAxis">autoAxis</a></code>.</p></div></li><li><dfn class="src"><a id="v:_laxis_override" class="def">_laxis_override</a> :: <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisData">AxisData</a> x -&gt; <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisData">AxisData</a> x</dfn><div class="doc"><p>Function that can be used to override the generated axis data.
   The default value is <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Function.html#v:id">id</a></code>.</p></div></li><li><dfn class="src"><a id="v:_laxis_reverse" class="def">_laxis_reverse</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></dfn><div class="doc"><p>True if left to right (bottom to top) is to show descending values.</p></div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:LayoutAxis" class="caption collapser" onclick="toggleSection('i:LayoutAxis')">Instances</p><div id="section.i:LayoutAxis" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LayoutAxis:Default:1" class="instance expander" onclick="toggleSection('i:id:LayoutAxis:Default:1')"></span> <a href="Graphics-Rendering-Chart-Axis-Types.html#t:PlotValue">PlotValue</a> t =&gt; <a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> t)</span> <a href="src/Graphics-Rendering-Chart-Layout.html#line-771" class="link">Source</a> <a href="#t:LayoutAxis" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:LayoutAxis:Default:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:def">def</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> t <a href="#v:def" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:LayoutPick" class="def">LayoutPick</a> x y1 y2 <a href="src/Graphics-Rendering-Chart-Layout.html#LayoutPick" class="link">Source</a> <a href="#t:LayoutPick" class="selflink">#</a></p><div class="doc"><p>Information on what is at a specifc location of a <code><a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a></code> or <code><a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a></code>.
   This is delivered by the <code><a href="Graphics-Rendering-Chart-Renderable.html#t:PickFn">PickFn</a></code> of a <code><a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a></code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:LayoutPick_Legend" class="def">LayoutPick_Legend</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>A legend entry.</p></td></tr><tr><td class="src"><a id="v:LayoutPick_Title" class="def">LayoutPick_Title</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>The title.</p></td></tr><tr><td class="src"><a id="v:LayoutPick_XTopAxisTitle" class="def">LayoutPick_XTopAxisTitle</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>The title of the top x axis.</p></td></tr><tr><td class="src"><a id="v:LayoutPick_XBottomAxisTitle" class="def">LayoutPick_XBottomAxisTitle</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>The title of the bottom x axis.</p></td></tr><tr><td class="src"><a id="v:LayoutPick_YLeftAxisTitle" class="def">LayoutPick_YLeftAxisTitle</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>The title of the left y axis.</p></td></tr><tr><td class="src"><a id="v:LayoutPick_YRightAxisTitle" class="def">LayoutPick_YRightAxisTitle</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>The title of the right y axis.</p></td></tr><tr><td class="src"><a id="v:LayoutPick_PlotArea" class="def">LayoutPick_PlotArea</a> x y1 y2</td><td class="doc"><p>The plot area at the given plot coordinates.</p></td></tr><tr><td class="src"><a id="v:LayoutPick_XTopAxis" class="def">LayoutPick_XTopAxis</a> x</td><td class="doc"><p>The top x axis at the given plot coordinate.</p></td></tr><tr><td class="src"><a id="v:LayoutPick_XBottomAxis" class="def">LayoutPick_XBottomAxis</a> x</td><td class="doc"><p>The bottom x axis at the given plot coordinate.</p></td></tr><tr><td class="src"><a id="v:LayoutPick_YLeftAxis" class="def">LayoutPick_YLeftAxis</a> y1</td><td class="doc"><p>The left y axis at the given plot coordinate.</p></td></tr><tr><td class="src"><a id="v:LayoutPick_YRightAxis" class="def">LayoutPick_YRightAxis</a> y2</td><td class="doc"><p>The right y axis at the given plot coordinate.</p></td></tr></table></div><div class="subs instances"><p id="control.i:LayoutPick" class="caption collapser" onclick="toggleSection('i:LayoutPick')">Instances</p><div id="section.i:LayoutPick" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:LayoutPick:Show:1" class="instance expander" onclick="toggleSection('i:id:LayoutPick:Show:1')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> x, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> y1, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> y2) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:Show">Show</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutPick">LayoutPick</a> x y1 y2)</span> <a href="src/Graphics-Rendering-Chart-Layout.html#line-158" class="link">Source</a> <a href="#t:LayoutPick" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:LayoutPick:Show:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutPick">LayoutPick</a> x y1 y2 -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutPick">LayoutPick</a> x y1 y2 -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutPick">LayoutPick</a> x y1 y2] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:StackedLayouts" class="def">StackedLayouts</a> x <a href="src/Graphics-Rendering-Chart-Layout.html#StackedLayouts" class="link">Source</a> <a href="#t:StackedLayouts" class="selflink">#</a></p><div class="doc"><p>A container for a set of vertically <code><a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayout">StackedLayout</a></code>s.
   The x axis of the different layouts will be aligned.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:StackedLayouts" class="def">StackedLayouts</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><ul><li><dfn class="src"><a id="v:_slayouts_layouts" class="def">_slayouts_layouts</a> :: [<a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayout">StackedLayout</a> x]</dfn><div class="doc"><p>The stacked layouts from top (first element) to bottom (last element).</p></div></li><li><dfn class="src"><a id="v:_slayouts_compress_legend" class="def">_slayouts_compress_legend</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a></dfn><div class="doc"><p>If the different legends shall be combined in one legend at the bottom.</p></div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:StackedLayouts" class="caption collapser" onclick="toggleSection('i:StackedLayouts')">Instances</p><div id="section.i:StackedLayouts" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:StackedLayouts:Default:1" class="instance expander" onclick="toggleSection('i:id:StackedLayouts:Default:1')"></span> <a href="file:///usr/share/doc/libghc-data-default-class-doc/html/Data-Default-Class.html#t:Default">Default</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a> x)</span> <a href="src/Graphics-Rendering-Chart-Layout.html#line-493" class="link">Source</a> <a href="#t:StackedLayouts" class="selflink">#</a></td><td class="doc"><p>A empty <code><a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayout">StackedLayout</a></code> with compressions applied.</p></td></tr><tr><td colspan="2"><div id="section.i:id:StackedLayouts:Default:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:def">def</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a> x <a href="#v:def" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:StackedLayouts:ToRenderable:2" class="instance expander" onclick="toggleSection('i:id:StackedLayouts:ToRenderable:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> x =&gt; <a href="Graphics-Rendering-Chart-Renderable.html#t:ToRenderable">ToRenderable</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a> x)</span> <a href="src/Graphics-Rendering-Chart-Layout.html#line-498" class="link">Source</a> <a href="#t:StackedLayouts" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:StackedLayouts:ToRenderable:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toRenderable">toRenderable</a> :: <a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a> x -&gt; <a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> () <a href="src/Graphics-Rendering-Chart-Renderable.html#toRenderable" class="link">Source</a> <a href="#v:toRenderable" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:StackedLayout" class="def">StackedLayout</a> x <a href="src/Graphics-Rendering-Chart-Layout.html#StackedLayout" class="link">Source</a> <a href="#t:StackedLayout" class="selflink">#</a></p><div class="doc"><p>A layout with its y type hidden, so that it can be stacked
   with other layouts with differing y axis, but the same x axis.
   See <code><a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a></code>.</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> y =&gt; <a id="v:StackedLayout" class="def">StackedLayout</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y)</td><td class="doc"><p>A <code><a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a></code> to stack.</p></td></tr><tr><td class="src">(<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> yl, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> yr) =&gt; <a id="v:StackedLayoutLR" class="def">StackedLayoutLR</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x yl yr)</td><td class="doc"><p>A <code><a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a></code> to stack.</p></td></tr></table></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:MAxisFn" class="def">MAxisFn</a> t = [t] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisData">AxisData</a> t) <a href="src/Graphics-Rendering-Chart-Layout.html#MAxisFn" class="link">Source</a> <a href="#t:MAxisFn" class="selflink">#</a></p><div class="doc"><p>A <code>MAxisFn</code> is a function that generates an (optional) axis
   given the points plotted against that axis.</p></div></div><h1 id="g:2">Rendering</h1><div class="top"><p class="src"><a id="v:layoutToRenderable" class="def">layoutToRenderable</a> :: <span class="keyword">forall</span> x y. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> x, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> y) =&gt; <a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y -&gt; <a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutPick">LayoutPick</a> x y y) <a href="src/Graphics-Rendering-Chart-Layout.html#layoutToRenderable" class="link">Source</a> <a href="#v:layoutToRenderable" class="selflink">#</a></p><div class="doc"><p>Render the given <code><a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:layoutToGrid" class="def">layoutToGrid</a> :: <span class="keyword">forall</span> x y. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> x, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> y) =&gt; <a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y -&gt; <a href="Graphics-Rendering-Chart-Grid.html#t:Grid">Grid</a> (<a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutPick">LayoutPick</a> x y y)) <a href="src/Graphics-Rendering-Chart-Layout.html#layoutToGrid" class="link">Source</a> <a href="#v:layoutToGrid" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutLRToRenderable" class="def">layoutLRToRenderable</a> :: <span class="keyword">forall</span> x yl yr. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> x, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> yl, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> yr) =&gt; <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x yl yr -&gt; <a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutPick">LayoutPick</a> x yl yr) <a href="src/Graphics-Rendering-Chart-Layout.html#layoutLRToRenderable" class="link">Source</a> <a href="#v:layoutLRToRenderable" class="selflink">#</a></p><div class="doc"><p>Render the given <code><a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a></code>.</p></div></div><div class="top"><p class="src"><a id="v:layoutLRToGrid" class="def">layoutLRToGrid</a> :: <span class="keyword">forall</span> x yl yr. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> x, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> yl, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> yr) =&gt; <a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x yl yr -&gt; <a href="Graphics-Rendering-Chart-Grid.html#t:Grid">Grid</a> (<a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutPick">LayoutPick</a> x yl yr)) <a href="src/Graphics-Rendering-Chart-Layout.html#layoutLRToGrid" class="link">Source</a> <a href="#v:layoutLRToGrid" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:renderStackedLayouts" class="def">renderStackedLayouts</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Ord.html#t:Ord">Ord</a> x =&gt; <a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a> x -&gt; <a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> () <a href="src/Graphics-Rendering-Chart-Layout.html#renderStackedLayouts" class="link">Source</a> <a href="#v:renderStackedLayouts" class="selflink">#</a></p><div class="doc"><p>Render several layouts with the same x-axis type and range,
   vertically stacked so that their origins and x-values are aligned.</p><p>The legends from all the charts may be optionally combined, and shown
   once on the bottom chart. See <code><a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a></code> for further information.</p></div></div><h1 id="g:3">LayoutAxis lenses</h1><div class="top"><p class="src"><a id="v:laxis_title_style" class="def">laxis_title_style</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a> <a href="src/Graphics-Rendering-Chart-Layout.html#laxis_title_style" class="link">Source</a> <a href="#v:laxis_title_style" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:laxis_title" class="def">laxis_title</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="src/Graphics-Rendering-Chart-Layout.html#laxis_title" class="link">Source</a> <a href="#v:laxis_title" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:laxis_style" class="def">laxis_style</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisStyle">AxisStyle</a> <a href="src/Graphics-Rendering-Chart-Layout.html#laxis_style" class="link">Source</a> <a href="#v:laxis_style" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:laxis_generate" class="def">laxis_generate</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x) (<a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisFn">AxisFn</a> x) <a href="src/Graphics-Rendering-Chart-Layout.html#laxis_generate" class="link">Source</a> <a href="#v:laxis_generate" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:laxis_override" class="def">laxis_override</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x) (<a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisData">AxisData</a> x -&gt; <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisData">AxisData</a> x) <a href="src/Graphics-Rendering-Chart-Layout.html#laxis_override" class="link">Source</a> <a href="#v:laxis_override" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:laxis_reverse" class="def">laxis_reverse</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-Chart-Layout.html#laxis_reverse" class="link">Source</a> <a href="#v:laxis_reverse" class="selflink">#</a></p></div><h1 id="g:4">Layout lenses</h1><div class="top"><p class="src"><a id="v:layout_background" class="def">layout_background</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layout_background" class="link">Source</a> <a href="#v:layout_background" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layout_plot_background" class="def">layout_plot_background</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a>) <a href="src/Graphics-Rendering-Chart-Layout.html#layout_plot_background" class="link">Source</a> <a href="#v:layout_plot_background" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layout_title" class="def">layout_title</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layout_title" class="link">Source</a> <a href="#v:layout_title" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layout_title_style" class="def">layout_title_style</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layout_title_style" class="link">Source</a> <a href="#v:layout_title_style" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layout_x_axis" class="def">layout_x_axis</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x) <a href="src/Graphics-Rendering-Chart-Layout.html#layout_x_axis" class="link">Source</a> <a href="#v:layout_x_axis" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layout_top_axis_visibility" class="def">layout_top_axis_visibility</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layout_top_axis_visibility" class="link">Source</a> <a href="#v:layout_top_axis_visibility" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layout_bottom_axis_visibility" class="def">layout_bottom_axis_visibility</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layout_bottom_axis_visibility" class="link">Source</a> <a href="#v:layout_bottom_axis_visibility" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layout_y_axis" class="def">layout_y_axis</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> y) <a href="src/Graphics-Rendering-Chart-Layout.html#layout_y_axis" class="link">Source</a> <a href="#v:layout_y_axis" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layout_left_axis_visibility" class="def">layout_left_axis_visibility</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layout_left_axis_visibility" class="link">Source</a> <a href="#v:layout_left_axis_visibility" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layout_right_axis_visibility" class="def">layout_right_axis_visibility</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layout_right_axis_visibility" class="link">Source</a> <a href="#v:layout_right_axis_visibility" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layout_margin" class="def">layout_margin</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layout_margin" class="link">Source</a> <a href="#v:layout_margin" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layout_plots" class="def">layout_plots</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) [<a href="Graphics-Rendering-Chart-Plot-Types.html#t:Plot">Plot</a> x y] <a href="src/Graphics-Rendering-Chart-Layout.html#layout_plots" class="link">Source</a> <a href="#v:layout_plots" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layout_legend" class="def">layout_legend</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Legend.html#t:LegendStyle">LegendStyle</a>) <a href="src/Graphics-Rendering-Chart-Layout.html#layout_legend" class="link">Source</a> <a href="#v:layout_legend" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layout_grid_last" class="def">layout_grid_last</a> :: <span class="keyword">forall</span> x y. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layout_grid_last" class="link">Source</a> <a href="#v:layout_grid_last" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layout_axes_styles" class="def">layout_axes_styles</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisStyle">AxisStyle</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layout_axes_styles" class="link">Source</a> <a href="#v:layout_axes_styles" class="selflink">#</a></p><div class="doc"><p>Setter to update all axis styles on a <code><a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a></code></p></div></div><div class="top"><p class="src"><a id="v:layout_axes_title_styles" class="def">layout_axes_title_styles</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layout_axes_title_styles" class="link">Source</a> <a href="#v:layout_axes_title_styles" class="selflink">#</a></p><div class="doc"><p>Setter to update all the axes title styles on a <code><a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a></code></p></div></div><div class="top"><p class="src"><a id="v:layout_all_font_styles" class="def">layout_all_font_styles</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layout_all_font_styles" class="link">Source</a> <a href="#v:layout_all_font_styles" class="selflink">#</a></p><div class="doc"><p>Setter to update all the font styles on a <code><a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a></code></p></div></div><div class="top"><p class="src"><a id="v:layout_foreground" class="def">layout_foreground</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a> x y) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>) <a href="src/Graphics-Rendering-Chart-Layout.html#layout_foreground" class="link">Source</a> <a href="#v:layout_foreground" class="selflink">#</a></p><div class="doc"><p>Setter to update the foreground color of core chart elements on a <code><a href="Graphics-Rendering-Chart-Layout.html#t:Layout">Layout</a></code></p></div></div><h1 id="g:5">LayoutLR lenses</h1><div class="top"><p class="src"><a id="v:layoutlr_background" class="def">layoutlr_background</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_background" class="link">Source</a> <a href="#v:layoutlr_background" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_plot_background" class="def">layoutlr_plot_background</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a>) <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_plot_background" class="link">Source</a> <a href="#v:layoutlr_plot_background" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_title" class="def">layoutlr_title</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_title" class="link">Source</a> <a href="#v:layoutlr_title" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_title_style" class="def">layoutlr_title_style</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_title_style" class="link">Source</a> <a href="#v:layoutlr_title_style" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_x_axis" class="def">layoutlr_x_axis</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> x) <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_x_axis" class="link">Source</a> <a href="#v:layoutlr_x_axis" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_top_axis_visibility" class="def">layoutlr_top_axis_visibility</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_top_axis_visibility" class="link">Source</a> <a href="#v:layoutlr_top_axis_visibility" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_bottom_axis_visibility" class="def">layoutlr_bottom_axis_visibility</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_bottom_axis_visibility" class="link">Source</a> <a href="#v:layoutlr_bottom_axis_visibility" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_left_axis" class="def">layoutlr_left_axis</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> y1) <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_left_axis" class="link">Source</a> <a href="#v:layoutlr_left_axis" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_right_axis" class="def">layoutlr_right_axis</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutAxis">LayoutAxis</a> y2) <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_right_axis" class="link">Source</a> <a href="#v:layoutlr_right_axis" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_left_axis_visibility" class="def">layoutlr_left_axis_visibility</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_left_axis_visibility" class="link">Source</a> <a href="#v:layoutlr_left_axis_visibility" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_right_axis_visibility" class="def">layoutlr_right_axis_visibility</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisVisibility">AxisVisibility</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_right_axis_visibility" class="link">Source</a> <a href="#v:layoutlr_right_axis_visibility" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_plots" class="def">layoutlr_plots</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) [<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Either.html#t:Either">Either</a> (<a href="Graphics-Rendering-Chart-Plot-Types.html#t:Plot">Plot</a> x y1) (<a href="Graphics-Rendering-Chart-Plot-Types.html#t:Plot">Plot</a> x y2)] <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_plots" class="link">Source</a> <a href="#v:layoutlr_plots" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_legend" class="def">layoutlr_legend</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-Rendering-Chart-Legend.html#t:LegendStyle">LegendStyle</a>) <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_legend" class="link">Source</a> <a href="#v:layoutlr_legend" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_margin" class="def">layoutlr_margin</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_margin" class="link">Source</a> <a href="#v:layoutlr_margin" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_grid_last" class="def">layoutlr_grid_last</a> :: <span class="keyword">forall</span> x y1 y2. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_grid_last" class="link">Source</a> <a href="#v:layoutlr_grid_last" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:layoutlr_axes_styles" class="def">layoutlr_axes_styles</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Axis-Types.html#t:AxisStyle">AxisStyle</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_axes_styles" class="link">Source</a> <a href="#v:layoutlr_axes_styles" class="selflink">#</a></p><div class="doc"><p>Setter to update all axis styles on a <code><a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a></code></p></div></div><div class="top"><p class="src"><a id="v:layoutlr_axes_title_styles" class="def">layoutlr_axes_title_styles</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_axes_title_styles" class="link">Source</a> <a href="#v:layoutlr_axes_title_styles" class="selflink">#</a></p><div class="doc"><p>Setter to update all the axes title styles on a <code><a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a></code></p></div></div><div class="top"><p class="src"><a id="v:layoutlr_all_font_styles" class="def">layoutlr_all_font_styles</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a> <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_all_font_styles" class="link">Source</a> <a href="#v:layoutlr_all_font_styles" class="selflink">#</a></p><div class="doc"><p>Setter to update all the font styles on a <code><a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a></code></p></div></div><div class="top"><p class="src"><a id="v:layoutlr_foreground" class="def">layoutlr_foreground</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Setter-39-">Setter'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a> x y1 y2) (<a href="file:///usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Prelude.html#t:Double">Double</a>) <a href="src/Graphics-Rendering-Chart-Layout.html#layoutlr_foreground" class="link">Source</a> <a href="#v:layoutlr_foreground" class="selflink">#</a></p><div class="doc"><p>Setter to update the foreground color of core chart elements on a <code><a href="Graphics-Rendering-Chart-Layout.html#t:LayoutLR">LayoutLR</a></code></p></div></div><h1 id="g:6">StackedLayouts lenses</h1><div class="top"><p class="src"><a id="v:slayouts_layouts" class="def">slayouts_layouts</a> :: <span class="keyword">forall</span> x x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens">Lens</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a> x) (<a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a> x) [<a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayout">StackedLayout</a> x] [<a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayout">StackedLayout</a> x] <a href="src/Graphics-Rendering-Chart-Layout.html#slayouts_layouts" class="link">Source</a> <a href="#v:slayouts_layouts" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:slayouts_compress_legend" class="def">slayouts_compress_legend</a> :: <span class="keyword">forall</span> x. <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> (<a href="Graphics-Rendering-Chart-Layout.html#t:StackedLayouts">StackedLayouts</a> x) <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Bool.html#t:Bool">Bool</a> <a href="src/Graphics-Rendering-Chart-Layout.html#slayouts_compress_legend" class="link">Source</a> <a href="#v:slayouts_compress_legend" class="selflink">#</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>