Legend

Properties in the Legend group determine the positioning and appearance of the primary legend of the chart.

Basic Legend Properties

Legend properties which appear under the “Basic Properties” group.

Legend Position

Indicate the location of the legend relative to the chart.

Variable Name:

legendPosition

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendPosition

String

Legend Position.

Show Legend

Controls whether the legend will be displayed with the chart.

Variable Name:

showLegend

Records:

1

Record Format:

Field Name

Field Type

Field Description

showLegend

Boolean

Shows chart legend, if enabled.

Legend Title Properties

Properties which are applied to the legend title.

Title Text

Text to display as the legend title.

Variable Name:

legendTitleText

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendTitleText

String

Title Text

Font Family

Applies a font family to the legend title text.

Variable Name:

legendTitleFontFamily

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendTitleFontFamily

String

Font family to apply to legend title text.

Font Size

Font size in pixels to apply to legend title text.

Variable Name:

legendTitleFontSize

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendTitleFontSize

Integer

Font size.

Font Style

Font style to apply to legend title text.

Variable Name:

legendTitleFontStyle

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendTitleFontStyle

String

Font style.

Font Weight

Legend title font weight is specified using a numerical values ranging from 100 to 900 in increments of 100. The higher the numerical value, the thicker and bolder the text will appear.

Variable Name:

legendTitleFontWeight

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendTitleFontWeight

Integer

Font weight.

Font Color

Color to apply to the legend title text.

Variable Name:

legendTitleFontColor

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendTitleFontColor

Color

Font color.

Legend Item Properties

Properties which are applied to individual item descriptions in the legend.

Font Family

Applies a font family to the text of each item in the legend.

Variable Name:

legendItemFontFamily

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendItemFontFamily

String

Font family to apply to each item in the legend.

Font Size

Font size in pixels for each item in the legend text.

Variable Name:

legendItemFontSize

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendItemFontSize

Integer

Font size of each item

Font Style

Font style to apply to each item in the legend.

Variable Name:

legendItemFontStyle

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendItemFontStyle

String

Font style.

Font Weight

Legend item font weight is specified using a numerical values ranging from 100 to 900 in increments of 100. The higher the numerical value, the thicker and bolder the text will appear.

Variable Name:

legendItemFontWeight

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendItemFontWeight

Integer

Font Weight

Font Color

Color to apply to the text of each item in the legend.

Variable Name:

legendItemFontColor

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendItemFontColor

Color

Font color.

Legend Item Width

Horizontal space in pixels between the items in the legend.

Variable Name:

legendItemWidth

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendItemWidth

Integer

Horizontal space between items.

Legend Item Height

Vertical space in pixels between the items in the legend.

Variable Name:

legendItemHeight

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendItemHeight

Integer

Vertical space between items.

Legend Item Max Width

Maximum width in pixels that each legend item may occupy. If a legend item is larger than the max width, the label is truncated with an ellipsis.

Variable Name:

legendItemMaxWidth

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendItemMaxWidth

Integer

Legend Item Max Width

Legend Marker Properties

Properties which are applied to the marker for each legend title.

Shape

Specifies the shape of the legend marker.

Variable Name:

legendMarkerShape

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendMarkerShape

String

Shape

Radius

Sets the radius of the legend marker.

Variable Name:

legendMarkerStyleRadius

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendMarkerStyleRadius

Integer

Radius

Fill

Defines the fill color of the legend marker.

Variable Name:

legendMarkerStyleFill

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendMarkerStyleFill

Color

Fill

Fill Opacity

Controls the opacity level of the fill color for the legend marker.

Variable Name:

legendMarkerStyleFillOpacity

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendMarkerStyleFillOpacity

Float

Fill Opacity

Stroke

Sets the stroke (border) color of the legend marker.

Variable Name:

legendMarkerStyleStroke

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendMarkerStyleStroke

Color

Stroke

Line Width

Determines the width of the stroke for the legend marker.

Variable Name:

legendMarkerStyleLineWidth

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendMarkerStyleLineWidth

Integer

Line Width

Line Dash

Specifies the dash pattern of the stroke for the legend marker.

Variable Name:

legendMarkerStyleLineDash

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendMarkerStyleLineDash

String

Line Dash

Line Opacity

Controls the opacity of the stroke color for the legend marker.

Variable Name:

legendMarkerStyleStrokeOpacity

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendMarkerStyleStrokeOpacity

Float

Line Opacity

Shadow Color

Sets the color of the shadow cast by the legend marker.

Variable Name:

legendMarkerStyleShadowColor

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendMarkerStyleShadowColor

Color

Shadow Color

Shadow Blur

Determines the blurring effect applied to the shadow cast by the legend marker.

Variable Name:

legendMarkerStyleShadowBlur

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendMarkerStyleShadowBlur

Integer

Shadow Blur

Shadow Offset X

Controls the horizontal offset of the shadow cast by the legend marker.

Variable Name:

legendMarkerStyleShadowOffsetX

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendMarkerStyleShadowOffsetX

Integer

Shadow Offset X

Shadow Offset Y

Controls the vertical offset of the shadow cast by the legend marker.

Variable Name:

legendMarkerStyleShadowOffsetY

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendMarkerStyleShadowOffsetY

Integer

Shadow Offset Y

Cursor

Defines the cursor appearance when interacting with the legend marker.

Variable Name:

legendMarkerStyleCursor

Records:

1

Record Format:

Field Name

Field Type

Field Description

legendMarkerStyleCursor

String

Cursor

Was this page helpful?