Module
Hylograph.Components.Layout
- Package
- purescript-hylograph-components
- Repository
- afcondon/purescript-hylograph-components
Shared layout types for every chart component.
A Layout is just the canvas: outer width/height plus a Margin
around the plot area. Chart-specific knobs (bar padding, point radius,
line width, inner radius on a donut) live on the chart's own Config,
not here.
defaultLayout has Swiss-ish proportions (640×400, generous left for
numeric y-axis labels, extra bottom for a rotated-free x-axis label).
#innerWidth Source
innerWidth :: Layout -> Number#innerHeight Source
innerHeight :: Layout -> Number- 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