Aspose::Slides::Charts::Chart Class Reference

Represents an graphic chart on a slide. More...

Inherits Aspose::Slides::GraphicalObject, and Aspose::Slides::Charts::IChart.

Public Member Functions

bool get_PlotVisibleCellsOnly ()
 Determines whether the only visible cells are plotted. False to plot both visible and hidden cells. Read bool. More...
 
void set_PlotVisibleCellsOnly (bool value)
 Determines whether the only visible cells are plotted. False to plot both visible and hidden cells. Write bool. More...
 
DisplayBlanksAsType get_DisplayBlanksAs ()
 Returns the way to plot blank cells on a chart. Read DisplayBlanksAsType. More...
 
void set_DisplayBlanksAs (DisplayBlanksAsType value)
 Sets the way to plot blank cells on a chart. Write DisplayBlanksAsType. More...
 
System::SharedPtr< IChartDataget_ChartData ()
 Returns information about the linked or embedded data associated with a chart. Read-only IChartData. More...
 
bool get_HasTitle ()
 Determines whether a chart has a visible title. Read bool. More...
 
void set_HasTitle (bool value)
 Determines whether a chart has a visible title. Write bool. More...
 
System::SharedPtr< IChartTitleget_ChartTitle ()
 Returns a chart title. Read-only IChartTitle. More...
 
bool get_HasDataTable ()
 Determines whether a chart has a data table. Read bool. More...
 
void set_HasDataTable (bool value)
 Determines whether a chart has a data table. Write bool. More...
 
bool get_HasLegend ()
 Determines whether a chart has a legend. Read bool. More...
 
void set_HasLegend (bool value)
 Determines whether a chart has a legend. Write bool. More...
 
System::SharedPtr< ILegendget_Legend ()
 Returns a legend for a chart. Read-only ILegend. More...
 
System::SharedPtr< IDataTableget_ChartDataTable ()
 Returns a data table of a chart. Read-only IDataTable. More...
 
StyleType get_Style ()
 Returns the chart style. Read StyleType. More...
 
void set_Style (StyleType value)
 Sets the chart style. Write StyleType. More...
 
ChartType get_Type ()
 Returns the chart type. Read ChartType. More...
 
void set_Type (ChartType value)
 Sets the chart type. Write ChartType. More...
 
System::SharedPtr< IChartPlotAreaget_PlotArea ()
 Represents the plot area of a chart. Read-only IChartPlotArea. More...
 
System::SharedPtr< IRotation3Dget_Rotation3D ()
 Returns a 3D rotation of a chart. Read-only IRotation3D. More...
 
System::SharedPtr< IChartWallget_BackWall ()
 Returns an object which allows to change format of the back wall of a 3D chart. Read-only IChartWall. More...
 
System::SharedPtr< IChartWallget_SideWall ()
 Returns an object which allows to change format of the side wall of a 3D chart. Read-only IChartWall. More...
 
System::SharedPtr< IChartWallget_Floor ()
 Returns an object which allows to change format of the floor of a 3D chart. Read-only IChartWall. More...
 
System::SharedPtr< IChartTextFormatget_TextFormat ()
 Returns chart text format. Read-only IChartTextFormat. More...
 
System::SharedPtr< Aspose::Slides::Theme::IOverrideThemeManagerget_ThemeManager ()
 Returns theme manager. Read-only IOverrideThemeManager. More...
 
System::SharedPtr< IGroupShapeget_UserShapes ()
 Specify the shapes drawn on top of the chart. Read-only IGroupShape. More...
 
System::SharedPtr< IAxesManagerget_Axes ()
 Provide access to chart axes. Read-only IAxesManager. More...
 
bool get_ShowDataLabelsOverMaximum ()
 Specifies data labels over the maximum of the chart shall be shown. Read bool. More...
 
void set_ShowDataLabelsOverMaximum (bool value)
 Specifies data labels over the maximum of the chart shall be shown. Write bool. More...
 
bool get_HasRoundedCorners ()
 Specifies the chart area shall have rounded corners. Read bool. More...
 
void set_HasRoundedCorners (bool value)
 Specifies the chart area shall have rounded corners. Write bool. More...
 
System::SharedPtr< IChartget_Chart ()
 Returns the chart. Read-only IChart. More...
 
void ValidateChartLayout ()
 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) More...
 
System::SharedPtr< Aspose::Slides::Theme::IThemeEffectiveDataCreateThemeEffective ()
 Returns an effective theme for this chart. More...
 
- Public Member Functions inherited from Aspose::Slides::GraphicalObject
System::SharedPtr< IGraphicalObjectLockget_GraphicalObjectLock ()
 Returns shape's locks. Read-only IGraphicalObjectLock. More...
 
