Share via


DocumentChartFigure interface

Figure containing a chart, such as a bar chart, line chart, or pie chart.

Extends

Properties

content

Chart content represented using Chart.js config.

kind

Figure kind.

Inherited Properties

caption

Figure caption.

description

Description of the figure.

elements

Child elements of the figure, excluding any caption or footnotes.

footnotes

List of figure footnotes.

id

Figure identifier.

role

Semantic role of the figure.

source

Encoded source that identifies the position of the figure in the content.

span

Span of the figure in the markdown content.

Property Details

content

Chart content represented using Chart.js config.

content: Record<string, any>

Property Value

Record<string, any>

kind

Figure kind.

kind: "chart"

Property Value

"chart"

Inherited Property Details

caption

Figure caption.

caption?: DocumentCaption

Property Value

Inherited From DocumentFigure.caption

description

Description of the figure.

description?: string

Property Value

string

Inherited From DocumentFigure.description

elements

Child elements of the figure, excluding any caption or footnotes.

elements?: string[]

Property Value

string[]

Inherited From DocumentFigure.elements

footnotes

List of figure footnotes.

footnotes?: DocumentFootnote[]

Property Value

Inherited From DocumentFigure.footnotes

id

Figure identifier.

id: string

Property Value

string

Inherited From DocumentFigure.id

role

Semantic role of the figure.

role?: SemanticRole

Property Value

Inherited From DocumentFigure.role

source

Encoded source that identifies the position of the figure in the content.

source?: string

Property Value

string

Inherited From DocumentFigure.source

span

Span of the figure in the markdown content.

span?: ContentSpan

Property Value

Inherited From DocumentFigure.span