ShapeTextFormat.Font Property
Provides access to font attributes for text displayed in a chart element.
Namespace: DevExpress.Spreadsheet.Charts
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
ShapeTextFont Font { get; }
#Property Value
Type | Description |
---|---|
Shape |
A Shape |
#Remarks
Use the Font property to set font attributes for the text displayed in the following chart elements:
- chart title defined by the ChartTitle object which can be accessed via the ChartObject.Title property;
- axis title whose display settings are defined by the ChartTitleOptions object accessible via the Axis.Title property;
- tick-mark labels displayed on the axis (to change font settings for the tick-mark labels, use the Font property of the Axis object);
- data labels whose options are provided by the DataLabelOptions interface accessible via the ChartView.DataLabels property;
- trendline label which is defined by the TrendlineLabel object accessible via the Trendline.Label property;
- display unit label of the value axis (to change font settings for the display unit label, use the Font property of the DisplayUnitOptions object).
Note
Not all Shape