- Public Member Functions inherited from Aspose::Slides::Shape
bool get_IsTextHolder ()
 Determines whether the shape is TextHolder_PPT. Read-only bool. More...
 
System::SharedPtr< IPlaceholderget_Placeholder ()
 Returns the placeholder for a shape. Returns null if the shape has no placeholder. Read-only IPlaceholder. More...
 
System::SharedPtr< ICustomDataget_CustomData ()
 Returns the shape's custom data. Read-only ICustomData. More...
 
System::SharedPtr< IShapeFrameget_RawFrame ()
 Returns the raw shape frame's properties. Read IShapeFrame. More...
 
void set_RawFrame (System::SharedPtr< IShapeFrame > value)
 Sets the raw shape frame's properties. Write IShapeFrame. More...
 
System::SharedPtr< PresentationML::Transform2D > _anonymous_method_1 ()
 
System::SharedPtr< IShapeFrameget_Frame ()
 Returns the shape frame's properties. Read IShapeFrame. More...
 
void set_Frame (System::SharedPtr< IShapeFrame > value)
 Sets the shape frame's properties. Write IShapeFrame. More...
 
virtual System::SharedPtr< ILineFormatget_LineFormat ()
 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. More...
 
virtual System::SharedPtr< IThreeDFormatget_ThreeDFormat ()
 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. More...
 
virtual System::SharedPtr< IEffectFormatget_EffectFormat ()
 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. More...
 
virtual System::SharedPtr< IFillFormatget_FillFormat ()
 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. More...
 
System::SharedPtr< IHyperlinkget_HyperlinkClick ()
 Returns the hyperlink defined for mouse click. Read IHyperlink. More...
 
void set_HyperlinkClick (System::SharedPtr< IHyperlink > value)
 Sets the hyperlink defined for mouse click. Write IHyperlink. More...
 
System::SharedPtr< IHyperlinkget_HyperlinkMouseOver ()
 Returns the hyperlink defined for mouse over. Read IHyperlink. More...
 
void set_HyperlinkMouseOver (System::SharedPtr< IHyperlink > value)
 Sets the hyperlink defined for mouse over. Write IHyperlink. More...
 
System::SharedPtr< IHyperlinkManagerget_HyperlinkManager ()
 Returns the hyperlink manager. Read-only IHyperlinkManager. More...
 
bool get_Hidden ()
 Determines whether the shape is hidden. Read bool. More...
 
void set_Hidden (bool value)
 Determines whether the shape is hidden. Write bool. More...
 
virtual int32_t get_ZOrderPosition ()
 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_t. More...
 
int32_t get_ConnectionSiteCount ()
 Returns the number of connection sites on the shape. Read-only int32_t. More...
 
float get_Rotation ()
 Returns 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 float. More...
 
void set_Rotation (float value)
 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. Write float. More...
 
float get_X ()
 Returns the x-coordinate of the upper-left corner of the shape. Read float. More...
 
void set_X (float value)
 Sets the x-coordinate of the upper-left corner of the shape. Write float. More...
 
float get_Y ()
 Returns the y-coordinate of the upper-left corner of the shape. Read float. More...
 
void set_Y (float value)
 Sets the y-coordinate of the upper-left corner of the shape. Write float. More...
 
float get_Width ()
 Returns the width of the shape. Read float. More...
 
void set_Width (float value)
 Sets the width of the shape. Write float. More...
 
float get_Height ()
 Returns the height of the shape. Read float. More...
 
void set_Height (float value)
 Sets the height of the shape. Write float. More...
 
Aspose::Slides::BlackWhiteMode get_BlackWhiteMode ()
 Property specifies how a shape will render in black-and-white display mode.. Read Slides::BlackWhiteMode. More...
 
void set_BlackWhiteMode (Aspose::Slides::BlackWhiteMode value)
 Property specifies how a shape will render in black-and-white display mode.. Write Slides::BlackWhiteMode. More...
 
uint32_t get_UniqueId ()
 Gets unique shape identifier in presentation scope. Read-only uint32_t. See also OfficeInteropShapeId for getting unique shape identifier in slide scope. More...
 
uint32_t get_OfficeInteropShapeId ()
 Gets unique shape identifier in slide scope. Read-only uint32_t. See also UniqueId for getting unique shape identifier in presentation scope. More...
 
virtual System::String get_AlternativeText ()
 Returns the alternative text associated with a shape. Read System::String. More...
 
virtual void set_AlternativeText (System::String value)
 Sets the alternative text associated with a shape. Write System::String. More...
 
