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