Class FloatingChartShape
Floating shape that embeds a chart within a worksheet, supporting visual data representation with positioning and sizing.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.Shapes
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class FloatingChartShape : FloatingResizableShapeBase, ICopyable<FloatingShapeBase>
Constructors
FloatingChartShape(Worksheet, CellIndex, CellRange, ChartType[])
Initializes a new instance of the FloatingChartShape class.
Declaration
public FloatingChartShape(Worksheet worksheet, CellIndex cellIndex, CellRange chartDataRange, params ChartType[] chartTypes)
Parameters
|
Worksheet
worksheet
The worksheet that the shape is associated with. |
|
CellIndex
cellIndex
The cell index where the top left corner of the shape is positioned. |
|
CellRange
chartDataRange
The range containing the chart data. |
|
ChartType[]
chartTypes
The types of chart that will be created. Passing more than one type will create a combo chart. |
FloatingChartShape(Worksheet, CellIndex, CellRange, SeriesRangesOrientation, ChartType[])
Initializes a new instance of the FloatingChartShape class.
Declaration
public FloatingChartShape(Worksheet worksheet, CellIndex cellIndex, CellRange chartDataRange, SeriesRangesOrientation seriesRangesOrientation, params ChartType[] chartTypes)
Parameters
|
Worksheet
worksheet
The worksheet that the shape is associated with. |
|
CellIndex
cellIndex
The cell index where the top left corner of the shape is positioned. |
|
CellRange
chartDataRange
The range containing the chart data. |
|
SeriesRangesOrientation
seriesRangesOrientation
A value indicating whether the series of the chart will refer to vertical or horizontal ranges or the direction will be determined automatically. |
|
ChartType[]
chartTypes
The types of chart that will be created. Passing more than one type will create a combo chart. |
Properties
Chart
Gets or sets the chart displayed by this shape, defining all visual and data series.
Declaration
public DocumentChart Chart { get; set; }
Property Value
|
DocumentChart
|
Fill
Gets or sets the background fill styling for the chart shape.
Declaration
public Fill Fill { get; set; }
Property Value
|
Fill
|
FloatingShapeType
Gets the shape type, always Chart for this shape.
Declaration
public override FloatingShapeType FloatingShapeType { get; }
Property Value
|
FloatingShapeType
|
Overrides
Outline
Gets the border outline styling for the chart shape.
Declaration
public Outline Outline { get; }
Property Value
|
Outline
|