virtual System::String get_AlternativeTextTitle ()
 Returns the title of alternative text associated with a shape. Read System::String. More...
 
virtual void set_AlternativeTextTitle (System::String value)
 Sets the title of alternative text associated with a shape. Write System::String. More...
 
virtual System::String get_Name ()
 Returns the name of a shape. Must be not null. Use empty string value if needed. Read System::String. More...
 
virtual void set_Name (System::String value)
 Sets the name of a shape. Must be not null. Use empty string value if needed. Write System::String. More...
 
System::SharedPtr< IBaseShapeLockget_ShapeLock ()
 Returns shape's locks. Read-only IBaseShapeLock. More...
 
bool get_IsGrouped ()
 Determines whether the shape is grouped. Read-only bool. More...
 
System::SharedPtr< IGroupShapeget_ParentGroup ()
 Returns parent GroupShape object if shape is grouped. Otherwise returns null. Read-only IGroupShape. More...
 
System::SharedPtr< IDOMObjectget_Parent_Immediate ()
 Returns Parent_Immediate object. Read-only IDOMObject. More...
 
System::SharedPtr< IBaseSlideget_Slide ()
 Returns the parent slide of a shape. Read-only IBaseSlide. More...
 
System::SharedPtr< IPresentationget_Presentation ()
 Returns the parent presentation of a slide. Read-only IPresentation. More...
 
System::SharedPtr< Aspose::Slides::ThreeDFormat_anonymous_method_2 ()
 
System::SharedPtr< Aspose::Slides::ThreeDFormat_anonymous_method_3 ()
 
System::SharedPtr< Aspose::Slides::LineFormat_anonymous_method_4 ()
 
void _anonymous_method_6 (System::SharedPtr< ILineFormat > registryReference)
 
System::SharedPtr< Aspose::Slides::LineFormat_anonymous_method_5 ()
 
System::SharedPtr< Aspose::Slides::EffectFormat_anonymous_method_7 ()
 
System::SharedPtr< Aspose::Slides::EffectFormat_anonymous_method_8 ()
 
void RemovePlaceholder ()
 Defines that this shape isn't a placeholder. More...
 
System::SharedPtr< IPlaceholderAddPlaceholder (System::SharedPtr< IPlaceholder > placeholderToCopyFrom)
 Adds a new placeholder if there is no and sets placeholder properties to a specified one. More...
 
System::SharedPtr< ILineFormatEffectiveDataCreateLineFormatEffective ()
 Creates the LineFormatEffectiveData object that contains all line formatting properties for a shape, included inherited. More...
 
System::SharedPtr< IFillFormatEffectiveDataCreateFillFormatEffective ()
 Creates the FillFormatEffectiveData object that contains all fill formatting properties for a shape, included inherited. More...
 
System::SharedPtr< IEffectFormatEffectiveDataCreateEffectFormatEffective ()
 Creates the EffectFormatEffectiveData object that contains all effects applyed to a shape, included inherited. More...
 
System::SharedPtr< IThreeDFormatEffectiveDataCreateThreeDFormatEffective ()
 Creates the ThreeDFormatEffectiveData object that contains volume properties and 3D transformation of a shape, included inherited. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail ()
 Returns shape thumbnail. ShapeThumbnailBounds.Shape shape thumbnail bounds type is used by default. More...
 
System::SharedPtr< System::Drawing::BitmapGetThumbnail (ShapeThumbnailBounds bounds, float scaleX, float scaleY)
 Returns shape thumbnail. More...
 
void WriteAsSvg (System::SharedPtr< System::IO::Stream > stream)
 Saves content of Shape as SVG file. More...
 
void WriteAsSvg (System::SharedPtr< System::IO::Stream > stream, System::SharedPtr< Export::ISVGOptions > svgOptions)
 Saves content of Shape as SVG file. More...
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ~Object ()
 Destroys object. Frees all internal data structures. More...
 
 Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared refernce counter. More...
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Protected Member Functions

System::SharedPtr< Aspose::Slides::UnsupportedProps::PPTXUnsupportedProps::Charts::ChartPPTXUnsupportedProps > get_PPTXUnsupportedProps ()
 
System::ArrayPtr< System::Drawing::Colorget_SeriesColors ()
 
System::SharedPtr< Aspose::Slides::Theme::ColorMapping > get_ColorMappingOverride ()
 

Relates to "CT_ChartSpace.clrMapOvr" elements defined in "dml-chart.xsd" schema file.

Represents color mapping information. It is used to override the applications color mapping if the user has selected keep source formatting after a copy-paste. More...
 
