This file is indexed.

/usr/share/doc/libghc-chart-doc/html/Graphics-Rendering-Chart-Plot-Pie.html is in libghc-chart-doc 1.8.2-1build5.

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
<!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.Plot.Pie</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-Plot-Pie.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-Rendering-Chart-Plot-Pie.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.2: A library for generating 2D Charts and Plots</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(c) Tim Docker 2008 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.Plot.Pie</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>A  basic pie chart.</p><p>Pie charts are handled different to other plots, in that they
 have their own layout, and can't be composed with other plots. A
 pie chart is rendered with code in the following form:</p><pre>values :: [PieItem]
values = [...]
layout :: PieLayout
layout = pie_plot ^: pie_data ^= values
       $ def
renderable = toRenderable layout
</pre></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:PieLayout" class="def">PieLayout</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#PieLayout" class="link">Source</a> <a href="#t:PieLayout" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:PieLayout" class="def">PieLayout</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:_pie_title" class="def">_pie_title</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:_pie_title_style" class="def">_pie_title_style</a> :: <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:_pie_plot" class="def">_pie_plot</a> :: <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:_pie_background" class="def">_pie_background</a> :: <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:_pie_margin" class="def">_pie_margin</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:PieLayout" class="caption collapser" onclick="toggleSection('i:PieLayout')">Instances</p><div id="section.i:PieLayout" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:PieLayout:Default:1" class="instance expander" onclick="toggleSection('i:id:PieLayout: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-Plot-Pie.html#t:PieLayout">PieLayout</a></span> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#line-98" class="link">Source</a> <a href="#t:PieLayout" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:PieLayout: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-Plot-Pie.html#t:PieLayout">PieLayout</a> <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:PieLayout:ToRenderable:2" class="instance expander" onclick="toggleSection('i:id:PieLayout:ToRenderable:2')"></span> <a href="Graphics-Rendering-Chart-Renderable.html#t:ToRenderable">ToRenderable</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieLayout">PieLayout</a></span> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#line-108" class="link">Source</a> <a href="#t:PieLayout" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:PieLayout: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-Plot-Pie.html#t:PieLayout">PieLayout</a> -&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:PieChart" class="def">PieChart</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#PieChart" class="link">Source</a> <a href="#t:PieChart" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:PieChart" class="def">PieChart</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:_pie_data" class="def">_pie_data</a> :: [<a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieItem">PieItem</a>]</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:_pie_colors" class="def">_pie_colors</a> :: [<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.1.0/Prelude.html#t:Double">Double</a>]</dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:_pie_label_style" class="def">_pie_label_style</a> :: <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:_pie_label_line_style" class="def">_pie_label_line_style</a> :: <a href="Graphics-Rendering-Chart-Backend-Types.html#t:LineStyle">LineStyle</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:_pie_start_angle" class="def">_pie_start_angle</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:PieChart" class="caption collapser" onclick="toggleSection('i:PieChart')">Instances</p><div id="section.i:PieChart" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:PieChart:Default:1" class="instance expander" onclick="toggleSection('i:id:PieChart: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-Plot-Pie.html#t:PieChart">PieChart</a></span> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#line-86" class="link">Source</a> <a href="#t:PieChart" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:PieChart: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-Plot-Pie.html#t:PieChart">PieChart</a> <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:PieChart:ToRenderable:2" class="instance expander" onclick="toggleSection('i:id:PieChart:ToRenderable:2')"></span> <a href="Graphics-Rendering-Chart-Renderable.html#t:ToRenderable">ToRenderable</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a></span> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#line-116" class="link">Source</a> <a href="#t:PieChart" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:PieChart: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-Plot-Pie.html#t:PieChart">PieChart</a> -&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:PieItem" class="def">PieItem</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#PieItem" class="link">Source</a> <a href="#t:PieItem" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:PieItem" class="def">PieItem</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:_pitem_label" class="def">_pitem_label</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:_pitem_offset" class="def">_pitem_offset</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></dfn><div class="doc empty">&nbsp;</div></li><li><dfn class="src"><a id="v:_pitem_value" class="def">_pitem_value</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></dfn><div class="doc empty">&nbsp;</div></li></ul></div></td></tr></table></div><div class="subs instances"><p id="control.i:PieItem" class="caption collapser" onclick="toggleSection('i:PieItem')">Instances</p><div id="section.i:PieItem" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:PieItem:Default:1" class="instance expander" onclick="toggleSection('i:id:PieItem: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-Plot-Pie.html#t:PieItem">PieItem</a></span> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#line-95" class="link">Source</a> <a href="#t:PieItem" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:PieItem: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-Plot-Pie.html#t:PieItem">PieItem</a> <a href="#v:def" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:pieToRenderable" class="def">pieToRenderable</a> :: <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieLayout">PieLayout</a> -&gt; <a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> (<a href="Graphics-Rendering-Chart-Renderable.html#t:PickFn">PickFn</a> a) <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pieToRenderable" class="link">Source</a> <a href="#v:pieToRenderable" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pieChartToRenderable" class="def">pieChartToRenderable</a> :: <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a> -&gt; <a href="Graphics-Rendering-Chart-Renderable.html#t:Renderable">Renderable</a> (<a href="Graphics-Rendering-Chart-Renderable.html#t:PickFn">PickFn</a> a) <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pieChartToRenderable" class="link">Source</a> <a href="#v:pieChartToRenderable" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pie_title" class="def">pie_title</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieLayout">PieLayout</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_title" class="link">Source</a> <a href="#v:pie_title" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pie_title_style" class="def">pie_title_style</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieLayout">PieLayout</a> <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_title_style" class="link">Source</a> <a href="#v:pie_title_style" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pie_plot" class="def">pie_plot</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieLayout">PieLayout</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_plot" class="link">Source</a> <a href="#v:pie_plot" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pie_background" class="def">pie_background</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieLayout">PieLayout</a> <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FillStyle">FillStyle</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_background" class="link">Source</a> <a href="#v:pie_background" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pie_margin" class="def">pie_margin</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieLayout">PieLayout</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_margin" class="link">Source</a> <a href="#v:pie_margin" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pie_data" class="def">pie_data</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a> [<a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieItem">PieItem</a>] <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_data" class="link">Source</a> <a href="#v:pie_data" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pie_colors" class="def">pie_colors</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a> [<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.1.0/Prelude.html#t:Double">Double</a>] <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_colors" class="link">Source</a> <a href="#v:pie_colors" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pie_label_style" class="def">pie_label_style</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a> <a href="Graphics-Rendering-Chart-Backend-Types.html#t:FontStyle">FontStyle</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_label_style" class="link">Source</a> <a href="#v:pie_label_style" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pie_label_line_style" class="def">pie_label_line_style</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a> <a href="Graphics-Rendering-Chart-Backend-Types.html#t:LineStyle">LineStyle</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_label_line_style" class="link">Source</a> <a href="#v:pie_label_line_style" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pie_start_angle" class="def">pie_start_angle</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_start_angle" class="link">Source</a> <a href="#v:pie_start_angle" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pitem_label" class="def">pitem_label</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieItem">PieItem</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pitem_label" class="link">Source</a> <a href="#v:pitem_label" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pitem_offset" class="def">pitem_offset</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieItem">PieItem</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pitem_offset" class="link">Source</a> <a href="#v:pitem_offset" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:pitem_value" class="def">pitem_value</a> :: <a href="file:///usr/share/doc/libghc-lens-doc/html/Control-Lens-Type.html#t:Lens-39-">Lens'</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieItem">PieItem</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pitem_value" class="link">Source</a> <a href="#v:pitem_value" 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.3</p></div></body></html>