TdxChartVisualElementFontOptions Class
Stores visual element font settings in the Chart control.
Declaration
TdxChartVisualElementFontOptions = class(
TdxChildFontOptions
)
Remarks
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.
Main API Members
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 | Style
- Apply 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.
- BeginUpdate | CancelUpdate | EndUpdate
- Allow you to avoid excessive redraw operations during batch font setting changes.
- Assign
- Copies font settings between visual Chart elements.
Direct TdxChartVisualElementFontOptions Class References
The following public properties reference a TdxChartVisualElementFontOptions
object:
- TdxChartCustomLabelsAppearance.FontOptions
- Provides access to font settings of a chart label.
- TdxChartLegendAppearance.FontOptions
- Provides access to font settings of the chart legend pane.
- TdxChartVisualElementTitleAppearance.FontOptions
- Provides access to visual element title font settings.