Versions in this module Expand all Collapse all v0 v0.2.3 Aug 9, 2026 v0.2.2 Aug 9, 2026 v0.2.1 May 10, 2026 v0.2.0 Apr 26, 2026 Changes in this version type Encode + Category string + Heat string + Indicator string + Source string + Target string type Geometry + const GeometryFunnel + const GeometryGauge + const GeometryHeatmap + const GeometryRadar + const GeometrySankey + const GeometryTreemap type Style + AreaOpacity *float64 + BarGap string + BarWidth any + BorderRadius any + EndAngle *float64 + FunnelAlign string + FunnelGap *float64 + FunnelSort string + GaugeMax *float64 + GaugeMin *float64 + LineWidth *float64 + Shape string + Smooth bool + StartAngle *float64 + Symbol string + SymbolSize *float64 v0.1.0 Feb 22, 2026 Changes in this version + type Axis struct + ID string + Max *float64 + Min *float64 + Name string + Position AxisPosition + Type AxisType + func (a Axis) IsHorizontal() bool + func (a Axis) IsVertical() bool + type AxisPosition string + const AxisPositionBottom + const AxisPositionLeft + const AxisPositionRight + const AxisPositionTop + func AxisPositions() []AxisPosition + func (AxisPosition) JSONSchema() *jsonschema.Schema + type AxisType string + const AxisTypeCategory + const AxisTypeLog + const AxisTypeTime + const AxisTypeValue + func AxisTypes() []AxisType + func (AxisType) JSONSchema() *jsonschema.Schema + type ChartIR struct + Axes []Axis + Datasets []Dataset + Grid *Grid + Legend *Legend + Marks []Mark + Title string + Tooltip *Tooltip + type Column struct + Name string + Type ColumnType + type ColumnType string + const ColumnTypeNumber + const ColumnTypeString + type CoordinateSystem string + const CoordinateCartesian2D + const CoordinatePolar + const CoordinateRadial + func CoordinateSystems() []CoordinateSystem + func (CoordinateSystem) JSONSchema() *jsonschema.Schema + type Dataset struct + Columns []Column + ID string + Rows [][]string + type Encode struct + Color string + Name string + Size string + Value string + X string + Y string + type Geometry string + const GeometryArea + const GeometryBar + const GeometryLine + const GeometryPie + const GeometryScatter + func Geometries() []Geometry + func (Geometry) JSONSchema() *jsonschema.Schema + type Grid struct + Bottom string + ContainLabel bool + Height string + Left string + Right string + Top string + Width string + type Legend struct + Items []string + Position LegendPosition + Show bool + type LegendPosition string + const LegendPositionBottom + const LegendPositionLeft + const LegendPositionRight + const LegendPositionTop + func LegendPositions() []LegendPosition + func (LegendPosition) JSONSchema() *jsonschema.Schema + type Mark struct + CoordinateSystem CoordinateSystem + DatasetID string + Encode Encode + Geometry Geometry + ID string + Name string + Smooth bool + Stack string + Style *Style + type Style struct + BorderColor string + BorderWidth *float64 + Color string + Opacity *float64 + type Tooltip struct + Show bool + Trigger TooltipTrigger + type TooltipTrigger string + const TooltipTriggerAxis + const TooltipTriggerItem + const TooltipTriggerNone + func TooltipTriggers() []TooltipTrigger + func (TooltipTrigger) JSONSchema() *jsonschema.Schema