View on

Element: legend

The legend element is used to draw a chart legend.
legend {
  items: <items>;
}

Properties

Property: position

Values

Examples

Property: title

Values

Examples

Property: items

Values

Examples

Property: text-color

Values

Examples

Property: border-color

Values

Examples

Property: item-margin

Values

Examples

Property: item-margin-top

Values

Examples

Property: item-margin-right

Values

Examples

Property: item-margin-bottom

Values

Examples

Property: item-margin-left

Values

Examples

Property: color

Values

Examples

Property: colors

Values

Examples

Edit this page on GitHub