Class
DocumentChart

Container for chart series, axes, title, and legend; use this to compose and clone chart definitions.

Definition

Namespace:Telerik.Windows.Documents.Model.Drawing.Charts

Assembly:Telerik.Windows.Documents.Core.dll

Syntax:

cs-api-definition
public class DocumentChart

Inheritance: objectDocumentChart

Constructors

DocumentChart()

Create a new DocumentChart with no axes and an empty series group collection.

Declaration

cs-api-definition
public DocumentChart()

Properties

Legend

Gets or sets the legend associated with this chart, which controls category/series labeling.

Declaration

cs-api-definition
public Legend Legend { get; set; }

Property Value

Legend

PrimaryAxes

Gets or sets the primary axes used by the first series group, affecting scaling and layout.

Declaration

cs-api-definition
public AxisGroup PrimaryAxes { get; set; }

Property Value

AxisGroup

SecondaryAxes

Gets or sets the secondary axes used for additional series groups in combo charts.

Declaration

cs-api-definition
public AxisGroup SecondaryAxes { get; set; }

Property Value

AxisGroup

SeriesGroups

Gets the collection of series groups that organize the chart’s data.

Declaration

cs-api-definition
public SeriesGroupCollection SeriesGroups { get; }

Property Value

SeriesGroupCollection

Title

Gets or sets the chart title displayed above or near the plot area.

Declaration

cs-api-definition
public Title Title { get; set; }

Property Value

Title

Methods

Clone()

Creates a deep copy of this chart and returns a new instance with cloned series, axes, title, and legend.

Declaration

cs-api-definition
public DocumentChart Clone()

Returns

DocumentChart

The deep copy of the object.