Legend

Legend is a Highcharts-like inline legend plugin.

Configuration

General

  • config.legend.show?: boolean - show legend or not
  • config.legend.className?: string; - class name for legend

Appearance

  • config.legend.position?: 'top' | 'bottom' - legend placement position
  • config.legend.maxLegendSpace?: number - fraction of chart area used to render legend
  • config.legend.fontSize?: number - legend items' font size
  • config.legend.behaviour?: 'basic' | 'extended' - specify legends' behaviour on click
Previous