[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Chart.ChartShape

ChartShape Class

Represents an abstract class which contains the most basic behavior for SpreadChart.

Namespace: FarPoint.Win.Spread.Chart
Assembly: FarPoint.Win.Spread.dll
Syntax
public abstract class ChartShape : PSShape, ISerializeSupport, IDeserializationCallback, IPdfSupportPSObject, ISerializable, IComponent, IDisposable
Public MustInherit Class ChartShape
    Inherits PSShape
    Implements ISerializeSupport, IDeserializationCallback, IPdfSupportPSObject, ISerializable, IComponent, IDisposable

Constructors

Name Description
ChartShape()

Initializes a new instance of the FpChart class. The created chart will be displayed in 2D view.

ChartShape(ChartViewType)

Initializes a new instance of the FpChart class.

Fields

Name Description
BORDER_5

Properties

Name Description
Border

Gets or sets the border for the element.

ChartName

Gets or sets the name of the chart.

Left

Gets or sets the X-coordinate of the object.

Model

Gets or sets the chart model.

Parent

Internal use only.

Rectangle

Gets the rectangular coordinates of the element.

SelectedObject

Gets or sets the selected object. Could be a plot area, legend area, label area or series info.

ShapeOutlineColor

Gets or sets the shape outline color for the object.

ShapeOutlineStyle

Gets or sets the shape outline style for the object.

ShapeOutlineThickness

Gets or sets the shape outline thickness for the object.

SheetView

Gets or sets the sheet view.

Site

Gets or sets the System.ComponentModel.ISite associated with the IComponent.

Top

Gets or sets the Y-coordinate of the object.

ViewType

Gets or sets whether the chart is rendered in 2D or 3D.

Methods

Name Description
Clone()

Creates and returns a copy of the object.

CreateNewInstance()

Creates a new instance of ChartShape class.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(bool)

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

DoMove(Point)

Allows the object to be moved.

DoSize(int, Point)

Allows the object to be sized.

OnChanged(object, EventArgs)

Raises the Changed event when the element has changed.

OnChartActionComplete(object, UndoRedoEventArgs)

Called when user finish performing something in Chart control.

OnChartActionPerforming(object, UndoRedoCancelEventArgs)

Called when user's performing something in Chart control.

OnChartSelectionChanged(object, EventArgs)

Called when user select a different element in chart.

OnKeyDown(KeyEventArgs)

Raises the KeyDown event.

OnKeyUp(KeyEventArgs)

Raises the KeyUp event.

OnMouseDown(MouseEventArgs)

Raises the MouseDown event.

OnMouseMove(MouseEventArgs)

MouseMove processing.

OnMouseUp(MouseEventArgs)

Raises the MouseUp event.

OnOpeningContextMenuStrip(ContextMenuStripEventArgs)

Called when the context menu strip is opened.

OnPaint(Graphics, Rectangle)

Initiates a redraw for the object to repaint itself.

OnPropertyChanged(object, PropertyChangedEventArgs)

Raises the PropertyChanged event when the property on an element has changed.

PaintGrabHandles(Graphics, Rectangle)

Draws the handles for sizing.

ProcessDialogKey(Keys)

Processes the dialog key.

ProcessMouseMove(MouseEventArgs, bool, ref object)

Processes when the mouse cursor is moving.

ProcessMouseUp(MouseEventArgs)

MouseUp processing.

Refresh()

Forces the element to invalidate its client area and immediately repaint.

Refresh(bool)

Refreshes the specified force.

RenderImage()

Renders the chart's image to a bitmap and return this bitmap.

SetBoundsFloat(float, float, float, float, bool, bool)

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

ShouldSerializeShapeOutlineColor()

Determines if the shape outline color should be serialized.

ShouldSerializeShapeOutlineStyle()

Determines if the shape outline style should be serialized.

ShouldSerializeShapeOutlineThickness()

Determines if the shape outline thickness should be serialized.

SizeRegion(float, float, float, float)

Resizes the region.

Events

Name Description
ActionDoing

Occurs when on performing actions such as move, resize, delete, cut and paste.

ActionDone

Occurs when on actions done such as move, resize, delete, cut and paste.

Disposed

Adds an event handler to listen to the FarPoint.Win.Spread.Chart.SpreadChart.Disposed event on the SpreadChart.

OpeningContextMenuStrip

Occurs when opening context menu strip.

SelectionChanged

Occurs when the selection changed.