System::SharedPtr< ChartDefaultStyles > get_DefaultStyles ()
 
 Chart (System::SharedPtr< ShapeCollection > parentImmediate, ChartType type)
 
System::Drawing::Color DefineFontColor (System::SharedPtr< IChartTextFormat > textFormatOfAutoText, System::Drawing::Color colorToSet)
 
System::SharedPtr< System::Drawing::FontDefineFontProperties (System::SharedPtr< IChartTextFormat > textFormatOfAutoText)
 
virtual void Draw (System::SharedPtr< Aspose::Slides::Drawing::Canvas > canvas, System::SharedPtr< Aspose::Slides::Drawing::RenderContext > rc, System::SharedPtr< InterruptionToken > interruptionToken)
 
virtual void Reset ()
 Sets all formats to NotDefined state. For shapes with placeholders this will cause default state. More...
 
bool CanDrawNewMode ()
 
bool MixedChartIsSupported ()
 
bool CanDrawNewMode (ChartType type)
 
System::Drawing::Color GetFromChartSchemeColor (ColorSchemeIndex colorSchemeIndex)
 
void ValidateConsistencyOf_ChartType_SeriesType ()
 
- Protected Member Functions inherited from Aspose::Slides::GraphicalObject
virtual bool get_MetroBlobRequired ()
 Shows if saving this shape to ppt requires GroupShapeMetroBlob record to save all shape's properties correctly More...
 
System::SharedPtr< UnsupportedProps::PPTXUnsupportedProps::GraphicalObjectPPTXUnsupportedProps > get_PPTXUnsupportedProps ()
 
System::SharedPtr< UnsupportedProps::PPTUnsupportedProps::GraphicalObjectPPTUnsupportedProps > get_PPTUnsupportedProps ()
 
 GraphicalObject (System::SharedPtr< IDOMObject > parentImmediate)
 
 GraphicalObject (System::SharedPtr< IDOMObject > parentImmediate, System::SharedPtr< UnsupportedProps::PPTXUnsupportedProps::GraphicalObjectPPTXUnsupportedProps > pptxUnsupportedProps)
 
 GraphicalObject (System::SharedPtr< IDOMObject > parentImmediate, System::SharedPtr< UnsupportedProps::PPTXUnsupportedProps::GraphicalObjectPPTXUnsupportedProps > pptxUnsupportedProps, System::SharedPtr< UnsupportedProps::PPTUnsupportedProps::GraphicalObjectPPTUnsupportedProps > pptUnsupportedProps)
 
- Protected Member Functions inherited from Aspose::Slides::Shape
bool get_Unprocessed () const
 Determines whether shape will be serialized in XML. More...
 
void set_Unprocessed (bool value)
 Determines whether shape will be serialized in XML. More...
 
bool get_IsScalingProcess ()
 Determins whether scaling process is actual or not More...
 
void set_IsScalingProcess (bool value)
 Determins whether scaling process is actual or not More...
 
System::SharedPtr< PresentationML::Transform2D > get_Transform2DInternal ()
 
void set_Transform2DInternal (System::SharedPtr< PresentationML::Transform2D > value)
 
System::SharedPtr< ShapeFrameget_FrameImpl ()
 
void set_FrameImpl (System::SharedPtr< ShapeFrame > value)
 
System::SharedPtr< UnsupportedProps::PPTXUnsupportedProps::ShapePPTXUnsupportedProps > get_PPTXUnsupportedProps ()
 
System::SharedPtr< UnsupportedProps::PPTUnsupportedProps::ShapePPTUnsupportedProps > get_PPTUnsupportedProps ()
 
System::ArrayPtr< System::Drawing::PointFget_ConnectionPoints ()
 Gets array of connection poits. More...
 
System::ArrayPtr< float > get_ConnectionDirections ()
 Gets array of connection angle directions. Angle in degree. More...
 
bool get_SwapXY ()
 
System::Drawing::RectangleF get_ShapeRectangleRotated ()
 
uint32_t get_ShapeId ()
 
void set_ShapeLock (System::SharedPtr< IBaseShapeLock > value)
 Returns shape's locks. Read-only IBaseShapeLock. More...
 
virtual uint32_t get_Version_OldMode ()
 
System::SharedPtr< GroupShapeget_ParentGroupInternal ()
 
System::String get_GeometryTextFont ()
 
void set_GeometryTextFont (System::String value)
 
System::String get_GeometryText ()
 
void set_GeometryText (System::String value)
 
System::SharedPtr< IPresentationComponentget_Parent_IPresentationComponent ()
 
System::SharedPtr< ISlideComponentget_Parent_ISlideComponent ()
 
