Skip to content

Types

AlgebraOfGraphics.AbstractDrawable Type
julia
AbstractDrawable

Abstract type encoding objects that can be drawn via AlgebraOfGraphics.draw.

source
AlgebraOfGraphics.AbstractAlgebraic Type
julia
AbstractAlgebraic  <: AbstractDrawable

Abstract type encoding objects that can be combined together using + and *.

source
AlgebraOfGraphics.Layer Type
julia
Layer(transformation, data, positional::AbstractVector, named::AbstractDictionary)

Algebraic object encoding a single layer of a visualization. It is composed of a dataset, positional and named arguments, as well as a transformation to be applied to those. Layer objects can be multiplied, yielding a novel Layer object, or added, yielding a AlgebraOfGraphics.Layers object.

source
AlgebraOfGraphics.Layers Type
julia
Layers(layers::Vector{Layer})

Algebraic object encoding a list of AlgebraOfGraphics.Layer objects. Layers objects can be added or multiplied, yielding a novel Layers object.

source
AlgebraOfGraphics.zerolayer Function
julia
zerolayer()

Returns a Layers with an empty layer list which can act as a zero in the layer algebra.

julia
layer * zerolayer() ~ zerolayer()
layer + zerolayer() ~ layer
source
AlgebraOfGraphics.ProcessedLayer Type
julia
ProcessedLayer(l::Layer)

Process a Layer and return the resulting ProcessedLayer.

Note that this method should not be used anymore as processing a Layer can now potentially return multiple ProcessedLayer objects. Therefore, you should use the plural form ProcessedLayers(layer).

source
AlgebraOfGraphics.ProcessedLayers Type
julia
ProcessedLayers(layers::Vector{ProcessedLayer})

Object encoding a list of AlgebraOfGraphics.ProcessedLayer objects. ProcessedLayers objects are the output of the processing pipeline and can be drawn without further processing.

source
AlgebraOfGraphics.Entry Type
julia
Entry(plottype::PlotType, positional::Arguments, named::NamedArguments)

Define plottype as well as positional and named arguments for a single plot.

source
AlgebraOfGraphics.AxisEntries Type
julia
AxisEntries(axis::Union{Axis, Nothing}, entries::Vector{Entry}, categoricalscales, continuousscales)

Define all ingredients to make plots on an axis. Each categorical scale should be a CategoricalScale, and each continuous scale should be a ContinuousScale.

source

Layout Switch

Adjust the layout style of VitePress to adapt to different reading needs and screens.

Expand all
The sidebar and content area occupy the entire width of the screen.
Expand sidebar with adjustable values
Expand sidebar width and add a new slider for user to choose and customize their desired width of the maximum width of sidebar can go, but the content area width will remain the same.
Expand all with adjustable values
Expand sidebar width and add a new slider for user to choose and customize their desired width of the maximum width of sidebar can go, but the content area width will remain the same.
Original width
The original layout width of VitePress

Page Layout Max Width

Adjust the exact value of the page width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the page layout
A ranged slider for user to choose and customize their desired width of the maximum width of the page layout can go.

Content Layout Max Width

Adjust the exact value of the document content width of VitePress layout to adapt to different reading needs and screens.

Adjust the maximum width of the content layout
A ranged slider for user to choose and customize their desired width of the maximum width of the content layout can go.

Spotlight

Highlight the line where the mouse is currently hovering in the content to optimize for users who may have reading and focusing difficulties.

ONOn
Turn on Spotlight.
OFFOff
Turn off Spotlight.