[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Chart.SpreadChart

SpreadChart Class

Represents a chart instance in Spread.

Inheritance
SpreadChart
Namespace: FarPoint.Web.Spread.Chart
Assembly: FarPoint.Web.Spread.dll
Syntax
public class SpreadChart : FpChart, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackEventHandler, IPostBackDataHandler, ICanSerializeXml, ISerializeSupport, INamingContainer, ICloneable
Public Class SpreadChart
    Inherits FpChart
    Implements IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackEventHandler, IPostBackDataHandler, ICanSerializeXml, ISerializeSupport, INamingContainer, ICloneable

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 SpreadChart 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
BorderColor

Gets or sets the border color of the web SpreadChart.

BorderStyle

Gets or sets the border style of the web SpreadChart.

BorderWidth

Gets or sets the border width of the web SpreadChart.

CanChangeChartType

Gets a value that indicates whether the chart type can be changed.

CanChangeChartViewType

Gets a value that indicates whether the chart type can be changed.

CanMove

Gets or sets whether the chart can be moved.

CanPrint

Gets or sets whether to print the current Chart when printing.

CanSelect

Gets or sets whether the chart can be selected.

CanSize

Gets or sets whether the chart can be resized.

CanSwitchRowColumn

Gets a value that indicates 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.

DataFormula

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

DataSetting

Gets or sets the data setting of the current SpreadChart.

Formula

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

ID

Gets or sets the programmatic identifier assigned to the SpreadChart control.

Left

Gets or sets the X-coordinate of the chart.

Model

Gets or sets the ChartModel.

PageIndex

Gets or sets a page index which the current chart is displayed in.

SelectedCssClass

Gets or sets the CSS class name for the selected SpreadChart.

SeriesNameFormula

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

Top

Gets or sets the Y-coordinate of the chart.

Visible

Gets or sets a value that indicates whether a SpreadChart is rendered as UI on the page.

ZIndex

Gets or sets the ZIndex of the chart.

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)

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

Clone()

Creates and returns a copy of the object.

CreateChart2DRenderer()

Creates a chart renderer in 2D.

CreateChart3DRenderer()

Creates a chart renderer in 3D.

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

Generates a chart from cell ranges.

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

Generates a chart from cell ranges.

GenerateFromCellRanges(SheetView, CellRange[], bool)

Generates a chart from cell ranges.

Gets the map area post back client hyperlink.

LoadControlState(object)

Restores control-state information from a previous page request that was saved by the SaveControlState() method.

MoveToSheetView(string)

Moves the current chart to a new sheet view.

MoveToSheetView(string, bool)

Moves the current chart to the new sheet view.

OnBeforeRenderMapAreas(BeforeRenderMapAreasEventArgs)

Raises the BeforeRenderMapAreas event of the FpChart control.

OnPreRender(EventArgs)

Registers script reference if it is needed and raises the PreRender event.

RegisterScriptReference()

Registers script reference when needed to handle the Client event.

Render(HtmlTextWriter)

Renders the control to the specified HTML writer.

RenderAreaMaps(HtmlTextWriter)

Renders image maps.

RenderImageClickClientScript(HtmlTextWriter)

Renders client script for image click event.

SaveControlState()

Saves any server control view-state changes that have occurred since the time the page was posted back to the server.

SwitchRowColumn()

Switches the row and column of the chart.