System::SharedPtr< ShapeCollectionget_Parent_ShapeCollection ()
 
System::SharedPtr< BaseSlideget_SlideInternal ()
 
System::SharedPtr< Aspose::Slides::ThreeDFormatGetThreeDFormatLazy ()
 
System::SharedPtr< Aspose::Slides::LineFormatGetLineFormatLazy ()
 
System::SharedPtr< Aspose::Slides::LineFormatGetLineFormatRawRef ()
 
System::SharedPtr< Aspose::Slides::LineFormatGetLineFormatRawRef (System::SharedPtr< Shape > parent)
 
System::SharedPtr< Aspose::Slides::EffectFormatGetEffectFormatLazy ()
 
void SetEffectFormat (System::SharedPtr< Aspose::Slides::EffectFormat > effectFormat)
 
void SetLineFormatRawRef (System::SharedPtr< Aspose::Slides::LineFormat > lineFormat)
 
template<typename T >
GetLazy (Shape::Get< T > create, Shape::Get< T > get, T notDefined)
 
void SetPlaceholder (Orientation orientation, PlaceholderSize size, PlaceholderType type, uint32_t index, bool hasCustomPrompt)
 Defines this shape as a placeholder. More...
 
virtual System::SharedPtr< PresentationML::Transform2D > GetRawFrameImpl ()
 
virtual void SetRawFrameImpl (System::SharedPtr< PresentationML::Transform2D > value)
 
System::SharedPtr< ShapeFrameGetEffectiveRawFrame ()
 
System::ArrayPtr< System::SharedPtr< Shape > > GetPrototypes ()
 Returns shapes from the layout and/or master slide that the current shape is inherited from. An empty array is returned if the current shape is not inherited. More...
 
System::SharedPtr< ShapeGetInheritedPlaceholder ()
 Returns shape from the layout and/or master slide that the current shape is inherited from. A null is returned if the current shape is not inherited. More...
 
System::SharedPtr< ShapeFrameGetSlideSpaceFrame ()
 
System::SharedPtr< ShapeFrameGetSlideSpaceFrame (System::SharedPtr< IShapeFrame > frameRect)
 
void SetSlideSpaceFrame (System::SharedPtr< ShapeFrame > value)
 
System::SharedPtr< PresentationML::Transform2D > SlideSpaceToRaw (System::SharedPtr< ShapeFrame > value)
 
virtual System::SharedPtr< ILineFormatEffectiveDataCreateLineFormatEffectiveImpl ()
 
virtual System::SharedPtr< IFillFormatEffectiveDataCreateFillFormatEffectiveImpl ()
 
virtual System::SharedPtr< IEffectFormatEffectiveDataCreateEffectFormatEffectiveImpl ()
 
virtual System::SharedPtr< IThreeDFormatEffectiveDataCreateThreeDFormatEffectiveImpl ()
 
 Shape (System::SharedPtr< IDOMObject > parentImmediate)
 
 Shape (System::SharedPtr< IDOMObject > parentImmediate, System::SharedPtr< UnsupportedProps::PPTXUnsupportedProps::ShapePPTXUnsupportedProps > pptxUnsupportedProps)
 
 Shape (System::SharedPtr< IDOMObject > parentImmediate, System::SharedPtr< UnsupportedProps::PPTXUnsupportedProps::ShapePPTXUnsupportedProps > pptxUnsupportedProps, System::SharedPtr< UnsupportedProps::PPTUnsupportedProps::ShapePPTUnsupportedProps > pptUnsupportedProps)
 
virtual void Draw (System::SharedPtr< Drawing::Canvas > canvas, System::SharedPtr< Drawing::RenderContext > rc, System::SharedPtr< InterruptionToken > interruptionToken)
 
virtual System::ArrayPtr< System::Drawing::PointFCreateConnectionPoints ()
 Returns connection points array or null. More...
 
virtual System::ArrayPtr< float > CreateConnectionDirections ()
 Returns array of connection angle directions in degree or null. More...
 
