[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Chart.SpreadChart

SpreadChart Class

Represent a chart instance in Spread.

Namespace: FarPoint.Win.Spread.Chart
Assembly: FarPoint.Win.Spread.dll
Syntax
[TypeConverter(typeof(_ahy))]
[ToolboxBitmap(typeof(SpreadChart), "SpreadChart.ico")]
public class SpreadChart : ChartShape, IDeserializationCallback, IPdfSupportPSObject, ISerializable, IComponent, IDisposable, ISerializeSupport, IDynamicName
<TypeConverter(GetType(_ahy))>
<ToolboxBitmap(GetType(SpreadChart), "SpreadChart.ico")>
Public Class SpreadChart
    Inherits ChartShape
    Implements IDeserializationCallback, IPdfSupportPSObject, ISerializable, IComponent, IDisposable, ISerializeSupport, IDynamicName

Constructors

Name Description
SpreadChart()

Initializes a new instance of the SpreadChart class.

SpreadChart(string, string, string, Type)

Initializes a new instance of the SpreadChart class.

SpreadChart(string, string, string, Type, Point, Size)

Initializes a new instance of the SpreadChart class.

SpreadChart(string, string, string, Type, Point, Size, ChartViewType, bool)

Initializes a new instance of the SpreadChart class.

SpreadChart(string, Type)

Initializes a new instance of the SpreadChart class.

SpreadChart(string, Type, Point, Size)

Initializes a new instance of the SpreadChart class.

SpreadChart(string, Type, Point, Size, ChartViewType, bool)

Initializes a new instance of the SpreadChart class.

SpreadChart(Type)

Initializes a new instance of the FpChart class.

SpreadChart(Type, ChartViewType)

Initializes a new instance of the SpreadChart class.

SpreadChart(Type, ChartViewType, Point, Size)

Initializes a new instance of the SpreadChart class.

Properties

Name Description
AllowShowIndicator

Gets or sets a value indicating whether Spread can show the chart indicator.

CanChangeChartType

Gets a value indicating whether the chart type can be changed.

CanMove

Gets or sets whether the user is allowed to move the object.

CanPrint

Gets or sets whether the container is allowed to print the object.

CanSize

Gets or sets whether the user is allowed to resize the object.

CanSwitchRowColumn

Gets a value indicating whether the user can switch the rows and columns of the chart.

CategoryFormula

Gets or sets the category formula. This action will re-build the chart's series.

ContextMenuStrip

Gets or sets the context menu strip for SpreadChart.

DataFormula

Gets or sets the data formula. This action will re-build the chart's series.

DataSetting

Gets or sets the data setting of SpreadChart.

DynamicMove

Gets or sets whether the object moves when hiding or showing, resizing, or moving rows or columns.

DynamicSize

Gets or sets whether the size of the object changes when hiding or showing, resizing, or moving rows or columns.

Formula

Gets or sets the formula of chart. This action will re-build the chart's series.

Height

Gets or sets the height of the object.

Left

Gets or sets the X-coordinate of the object.

Location

Gets or sets the location of the object.

Locked

Gets or sets whether the object is marked as locked.

Model

Gets or sets the chart model.

Name

Gets or sets the name of the element.

Rectangle

Gets the rectangular coordinates of the element.

Selectable

Gets or sets whether can select.

SeriesNameFormula

Gets or sets the series name formula. This action will re-build the chart's series.

SheetView

Gets or sets the sheet view.

Size

Gets or sets the size of the object.

Top

Gets or sets the Y-coordinate of the object.

Visible

Gets or sets whether the object is visible.

Width

Gets or sets the width of the object.

Methods

Name Description
CanChangeSeriesType(Series)

Determines whether this instance can change the series type of the specified source series.

ChangeChartType(ChartModel)

Changes the type of the chart.

ChangeSeriesType(Series, Series)

Changes the type of the series.

Clone()

Creates and returns a copy of the object.

CreateNewInstance()

Creates the new instance.

Delete()

Delete this Object.

Deselect(bool)

Hidden selection indicator.

Dispose(bool)

Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.

GenerateFromCellRanges(SheetView, CellRange, CellRange, CellRange, bool)

Generates from cell ranges.

GenerateFromCellRanges(SheetView, CellRange, CellRange, CellRange, bool, bool)

Generates from cell ranges.

GenerateFromCellRanges(SheetView, CellRange[], bool)

Generates from cell ranges.

GetDisplayLocationContextMenu(ContextMenuStrip, Point)

Gets the preferred display location context menu.

GetSeriesDataPointTooltip(Series, int)

Gets the series tooltip value.

GetSeriesDataPointTooltip(Series, int, int)

Gets the series tooltip value.

MoveToSheetView(string)

Moves the current chart to the new sheet view.

MoveToSheetView(string, bool)

Moves the current chart to the new sheet view.

OnChartActionComplete(object, UndoRedoEventArgs)

Called when the user finishes performing an action in the Chart control.

OnChartSelectionChanged(object, EventArgs)

Called when the user selects an element in the chart.

OnMouseDown(MouseEventArgs)

Raises the MouseDown event.

OnMouseUp(MouseEventArgs)

Raises the MouseUp event.

OnOpeningContextMenuStrip(ContextMenuStripEventArgs)

Called when the context menu strip is opening.

ProcessDialogKey(Keys)

Processes the dialog key.

ProcessMouseMove(MouseEventArgs, bool, ref object)

Processes when the mouse cursor is moving.

SetBounds(Rectangle)

Sets the bounds of the element to the location and size of the specified bounding rectangle object (with integer values).

SetBounds(RectangleF)

Sets the bounds of the element to the location and size of the specified bounding rectangle object (with floating-point values).

SetBounds(int, int, int, int)

Sets the bounds of the object to the specified position and size.

ShowChartDesigner()

Shows the chart designer.

SwitchRowColumn()

Switches the row and column of the chart.

Events

Name Description
SeriesExpanded

Occurs when new series is added by expanding spreadchart data range on UI