/usr/share/doc/libghc-chart-doc/html/Graphics-Rendering-Chart-Plot-Pie.html is in libghc-chart-doc 0.15-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 | <!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 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-0.15: A library for generating 2D Charts and Plots</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Safe Haskell</th><td>None</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
$ defaultPieLayout
renderable = toRenderable layout
</pre></div></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:PieLayout" class="def">PieLayout</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#PieLayout" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:PieLayout" class="def">PieLayout</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:pie_title_" class="def">pie_title_</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:pie_title_style_" class="def">pie_title_style_</a> :: <a href="Graphics-Rendering-Chart-Types.html#t:CairoFontStyle">CairoFontStyle</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:pie_plot_" class="def">pie_plot_</a> :: <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:pie_background_" class="def">pie_background_</a> :: <a href="Graphics-Rendering-Chart-Types.html#t:CairoFillStyle">CairoFillStyle</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:pie_margin_" class="def">pie_margin_</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></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"><a href="Graphics-Rendering-Chart-Renderable.html#t:ToRenderable">ToRenderable</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieLayout">PieLayout</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:PieChart" class="def">PieChart</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#PieChart" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:PieChart" class="def">PieChart</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:pie_data_" class="def">pie_data_</a> :: [<a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieItem">PieItem</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:pie_colors_" class="def">pie_colors_</a> :: [<a href="/usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a>]</dt><dd class="doc empty"> </dd><dt class="src"><a name="v:pie_label_style_" class="def">pie_label_style_</a> :: <a href="Graphics-Rendering-Chart-Types.html#t:CairoFontStyle">CairoFontStyle</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:pie_label_line_style_" class="def">pie_label_line_style_</a> :: <a href="Graphics-Rendering-Chart-Types.html#t:CairoLineStyle">CairoLineStyle</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:pie_start_angle_" class="def">pie_start_angle_</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></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"><a href="Graphics-Rendering-Chart-Renderable.html#t:ToRenderable">ToRenderable</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:PieItem" class="def">PieItem</a> <a href="src/Graphics-Rendering-Chart-Plot-Pie.html#PieItem" class="link">Source</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:PieItem" class="def">PieItem</a></td><td class="doc empty"> </td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:pitem_label_" class="def">pitem_label_</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:pitem_offset_" class="def">pitem_offset_</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty"> </dd><dt class="src"><a name="v:pitem_value_" class="def">pitem_value_</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a></dt><dd class="doc empty"> </dd></dl><div class="clear"></div></div></td></tr></table></div></div><div class="top"><p class="src"><a name="v:defaultPieLayout" class="def">defaultPieLayout</a> :: <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieLayout">PieLayout</a><a href="src/Graphics-Rendering-Chart-Plot-Pie.html#defaultPieLayout" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:defaultPieChart" class="def">defaultPieChart</a> :: <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a><a href="src/Graphics-Rendering-Chart-Plot-Pie.html#defaultPieChart" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:defaultPieItem" class="def">defaultPieItem</a> :: <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieItem">PieItem</a><a href="src/Graphics-Rendering-Chart-Plot-Pie.html#defaultPieItem" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pie_title" class="def">pie_title</a> :: <a href="/usr/share/doc/libghc-data-accessor-doc/html/Data-Accessor-Basic.html#t:T">T</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieLayout">PieLayout</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_title" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pie_title_style" class="def">pie_title_style</a> :: <a href="/usr/share/doc/libghc-data-accessor-doc/html/Data-Accessor-Basic.html#t:T">T</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieLayout">PieLayout</a> <a href="Graphics-Rendering-Chart-Types.html#t:CairoFontStyle">CairoFontStyle</a><a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_title_style" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pie_plot" class="def">pie_plot</a> :: <a href="/usr/share/doc/libghc-data-accessor-doc/html/Data-Accessor-Basic.html#t:T">T</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></p></div><div class="top"><p class="src"><a name="v:pie_background" class="def">pie_background</a> :: <a href="/usr/share/doc/libghc-data-accessor-doc/html/Data-Accessor-Basic.html#t:T">T</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieLayout">PieLayout</a> <a href="Graphics-Rendering-Chart-Types.html#t:CairoFillStyle">CairoFillStyle</a><a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_background" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pie_margin" class="def">pie_margin</a> :: <a href="/usr/share/doc/libghc-data-accessor-doc/html/Data-Accessor-Basic.html#t:T">T</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieLayout">PieLayout</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a><a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_margin" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pie_data" class="def">pie_data</a> :: <a href="/usr/share/doc/libghc-data-accessor-doc/html/Data-Accessor-Basic.html#t:T">T</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></p></div><div class="top"><p class="src"><a name="v:pie_colors" class="def">pie_colors</a> :: <a href="/usr/share/doc/libghc-data-accessor-doc/html/Data-Accessor-Basic.html#t:T">T</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a> [<a href="/usr/share/doc/libghc-colour-doc/html/Data-Colour.html#t:AlphaColour">AlphaColour</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a>]<a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_colors" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pie_label_style" class="def">pie_label_style</a> :: <a href="/usr/share/doc/libghc-data-accessor-doc/html/Data-Accessor-Basic.html#t:T">T</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a> <a href="Graphics-Rendering-Chart-Types.html#t:CairoFontStyle">CairoFontStyle</a><a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_label_style" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pie_label_line_style" class="def">pie_label_line_style</a> :: <a href="/usr/share/doc/libghc-data-accessor-doc/html/Data-Accessor-Basic.html#t:T">T</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a> <a href="Graphics-Rendering-Chart-Types.html#t:CairoLineStyle">CairoLineStyle</a><a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_label_line_style" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pie_start_angle" class="def">pie_start_angle</a> :: <a href="/usr/share/doc/libghc-data-accessor-doc/html/Data-Accessor-Basic.html#t:T">T</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieChart">PieChart</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a><a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pie_start_angle" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pitem_label" class="def">pitem_label</a> :: <a href="/usr/share/doc/libghc-data-accessor-doc/html/Data-Accessor-Basic.html#t:T">T</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieItem">PieItem</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pitem_label" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pitem_offset" class="def">pitem_offset</a> :: <a href="/usr/share/doc/libghc-data-accessor-doc/html/Data-Accessor-Basic.html#t:T">T</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieItem">PieItem</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a><a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pitem_offset" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:pitem_value" class="def">pitem_value</a> :: <a href="/usr/share/doc/libghc-data-accessor-doc/html/Data-Accessor-Basic.html#t:T">T</a> <a href="Graphics-Rendering-Chart-Plot-Pie.html#t:PieItem">PieItem</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Prelude.html#t:Double">Double</a><a href="src/Graphics-Rendering-Chart-Plot-Pie.html#pitem_value" class="link">Source</a></p></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>
|