Page tree
Skip to end of metadata
Go to start of metadata

Description

A ChartText object represents a region in a chart where text is displayed (e.g., a chart title). The ChartText extends ChartRegion.

C#
vb.net

Properties

Name

Description

Formula

Sets or returns the formula to use to calculate the value for the text item. For example, if the formula is "=Sheet1!A1", the value in that cell will be the text displayed in the ChartText object.

(This has no meaning for SeriesDataLabel on a series or on a data point.)

NumberFormat

Sets or returns the display format of numbers in the ChartText object.
(This is not supported for Axis or Chart titles.)

Text

Sets or returns the text displayed in the ChartText object.

(This has no meaning for SeriesDataLabel on a series, only for SeriesDataLabel on a data point.)

Methods

Name

Description

ClearRichTextFormatting()

Clears all rich text formatting in the ChartText object.
(This has no meaning for SeriesDataLabel on a series, only for SeriesDataLabel on a data point.)

GetCharacters(Int32)

Returns a CharacterRun object representing a range of characters within the text. Use this to set a font on specified characters within the ChartText object.
(This has no meaning for SeriesDataLabel on a series, only for SeriesDataLabel on a data point.)

GetCharacters(Int32, Int32)

Returns a CharacterRun object representing a range of characters within the text. Use this to set a font on specified characters within the ChartText object.

(This has no meaning for SeriesDataLabel on a series, only for SeriesDataLabel on a data point.)

  • No labels