Module
Hylograph.Components.PieChart
- Package
- purescript-hylograph-components
- Repository
- afcondon/purescript-hylograph-components
Pie / Donut chart component.
First non-cartesian preset. Two channels: value (Number) drives the
slice angle; category (String) is the semantic label (used for keys
and tooltips by default). innerRadius > 0 turns a pie into a donut.
Categorical colors come from Hylograph.Scale.ColorSchemes — default
palette is schemeCategory10, cycled modulo length. Override via
colors in the Config for a themed palette.
No axes. Layout's margin still applies — the slices center inside the
inner area. outerRadius: Nothing auto-sizes to the smaller inner
dimension.
- Modules
- Hylograph.
Components. Annotation - Hylograph.
Components. Axis - Hylograph.
Components. BarChart - Hylograph.
Components. Binning - Hylograph.
Components. BoxPlot - Hylograph.
Components. Frame - Hylograph.
Components. Heatmap - Hylograph.
Components. Layout - Hylograph.
Components. Legend - Hylograph.
Components. LinePlot - Hylograph.
Components. LineStyle - Hylograph.
Components. Mark - Hylograph.
Components. PieChart - Hylograph.
Components. ScatterPlot - Hylograph.
Components. Series - Hylograph.
Components. Theme - Hylograph.
Components. Treemap