virtual void ZOrder (ZOrderCmd cmd)
 Moves the shape in front of or behind other shapes in the collection (that is, changes the shape's position in the z-order). More...
 
void SetUniqueId (System::String value)
 Tries to sets shape unique id value. If value is not uint then generates new unique value. If value is uint and presentation already contains other shape with this value, then will be generated new unique value. More...
 
void SetShapeId (uint32_t id)
 Initialize Shape ID once. If call this method more then one time it raize exception. More...
 
void RedefineShapeId (uint32_t id)
 
uint32_t CreateShapeId ()
 
virtual void ScaleGeometry (float scalingCoefX, float scalingCoefY, float scalingContentCoef)
 
virtual void LocateGeometry (float locatingCoefX, float locatingCoefY)
 
void ScaleSizes (float scalingCoefX, float scalingCoefY, float scalingContentCoef)
 
virtual void ProcessFitShapeToText ()
 Calculates required size for shape's textframe and More...
 
virtual void ConfirmTextFrameIsFittedToShape ()
 This method used for optimization purposes. When size/position/text of TextFrame is changed or size/position of shape is changed then size/position of shape and TextFrame will be fitted one to other. This "fitting" procedure get many resources and if you know that size/position of shape and TextFrame are already matched one to other than you can cancel upcoming "fitting" procedure with calling this ConfirmTextFrameIsFittedToShape() method. Cancelling will be performed one time, not permanent - this mean that if for example TextFrame will be changed in future then "fitting" procedure will become upcoming again. More...
 
void Changed_OldMode ()
 
virtual void ShapeSizeUpdated ()
 
virtual void BeforeRemove ()
 
void ResetFrame ()
 
void SetParent (System::SharedPtr< IDOMObject > parentImmediate)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. More...
 
- Static Public Member Functions inherited from Aspose::Slides::Shape
static System::SharedPtr< PresentationML::Transform2D > _anonymous_method_0 ()
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Impleemnts C# typeof(System.Object) construct. More...
 
- Protected Types inherited from Aspose::Slides::Shape
template<typename T >
using Get = System::MulticastDelegate< T()>
 
using ParameterlessShapeEvent = System::MulticastDelegate< void(System::SharedPtr< Shape >)>
 
- Static Protected Member Functions inherited from Aspose::Slides::Shape
static System::SharedPtr< Aspose::Foundation::Drawing::DrMatrix > CalcTransform (System::SharedPtr< IShapeFrame > frame)
 
static bool IsClockwise (float x1, float y1, float x2, float y2, float x3, float y3)
 

Detailed Description

Represents an graphic chart on a slide.

Constructor & Destructor Documentation

◆ Chart()

Aspose::Slides::Charts::Chart::Chart ( System::SharedPtr< ShapeCollection parentImmediate,
ChartType  type 
)
protected

Member Function Documentation

◆ CanDrawNewMode() [1/2]

bool Aspose::Slides::Charts::Chart::CanDrawNewMode ( )
protected

◆ CanDrawNewMode() [2/2]

bool Aspose::Slides::Charts::Chart::CanDrawNewMode ( ChartType  type)
protected

◆ CreateThemeEffective()

System::SharedPtr<Aspose::Slides::Theme::IThemeEffectiveData> Aspose::Slides::Charts::Chart::CreateThemeEffective ( )
virtual

Returns an effective theme for this chart.

Implements Aspose::Slides::Theme::IThemeable.

◆ DefineFontColor()

System::Drawing::Color Aspose::Slides::Charts::Chart::DefineFontColor ( System::SharedPtr< IChartTextFormat textFormatOfAutoText,
System::Drawing::Color  colorToSet 
)
protected

◆ DefineFontProperties()

System::SharedPtr<System::Drawing::Font> Aspose::Slides::Charts::Chart::DefineFontProperties ( System::SharedPtr< IChartTextFormat textFormatOfAutoText)
protected

◆ Draw()

virtual void Aspose::Slides::Charts::Chart::Draw ( System::SharedPtr< Aspose::Slides::Drawing::Canvas >  canvas,
System::SharedPtr< Aspose::Slides::Drawing::RenderContext >  rc,
System::SharedPtr< InterruptionToken interruptionToken 
)
protectedvirtual

◆ get_Axes()

System::SharedPtr<IAxesManager> Aspose::Slides::Charts::Chart::get_Axes ( )
virtual

Provide access to chart axes. Read-only IAxesManager.

Implements Aspose::Slides::Charts::IChart.

◆ get_BackWall()

System::SharedPtr<IChartWall> Aspose::Slides::Charts::Chart::get_BackWall ( )
virtual

Returns an object which allows to change format of the back wall of a 3D chart. Read-only IChartWall.

Implements Aspose::Slides::Charts::IChart.

◆ get_Chart()

System::SharedPtr<IChart> Aspose::Slides::Charts::Chart::get_Chart ( )
virtual

Returns the chart. Read-only IChart.

Implements Aspose::Slides::Charts::IChartComponent.

◆ get_ChartData()

System::SharedPtr<IChartData> Aspose::Slides::Charts::Chart::get_ChartData ( )
virtual

Returns information about the linked or embedded data associated with a chart. Read-only IChartData.

Implements Aspose::Slides::Charts::IChart.

◆ get_ChartDataTable()

System::SharedPtr<IDataTable> Aspose::Slides::Charts::Chart::get_ChartDataTable ( )
virtual

Returns a data table of a chart. Read-only IDataTable.

Implements Aspose::Slides::Charts::IChart.

◆ get_ChartTitle()

System::SharedPtr<IChartTitle> Aspose::Slides::Charts::Chart::get_ChartTitle ( )
virtual

Returns a chart title. Read-only IChartTitle.

Implements Aspose::Slides::Charts::IChart.

◆ get_ColorMappingOverride()

System::SharedPtr<Aspose::Slides::Theme::ColorMapping> Aspose::Slides::Charts::Chart::get_ColorMappingOverride ( )
protected

Relates to "CT_ChartSpace.clrMapOvr" elements defined in "dml-chart.xsd" schema file.

Represents color mapping information. It is used to override the applications color mapping if the user has selected keep source formatting after a copy-paste.

◆ get_DefaultStyles()

System::SharedPtr<ChartDefaultStyles> Aspose::Slides::Charts::Chart::get_DefaultStyles ( )
protected

◆ get_DisplayBlanksAs()

DisplayBlanksAsType Aspose::Slides::Charts::Chart::get_DisplayBlanksAs ( )
virtual

Returns the way to plot blank cells on a chart. Read DisplayBlanksAsType.

Implements Aspose::Slides::Charts::IChart.

◆ get_Floor()

System::SharedPtr<IChartWall> Aspose::Slides::Charts::Chart::get_Floor ( )
virtual

Returns an object which allows to change format of the floor of a 3D chart. Read-only IChartWall.

Implements Aspose::Slides::Charts::IChart.

◆ get_HasDataTable()

bool Aspose::Slides::Charts::Chart::get_HasDataTable ( )
virtual

Determines whether a chart has a data table. Read bool.

Implements Aspose::Slides::Charts::IChart.

◆ get_HasLegend()

bool Aspose::Slides::Charts::Chart::get_HasLegend ( )
virtual

Determines whether a chart has a legend. Read bool.

Implements Aspose::Slides::Charts::IChart.

◆ get_HasRoundedCorners()

bool Aspose::Slides::Charts::Chart::get_HasRoundedCorners ( )
virtual

Specifies the chart area shall have rounded corners. Read bool.

Implements Aspose::Slides::Charts::IChart.

◆ get_HasTitle()

bool Aspose::Slides::Charts::Chart::get_HasTitle ( )
virtual

Determines whether a chart has a visible title. Read bool.

Implements Aspose::Slides::Charts::IChart.

◆ get_Legend()

System::SharedPtr<ILegend> Aspose::Slides::Charts::Chart::get_Legend ( )
virtual

Returns a legend for a chart. Read-only ILegend.

Implements Aspose::Slides::Charts::IChart.

◆ get_PlotArea()

System::SharedPtr<IChartPlotArea> Aspose::Slides::Charts::Chart::get_PlotArea ( )
virtual

Represents the plot area of a chart. Read-only IChartPlotArea.

Implements Aspose::Slides::Charts::IChart.

◆ get_PlotVisibleCellsOnly()

bool Aspose::Slides::Charts::Chart::get_PlotVisibleCellsOnly ( )
virtual

Determines whether the only visible cells are plotted. False to plot both visible and hidden cells. Read bool.

Implements Aspose::Slides::Charts::IChart.

◆ get_PPTXUnsupportedProps()

System::SharedPtr<Aspose::Slides::UnsupportedProps::PPTXUnsupportedProps::Charts::ChartPPTXUnsupportedProps> Aspose::Slides::Charts::Chart::get_PPTXUnsupportedProps ( )
protected

◆ get_Rotation3D()

System::SharedPtr<IRotation3D> Aspose::Slides::Charts::Chart::get_Rotation3D ( )
virtual

Returns a 3D rotation of a chart. Read-only IRotation3D.

Implements Aspose::Slides::Charts::IChart.

◆ get_SeriesColors()

System::ArrayPtr<System::Drawing::Color> Aspose::Slides::Charts::Chart::get_SeriesColors ( )
protected

◆ get_ShowDataLabelsOverMaximum()

bool Aspose::Slides::Charts::Chart::get_ShowDataLabelsOverMaximum ( )
virtual

Specifies data labels over the maximum of the chart shall be shown. Read bool.

Implements Aspose::Slides::Charts::IChart.

◆ get_SideWall()

System::SharedPtr<IChartWall> Aspose::Slides::Charts::Chart::get_SideWall ( )
virtual

Returns an object which allows to change format of the side wall of a 3D chart. Read-only IChartWall.

Implements Aspose::Slides::Charts::IChart.

◆ get_Style()

StyleType Aspose::Slides::Charts::Chart::get_Style ( )
virtual

Returns the chart style. Read StyleType.

Implements Aspose::Slides::Charts::IChart.

◆ get_TextFormat()

System::SharedPtr<IChartTextFormat> Aspose::Slides::Charts::Chart::get_TextFormat ( )
virtual

Returns chart text format. Read-only IChartTextFormat.

Implements Aspose::Slides::Charts::IFormattedTextContainer.

◆ get_ThemeManager()

System::SharedPtr<Aspose::Slides::Theme::IOverrideThemeManager> Aspose::Slides::Charts::Chart::get_ThemeManager ( )
virtual

Returns theme manager. Read-only IOverrideThemeManager.

Implements Aspose::Slides::Theme::IOverrideThemeable.

◆ get_Type()

ChartType Aspose::Slides::Charts::Chart::get_Type ( )
virtual

Returns the chart type. Read ChartType.

Implements Aspose::Slides::Charts::IChart.

◆ get_UserShapes()

System::SharedPtr<IGroupShape> Aspose::Slides::Charts::Chart::get_UserShapes ( )
virtual

Specify the shapes drawn on top of the chart. Read-only IGroupShape.

Implements Aspose::Slides::Charts::IChart.

◆ GetFromChartSchemeColor()

System::Drawing::Color Aspose::Slides::Charts::Chart::GetFromChartSchemeColor ( ColorSchemeIndex  colorSchemeIndex)
protected

◆ MixedChartIsSupported()

bool Aspose::Slides::Charts::Chart::MixedChartIsSupported ( )
protected

◆ Reset()

virtual void Aspose::Slides::Charts::Chart::Reset ( )
protectedvirtual

Sets all formats to NotDefined state. For shapes with placeholders this will cause default state.

Reimplemented from Aspose::Slides::Shape.

◆ set_DisplayBlanksAs()

void Aspose::Slides::Charts::Chart::set_DisplayBlanksAs ( DisplayBlanksAsType  value)
virtual

Sets the way to plot blank cells on a chart. Write DisplayBlanksAsType.

Implements Aspose::Slides::Charts::IChart.

◆ set_HasDataTable()

void Aspose::Slides::Charts::Chart::set_HasDataTable ( bool  value)
virtual

Determines whether a chart has a data table. Write bool.

Implements Aspose::Slides::Charts::IChart.

◆ set_HasLegend()

void Aspose::Slides::Charts::Chart::set_HasLegend ( bool  value)
virtual

Determines whether a chart has a legend. Write bool.

Implements Aspose::Slides::Charts::IChart.

◆ set_HasRoundedCorners()

void Aspose::Slides::Charts::Chart::set_HasRoundedCorners ( bool  value)
virtual

Specifies the chart area shall have rounded corners. Write bool.

Implements Aspose::Slides::Charts::IChart.

◆ set_HasTitle()

void Aspose::Slides::Charts::Chart::set_HasTitle ( bool  value)
virtual

Determines whether a chart has a visible title. Write bool.

Implements Aspose::Slides::Charts::IChart.

◆ set_PlotVisibleCellsOnly()

void Aspose::Slides::Charts::Chart::set_PlotVisibleCellsOnly ( bool  value)
virtual

Determines whether the only visible cells are plotted. False to plot both visible and hidden cells. Write bool.

Implements Aspose::Slides::Charts::IChart.

◆ set_ShowDataLabelsOverMaximum()

void Aspose::Slides::Charts::Chart::set_ShowDataLabelsOverMaximum ( bool  value)
virtual

Specifies data labels over the maximum of the chart shall be shown. Write bool.

Implements Aspose::Slides::Charts::IChart.

◆ set_Style()

void Aspose::Slides::Charts::Chart::set_Style ( StyleType  value)
virtual

Sets the chart style. Write StyleType.

Implements Aspose::Slides::Charts::IChart.

◆ set_Type()

void Aspose::Slides::Charts::Chart::set_Type ( ChartType  value)
virtual

Sets the chart type. Write ChartType.

Implements Aspose::Slides::Charts::IChart.

◆ ValidateChartLayout()

void Aspose::Slides::Charts::Chart::ValidateChartLayout ( )
virtual

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)

Implements Aspose::Slides::Charts::IChart.

◆ ValidateConsistencyOf_ChartType_SeriesType()

void Aspose::Slides::Charts::Chart::ValidateConsistencyOf_ChartType_SeriesType ( )
protected