ZoomCharts Documentation

ZoomCharts.Configuration.BaseSettingsLegend

Inheritance hierarchy

This type is implemented by LinearChartSettingsLegend, NetChartSettingsLegend and PieChartSettingsLegend.

Methods

This type does not define any methods.

Properties

Advanced settings which may change in the future.

enabled: boolean

Show/hide chart legend.

equalizeRowsColumns: boolean

Whether to order entries to get possibly equal number of items into columns or rows. If false, once the row or column is full of entries, the next element will be first in the new row or column/rows.

height: number

Maximum height of the legend. If null, all available vertical space of chart will be consumed to set as much entries as possible. It coincides with the chart height if legend panel side is on a left or right.

Introduced in version 1.14.0.

Settings related to the user interaction with the legend.

lineSpacing: number

Vertical space between the lines of text.

margin: number

Margin around each legend entry.

Visual element of legend entry with appropriate style to a slice color it corresponds. The content of each legend marker is the same as info popup appearing while hovering on slice.

maxLineSymbols: number

Max number of symbols used in one line of text that applies to any legend entry.

minHeight: number

Minium height of the legend.

minWidth: number

Minium width of the legend.

numberOfColumns: number

Max number of columns. Use in conjunction with side parameter under the legend panel should be right or left in order to arrange entries by columns.

numberOfRows: number

Max number of rows. Use in conjunction with side parameter under the legend panel that should be set as bottom or top in order to arrange entries by rows.

padding: number

Padding around each entry text and marker.

Legend enclosing panel settings.

Text settings displaying in legend entries.

width: number

Maximum width of the legend. If null, all available horizontal space of chart will be consumed to set as much entries as possible. It coincides with the chart width if legend panel side is on a top or bottom.

X