GogLegend

GogLegend — A legend.

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── GogObject
        ╰── GogStyledObject
            ╰── GogOutlinedObject
                ╰── GogLegend

Implemented Interfaces

GogLegend implements GOStyledObject.

Description

A legend shows the name of each GogSeries and which colors they have in the plot. To use, add in the role "Legend" of a GogChart.

Functions

Types and Values

GogLegend

typedef struct _GogLegend GogLegend;

Property Details

The “swatch-padding-pts” property

  “swatch-padding-pts”       gdouble

padding between the swatches in pts.

Flags: Read / Write

Allowed values: >= 0

Default value: 0


The “swatch-size-pts” property

  “swatch-size-pts”          gdouble

size of the swatches in pts.

Flags: Read / Write

Allowed values: >= 0

Default value: 0