vcl-dxchartcore-c2b104b9.md
Stores visual element font settings in the Chart control.
TdxChartVisualElementFontOptions = class(
TdxChildFontOptions
)
The TdxChartVisualElementFontOptions class implements font settings with support for scaling according to the target monitor DPI. These settings also allow you to manage font appearance at different levels of visual Chart element hierarchy.
The list below outlines key members of the TdxChartVisualElementFontOptions class that allow you to change text appearance in visual elements of the Chart control.
Bold | Italic | StrikeOut | Underline | StyleApply different font attributes.AssignedValues
Specifies what visual element font settings override corresponding font settings of the parent visual element. If a font setting flag is present in a property value, the corresponding font setting is in effect at the current hierarchy level. Otherwise, the current visual element inherits the corresponding font setting from its parent.
Note
Chart visual elements multiply the parent element’s font size by a scale factor if the TdxFontOptionsValue.Size flag is not present in the AssignedValues property value. The scale factor depends on the target visual element type.
NameSpecifies font typeface.SizeSpecifies size of the current font, in typographic points.BeginUpdate | CancelUpdate | EndUpdateAllow you to avoid excessive redraw operations during batch font setting changes.AssignCopies font settings between visual Chart elements.
The following public properties reference a TdxChartVisualElementFontOptions object:
TdxChartCustomLabelsAppearance.FontOptionsProvides access to font settings of a chart label.TdxChartLegendAppearance.FontOptionsProvides access to font settings of the chart legend pane.TdxChartVisualElementTitleAppearance.FontOptionsProvides access to visual element title font settings.
TObject TPersistent TcxOwnedPersistent TcxOwnedInterfacedPersistent TcxLockablePersistent TdxFontOptions TdxChildFontOptions TdxChartVisualElementFontOptions
See Also