ZoomCharts Documentation

Version: 1.21.1 (2024-11-08)

FacetChart.settings.legend.text

This section is defined by the type BaseSettingsTextStyle.

Text settings displaying in legend entries.

Properties

fillColor: string
Default value: "#000"
font: string
Default value: "12px Arial"
outlineColor: string
Introduced in version 1.12.0.

The color of the ouline around the text. Specify null to disable the outline.

outlineJoin: "miter" | "round" | "bevel"
Introduced in version 1.12.0.

Specify how the edges of the ouline will be calculated. For details on the specific values please see the MDN documentation.

Note that for certain serif fonts (such as Calibri) this property has no effect - since the font glyphs have rounded edges, the outline will be rounded.

Valid values:
  • miter - the default (applied with miterLimit=2)
  • round
  • bevel
See also
outlineWidth: number
Introduced in version 1.12.0.

The width of the outline in pixels.

shadowBlur: number
shadowColor: string
shadowOffsetX: number
shadowOffsetY: number
X