SvgText
Renders an SVG <text> element from code. Razor reserves the literal
<text> markup tag as its template-transition directive, so chart components emit
axis/legend labels through this helper to sidestep the parser while keeping pure inline SVG.
Properties
Section titled “Properties”Anchor
Section titled “Anchor”Text anchor (start | middle | end).
Fill color (CSS color or theme token).
FillOpacity
Section titled “FillOpacity”Fill opacity (0..1).
FontSize
Section titled “FontSize”Font size in SVG user units.
FontWeight
Section titled “FontWeight”Optional font weight (e.g. “600”).
The text content to render.
X coordinate in SVG user units.
Y coordinate in SVG user units.