ChartTitle

ChartTitle class

Represents chart title properties.

public class ChartTitle : IChartTitle

Properties

NameDescription
Bottom { get; }Bottom. Read-only Single.
Chart { get; }Returns the parent chart. Read-only IChart.
Format { get; }Returns the fill, line, effect styles of a title. Read-only IFormat.
Height { get; set; }Returns or sets the height of a title as a fraction of the height of the chart. Read/write Single.
Overlay { get; set; }Determines whether other chart elements shall be allowed to overlap title. Read/write Boolean.
Right { get; }Right. Read-only Single.
TextFormat { get; }Returns text format. Read-only IChartTextFormat.
TextFrameForOverriding { get; }Can contain a rich formatted text. If this property is not null then this formatted text value overrides auto-generated text. Auto-generated text is an implicit property of the data label, the display unit label of the value axis, the axis title, the chart title, the label of the trendline. Auto-generated text is formatted with the IFormattedTextContainer.TextFormat property. Read-only ITextFrame.
Width { get; set; }Returns or sets the width of a title as a fraction of the width of the chart. Read/write Single.
X { get; set; }Returns or sets the x coordinate of a title as a fraction of the width of the chart. Read/write Single.
Y { get; set; }Returns or sets the y coordinate of a title as a fraction of the height of the chart. Read/write Single.

Methods

NameDescription
AddTextFrameForOverriding(string)Initialize TextFrameForOverriding with the text in paramener “text”. If TextFrameForOverriding is already initialized then simply changes its text.

See Also