ZoomCharts Documentation
Version: 1.21.1 (2024-11-08)
NetChart.settings.style.nodeBackground.labelStyle.textStyle
This section is defined by the type BaseSettingsTextStyle.
Text style including fill color and font.
Properties
fillColor: string
font: string
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
- MDN:
CanvasRenderingContext2D.lineJoin
- JSFiddle: compare different values
outlineWidth: number
Introduced in version 1.12.0.
The width of the outline in pixels.
shadowBlur: number
shadowColor: string
shadowOffsetX: number
shadowOffsetY: number