ShapeList
AppendChart Method (ChartType, RectangleF)
|
Adds a new chart.init chart use default data
Namespace:
Spire.Presentation.Collections
Assembly:
Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public IChart AppendChart(
ChartType type,
RectangleF rectangle
)
Public Function AppendChart (
type As ChartType,
rectangle As RectangleF
) As IChart
public:
IChart^ AppendChart(
ChartType type,
RectangleF rectangle
)
member AppendChart :
type : ChartType *
rectangle : RectangleF -> IChart
Parameters
-
type
-
Type:
Spire.Presentation.Charts
ChartType
Chart type
-
rectangle
-
Type:
System.Drawing
RectangleF
rectangle should be inserted.
Return Value
Type:
IChart
See Also