Copyright | (c) Tim Docker 2008 2014 |
---|---|
License | BSD-style (see chart/COPYRIGHT) |
Safe Haskell | None |
Language | Haskell98 |
A basic pie chart.
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:
values :: [PieItem] values = [...] layout :: PieLayout layout = pie_plot ^: pie_data ^= values $ def renderable = toRenderable layout
Documentation
Instances
Default PieLayout Source # | |
Defined in Graphics.Rendering.Chart.Plot.Pie | |
ToRenderable PieLayout Source # | |
Defined in Graphics.Rendering.Chart.Plot.Pie toRenderable :: PieLayout -> Renderable () Source # |
Instances
Default PieChart Source # | |
Defined in Graphics.Rendering.Chart.Plot.Pie | |
ToRenderable PieChart Source # | |
Defined in Graphics.Rendering.Chart.Plot.Pie toRenderable :: PieChart -> Renderable () Source # |
pieToRenderable :: PieLayout -> Renderable (PickFn a) Source #
pieChartToRenderable :: PieChart -> Renderable (PickFn a) Source #