Skip to main content
A newer version of this page is available. .

BootstrapChartLegendSettings Properties

Stores settings related to a chart legend.
Name Description
ColumnCount Specifies how many columns it takes to arrange legend items.
ColumnItemSpacing Specifies a blank space between legend columns in pixels.
HorizontalAlignment Specifies a legend‘s position on the chart.
HoverMode Specifies what series elements to highlight when a corresponding item in the legend is hovered over.
ItemsAlignment Specifies the alignment of legend items.
ItemTextPosition Specifies the position of text relative to the item marker.
MarkerSize Specifies the size of item markers in the legend in pixels.
OnClientCustomizeHint Specifies a client callback function that returns the text for a hint that appears when a user hovers the mouse pointer over a legend item.
OnClientCustomizeText Specifies a client callback function that returns the text to be displayed by a legend item.
Orientation Specifies whether to place legend items horizontally or vertically.
Position Specifies whether the legend is located outside or inside the chart’s plot.
RowCount Specifies how many rows it takes to arrange legend items.
RowItemSpacing Specifies a blank space between legend rows in pixels.
VerticalAlignment Specifies a legend‘s vertical position on the chart.
Visible Specifies the visibility state of the chart’s legend.
See Also