Chart Class

Represents an graphic chart on a slide.
Inheritance Hierarchy

Namespace:  Aspose.Slides.Charts
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntax
public class Chart : GraphicalObject, IChart, 
	IGraphicalObject, IShape, ISlideComponent, IPresentationComponent, IHyperlinkContainer, 
	IFormattedTextContainer, IChartComponent, IOverrideThemeable, IThemeable

The Chart type exposes the following members.

Properties
  NameDescription
Public propertyAlternativeText
Returns or sets the alternative text associated with a shape. Read/write String.
(Inherited from Shape.)
Public propertyAlternativeTextTitle
Returns or sets the title of alternative text associated with a shape. Read/write String.
(Inherited from Shape.)
Public propertyAsIFormattedTextContainer
Allows to get base IFormattedTextContainer interface. Read-only IFormattedTextContainer.
Public propertyAsIThemeable
Allows to get base IThemeable interface. Read-only IThemeable.
Public propertyAxes
Provide access to chart axes. Read-only IAxesManager.
Public propertyBackWall
Returns an object which allows to change format of the back wall of a 3D chart. Read-only IChartWall.
Public propertyBlackWhiteMode
Property specifies how a shape will render in black-and-white display mode.. Read/write BlackWhiteMode.
(Inherited from Shape.)
Public propertyChartData
Returns information about the linked or embedded data associated with a chart. Read-only IChartData.
Public propertyChartDataTable
Returns a data table of a chart. Read-only IDataTable.
Public propertyChartTitle
Returns or sets a chart title. Read-only IChartTitle.
Public propertyConnectionSiteCount
Returns the number of connection sites on the shape. Read-only Int32.
(Inherited from Shape.)
Public propertyCustomData
Returns the shape's custom data. Read-only ICustomData.
(Inherited from Shape.)
Public propertyDisplayBlanksAs
Returns or sets the way to plot blank cells on a chart. Read/write DisplayBlanksAsType.
Public propertyEffectFormat
Returns the EffectFormat object which contains pixel effects applied to a shape. Note: can return null for certain types of shapes which don't have effect properties. Read-only IEffectFormat.
(Inherited from Shape.)
Public propertyFillFormat
Returns the FillFormat object that contains fill formatting properties for a shape. Note: can return null for certain types of shapes which don't have fill properties. Read-only IFillFormat.
(Inherited from Shape.)
Public propertyFloor
Returns an object which allows to change format of the floor of a 3D chart. Read-only IChartWall.
Public propertyFrame
Returns or sets the shape frame's properties. Read/write IShapeFrame.
(Inherited from Shape.)
Public propertyGraphicalObjectLock
Returns shape's locks. Read-only IGraphicalObjectLock.
(Inherited from GraphicalObject.)
Public propertyHasDataTable
Determines whether a chart has a data table. Read/write Boolean.
Public propertyHasLegend
Determines whether a chart has a legend. Read/write Boolean.
Public propertyHasRoundedCorners
Specifies the chart area shall have rounded corners. Read/write Boolean.
Public propertyHasTitle
Determines whether a chart has a visible title. Read/write Boolean.
Public propertyHeight
Returns or sets the height of the shape. Read/write Single.
(Inherited from Shape.)
Public propertyHidden
Determines whether the shape is hidden. Read/write Boolean.
(Inherited from Shape.)
Public propertyHyperlinkClick
Returns or sets the hyperlink defined for mouse click. Read/write IHyperlink.
(Inherited from Shape.)
Public propertyHyperlinkManager
Returns the hyperlink manager. Read-only IHyperlinkManager.
(Inherited from Shape.)
Public propertyHyperlinkMouseOver
Returns or sets the hyperlink defined for mouse over. Read/write IHyperlink.
(Inherited from Shape.)
Public propertyIsGrouped
Determines whether the shape is grouped. Read-only Boolean.
(Inherited from Shape.)
Public propertyIsTextHolder
Determines whether the shape is TextHolder_PPT. Read-only Boolean.
(Inherited from Shape.)
Public propertyLegend
Returns or sets a legend for a chart. Read-only ILegend.
Public propertyLineFormat
Returns the LineFormat object that contains line formatting properties for a shape. Note: can return null for certain types of shapes which don't have line properties. Read-only ILineFormat.
(Inherited from Shape.)
Public propertyName
Returns or sets the name of a shape. Must be not null. Use empty string value if needed. Read/write String.
(Inherited from Shape.)
Public propertyOfficeInteropShapeId
Gets unique shape identifier in slide scope. Read-only UInt32. See also UniqueId for getting unique shape identifier in presentation scope.
(Inherited from Shape.)
Public propertyParentGroup
Returns parent GroupShape object if shape is grouped. Otherwise returns null. Read-only IGroupShape.
(Inherited from Shape.)
Public propertyPlaceholder
Returns the placeholder for a shape. Returns null if the shape has no placeholder. Read-only IPlaceholder.
(Inherited from Shape.)
Public propertyPlotArea
Represents the plot area of a chart. Read-only IChartPlotArea.
Public propertyPlotVisibleCellsOnly
Determines whether the only visible cells are plotted. False to plot both visible and hidden cells. Read/write Boolean.
Public propertyPresentation
Returns the parent presentation of a slide. Read-only IPresentation.
(Inherited from Shape.)
Public propertyRawFrame
Returns or sets the raw shape frame's properties. Read/write IShapeFrame.
(Inherited from Shape.)
Public propertyRotation
Returns or sets the number of degrees the specified shape is rotated around the z-axis. A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation. Read/write Single.
(Inherited from Shape.)
Public propertyRotation3D
Returns a 3D rotation of a chart. Read-only IRotation3D.
Public propertyShapeLock
Returns shape's locks. Read-only IGraphicalObjectLock.
(Inherited from GraphicalObject.)
Public propertyShowDataLabelsOverMaximum
Specifies data labels over the maximum of the chart shall be shown. Read/write Boolean.
Public propertySideWall
Returns an object which allows to change format of the side wall of a 3D chart. Read-only IChartWall.
Public propertySlide
Returns the parent slide of a shape. Read-only IBaseSlide.
(Inherited from Shape.)
Public propertyStyle
Returns or sets the chart style. Read/write StyleType.
Public propertyTextFormat
Returns chart text format. Read-only IChartTextFormat.
Public propertyThemeManager
Returns theme manager. Read-only IOverrideThemeManager.
Public propertyThreeDFormat
Returns the ThreeDFormat object that 3d effect properties for a shape. Note: can return null for certain types of shapes which don't have 3d properties. Read-only IThreeDFormat.
(Inherited from Shape.)
Public propertyType
Returns or sets the chart type. Read/write ChartType.
Public propertyUniqueId
Gets unique shape identifier in presentation scope. Read-only UInt32. See also OfficeInteropShapeId for getting unique shape identifier in slide scope.
(Inherited from Shape.)
Public propertyUserShapes
Specify the shapes drawn on top of the chart. Read-only IGroupShape.
Public propertyWidth
Returns or sets the width of the shape. Read/write Single.
(Inherited from Shape.)
Public propertyX
Returns or sets the x-coordinate of the upper-left corner of the shape. Read/write Single.
(Inherited from Shape.)
Public propertyY
Returns or sets the y-coordinate of the upper-left corner of the shape. Read/write Single.
(Inherited from Shape.)
Public propertyZOrderPosition
Returns the position of a shape in the z-order. Shapes[0] returns the shape at the back of the z-order, and Shapes[Shapes.Count - 1] returns the shape at the front of the z-order. Read-only Int32.
(Inherited from Shape.)
Methods
  NameDescription
