package
0.0.0-20170323211221-abd1f791f5ee
Repository: https://github.com/aclements/go-gg.git
Documentation: pkg.go.dev
# Packages
Package layout provides helpers for laying out hierarchies of rectangular elements in two dimensional space.
# Functions
AxisLabel returns a Plotter that sets the label of an axis on a Plot.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewLinearScaler returns a continuous linear scale.
No description provided by the author
No description provided by the author
NewPlot returns a new Plot backed by data.
NewTimeScaler returns a continuous linear scale.
Title returns a Plotter that sets the title of a Plot.
# Constants
StepHMid makes LayerSteps connect subsequent points A and B with three segments: a horizontal segment from A to the midpoint between A and B, followed by vertical segment, followed by a horizontal segment from the midpoint to B.
StepHV makes LayerSteps connect subsequent points with a horizontal segment and then a vertical segment.
StepVH makes LayerSteps connect subsequent points with a vertical segment and then a horizontal segment.
StepVMid makes LayerSteps connect subsequent points A and B with three segments: a vertical segment from A to the midpoint between A and B, followed by horizontal segment, followed by a vertical segment from the midpoint to B.
# Variables
Warning is a logger for reporting conditions that don't prevent the production of a plot, but may lead to unexpected results.
# Structs
FacetCommon is the base type for plot faceting operations.
LayerArea shades the area between two columns with a polygon.
LayerPaths groups by Color and Fill, and then connects successive data points in each group with a path and/or a filled polygon.
LayerPoints layers a point mark at each data point.
LayerSteps is like LayerPaths, but connects data points with a path consisting only of horizontal and vertical segments.
LayerTags attaches text annotations to data points.
LayerTiles layers a rectangle at each data point.
LayerTooltips attaches hover tooltips to data points.
Plot represents a single (potentially faceted) plot.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
A Plotter is an operation that can modify a Plot.
XXX
A Ranger must be either a ContinuousRanger or a DiscreteRanger.
XXX
A Scaler can be cardinal, discrete, or identity.
A Stat transforms a table.Grouping.
# Type aliases
FacetWrap splits a plot into a grid of rows and columns.
FacetX splits a plot into columns.
FacetY splits a plot into rows.
LayerLines is like LayerPaths, but connects data points in order by the "x" property.
StepMode controls how LayerSteps connects subsequent points.
Unscaled represents a value that should not be scaled, but instead mapped directly to the output range.