• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class Chart

Represents a chart embedded in document content.

Inheritance
object
Chart
ChartExPreservedChart
ChartWithSeries<DS>
Implements
IDrawingObject
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document.Chart
Assembly: DRIT.Document.dll
Syntax
public abstract class Chart : IDrawingObject
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Constructors

Chart(Document)

Initializes a new instance of the Chart class.

Declaration
public Chart(Document document)
Parameters
Type Name Description
Document document
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Fields

autoTitleDeleted

Gets auto title deleted.

Declaration
public bool? autoTitleDeleted
Field Value
Type Description
bool?
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Properties

AnchoredCell

Gets or sets anchored cell.

Declaration
public Cell AnchoredCell { get; set; }
Property Value
Type Description
Cell
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Axes

Gets the axes manager providing unified access to all axes on the chart regardless of the concrete chart type.

Declaration
public AxesManager Axes { get; }
Property Value
Type Description
AxesManager
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

BottomRightCell

Gets or sets bottom right cell.

Declaration
public Cell BottomRightCell { get; }
Property Value
Type Description
Cell
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

ChartArea

Gets chart area.

Declaration
public ChartArea ChartArea { get; }
Property Value
Type Description
ChartArea
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

ChartType

Gets chart type.

Declaration
public ChartType ChartType { get; set; }
Property Value
Type Description
ChartType
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Data

Gets the unified data container providing access to the chart's categories and series. Maps to c:chart/c:plotArea data content.

Declaration
public ChartData Data { get; }
Property Value
Type Description
ChartData
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

DataSource

Gets data source.

Declaration
public string DataSource { get; set; }
Property Value
Type Description
string
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

DataTable

Gets the data table displayed with the chart, or null when the chart does not contain one.

Declaration
public DataTable DataTable { get; }
Property Value
Type Description
DataTable
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Document

Gets or sets document.

Declaration
public Document Document { get; }
Property Value
Type Description
Document
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

HasRotation3D

Gets whether this chart has 3D rotation settings applied.

Declaration
public bool HasRotation3D { get; }
Property Value
Type Description
bool
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

HiddenEmptyCellSettings

Gets or sets hidden empty cell settings.

Declaration
public HiddenEmptyCellSettings HiddenEmptyCellSettings { get; }
Property Value
Type Description
HiddenEmptyCellSettings
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Id

Gets or sets id.

Declaration
public int Id { get; set; }
Property Value
Type Description
int
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Legend

Gets or sets the legend of the chart.

Declaration
public Legend Legend { get; set; }
Property Value
Type Description
Legend
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Name

Gets or sets name.

Declaration
public string Name { get; set; }
Property Value
Type Description
string
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

ParentGroup

Gets or sets parent group.

Declaration
public GroupShape ParentGroup { get; }
Property Value
Type Description
GroupShape
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

PlotArea

Gets plot area.

Declaration
public PlotArea PlotArea { get; }
Property Value
Type Description
PlotArea
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Position

Gets or sets position.

Declaration
public Position Position { get; }
Property Value
Type Description
Position
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Rotation3D

Gets or sets the 3D rotation settings for the chart. Maps to c:view3D. Use HasRotation3D to check whether rotation has been explicitly applied.

Declaration
public ChartWallThreeDRotation Rotation3D { get; set; }
Property Value
Type Description
ChartWallThreeDRotation
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

RoundedCorners

Gets rounded corners.

Declaration
public bool RoundedCorners { get; set; }
Property Value
Type Description
bool
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Size

Gets or sets size.

Declaration
public Size Size { get; }
Property Value
Type Description
Size
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Title

Gets or sets title.

Declaration
public Title Title { get; }
Property Value
Type Description
Title
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Usershapes

Gets the collection of shapes within a chart.

Declaration
public ShapeCollection Usershapes { get; }
Property Value
Type Description
ShapeCollection
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Methods

AddDataTable()

Creates and assigns a data table to the chart.

Declaration
public void AddDataTable()
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

AddLegend()

Creates and assigns a legend to the chart.

Declaration
public void AddLegend()
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

AddTitle()

Provides the add Title behavior for this object.

Declaration
public void AddTitle()
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

OnChartTypeSet()

Describes the chart configuration.

Declaration
protected virtual void OnChartTypeSet()
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

RemoveDataTable()

Removes the data table from the chart.

Declaration
public void RemoveDataTable()
Remarks

The chart exposes the shared semantic chart model while its owner and placement remain document-story specific.

Implements

IDrawingObject
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX