ODF .NET Class Library
Show/Hide TOC

# ChartBody Class

Represents chart content.

## Definition

Namespace: Independentsoft.Office.Odf.Charts
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class ChartBody : IContentElement

VB

    Public Class ChartBody
    	Implements IContentElement

Inheritance
  Object ChartBody

Implements
  IContentElement

## Properties

Height | Contains the height of the entire chart. If it is omitted, the size of the chart is determined by the size of the window in which the chart is displayed.
Legend | Contains the legend for a chart.
PlotArea | Contains the coordinate system in which data is plotted including defined axes.
Style | Contains the names that reference style mechanisms.
Subtitle | Contains the subtitle for a chart.
Table | Contains the root element for a table.
Title | Contains the title in a chart document.
Type | Contains the chart type. The value is a namespaced token.
Width | Contains the width of the entire chart. If it is omitted, the size of the chart is determined by the size of the window in which the chart is displayed.

## Methods

Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetContentElements | Returns all content elements.
GetHashCode | (Inherited from Object)
GetParent | Returns the parent element.
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current ChartBody object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Charts Namespace