Public methodAddPlaceholder
Adds a new placeholder if there is no and sets placeholder properties to a specified one.
(Inherited from Shape.)
Public methodCreateEffectFormatEffective Obsolete.
Creates the EffectFormatEffectiveData object that contains all effects applyed to a shape, included inherited.
(Inherited from Shape.)
Public methodCreateFillFormatEffective Obsolete.
Creates the FillFormatEffectiveData object that contains all fill formatting properties for a shape, included inherited.
(Inherited from Shape.)
Public methodCreateLineFormatEffective Obsolete.
Creates the LineFormatEffectiveData object that contains all line formatting properties for a shape, included inherited.
(Inherited from Shape.)
Public methodCreateThemeEffective
Returns an effective theme for this chart.
Public methodCreateThreeDFormatEffective Obsolete.
Creates the ThreeDFormatEffectiveData object that contains volume properties and 3D transformation of a shape, included inherited.
(Inherited from Shape.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetThumbnail
Returns shape thumbnail. ShapeThumbnailBounds.Shape shape thumbnail bounds type is used by default.
(Inherited from Shape.)
Public methodGetThumbnail(ShapeThumbnailBounds, Single, Single)
Returns shape thumbnail.
(Inherited from Shape.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemovePlaceholder
Defines that this shape isn't a placeholder.
(Inherited from Shape.)
Public methodToString (Inherited from Object.)
Public methodValidateChartLayout
Calculates actual values of chart elements. The actual values include position of elements that implement IActualLayout interface (IActualLayout.ActualX, IActualLayout.ActualY, IActualLayout.ActualWidth, IActualLayout.ActualHeight) and actual axes values (IAxis.ActualMaxValue, IAxis.ActualMinValue, IAxis.ActualMajorUnit, IAxis.ActualMinorUnit, IAxis.ActualMajorUnitScale, IAxis.ActualMinorUnitScale)
Public methodWriteAsSvg(Stream)
Saves content of Shape as SVG file.
(Inherited from Shape.)
Public methodWriteAsSvg(Stream, ISVGOptions)
Saves content of Shape as SVG file.
(Inherited from Shape.)
Fields
  NameDescription
Protected fieldm_fillFormat (Inherited from Shape.)
Protected fieldm_lineFormat (Inherited from Shape.)
See Also