MindFusion WinForms Programmer's Guide
LineChart Members
Constructors Properties Methods Events
 


A class specified for drawing line, area, bubble and scatter charts.

The following tables list the members exposed by the LineChart type.

 Public Constructors

  Name Description

LineChart

Creates a new instance of the LineChart class.

 Public Properties

  Name Description

AltGridBrush

Gets or sets the alternative brush for drawing the chart's grid. (Inherited from AxesChart.)

AxisPen

Gets or sets the pen, which is used to draw the chart axes. (Inherited from AxesChart.)

AxisShadowBrush

Gets or sets the brush, which is used when drawing the shadow of the chart axes. (Inherited from AxesChart.)

BackColor

Gets or sets the background color for the Chart control. (Inherited from Chart.)

BackgroundBrush

Specifies the brush for the chart background. (Inherited from Chart.)

Behavior

Gets or sets a value indicating how the control responds to user actions. (Inherited from AxesChart.)

BkgrImagePos

gets or sets the position and alignment of the chart background image. (Inherited from Chart.)

BorderCornerRadius

Gets or sets the radius for the border of the control, when the type is RoundedRect. (Inherited from Chart.)

BorderType

Gets or sets the type of the border for the control. (Inherited from Chart.)

CalculateFunction

Invokes a custom function that calculates the values for the chart.

ChartBrushes

Specifies the brushes used to draw the charts. (Inherited from Chart.)

ChartImage

Gets or sets the image drawn as background for the chart's plot area. (Inherited from Chart.)

ChartImagePos

Gets or sets the position of the image drawn as background of the chart's plot area. (Inherited from Chart.)

ChartMargins

Gets or sets the margins around the chart. (Inherited from Chart.)

ChartPens

Specifies the pens for the charts. (Inherited from Chart.)

ChartSize

Gets the size of the chart. (Inherited from Chart.)

Curve

Gets or sets whether lines in line charts are drawn like curves.

CurveFit

Gets or sets whether curve fitting is used in drawing the chart.

DataMember

Gets or sets the table used for data binding when the data source is set to a DataSet object. (Inherited from Chart.)

DataSource

Gets or sets a data source containing the values to be drawn. (Inherited from Chart.)

Depth3D

Gets or sets the shadow depth for 3D charts. (Inherited from AxesChart.)

DistBtwSeries

Gets or sets the distance among chart series. (Inherited from AxesChart.)

Effects

Gets a collection with all effects applied to the elements of this chart. (Inherited from Chart.)

EmptyBrush

Gets an empty 'unset' brush to indicate a neutral value when a Brush property should be reset and themes are used. (Inherited from Chart.)

EmptyPen

Gets an empty 'unset' pen to indicate a neutral value when a Pen property should be reset and themes are used. (Inherited from Chart.)

FontName

Gets or sets the name of the font for all chart labels. (Inherited from Chart.)

FunctionArguments

Gets or sets the FunctionArgs argument of the CalculateFunctionDelegate delegate.

GridBrush

Gets or sets the brush for filling odd grid stripes. (Inherited from AxesChart.)

GridLabelOffset

Gets or sets the offset of grid labels. (Inherited from AxesChart.)

GridLabelPointer

Gets or sets the length of the pointer to the grid labels. (Inherited from AxesChart.)

GridLabelsAtLines

Gets or sets the position of grid labels. (Inherited from AxesChart.)

GridPen

Specifies the pen for drawing the chart grid. (Inherited from AxesChart.)

GridType

Gets or sets the type of the chart grid. (Inherited from AxesChart.)

GridWidth

Gets or sets the distance between adjacent grid points in chess grids. (Inherited from AxesChart.)

HandleEmptyValue

Gets or sets how empty values are handled. (Inherited from Chart.)

HitTestOffset

Gets or sets the radius of the area that, when clicked, will be treated as a click to the point that is its center. (Inherited from AxesChart.)

HorGridBrushes

Gets or sets the brushes for drawing horizontal grid stripes in custom grids. (Inherited from AxesChart.)

HorGridPens

Gets or sets the pens for drawing horizontal grid stripes in custom grids. (Inherited from AxesChart.)

HorGridPoints

Gets or sets the positions of horizontal lines in custom grids. (Inherited from AxesChart.)

Horizontal

Gets or sets the orientation of the chart. (Inherited from AxesChart.)

LabelAlignment

Gets or sets the alignment of chart labels.

LabelBorder

Gets or sets the type border drawn around the data point label.

LabelBorderBackground

Gets or sets the brush for filling the background of the label border.

LabelBorderMargin

Gets or sets the margin between the label and its border.

LabelBorderOutline

Gets or sets the pen for drawing the outline of the label border.

LabelBrush

Specifies the brush that is used for drawing chart labels. (Inherited from Chart.)

LabelCustomFormat

Gets or sets the format for labels when LabelFormat is set to Custom.

LabelFont

Specifies the font for drawing the chart labels. (Inherited from Chart.)

LabelFormat

Gets or sets the format of the labels drawn at data points.

Labels

Gets or sets custom labels drawn at chart data points.

LabelsFields

Gets or sets the field in the data source when the data for the bubble labels is derived from a database.

LabelType

Gets or sets the type of chart labels.

LegendAlignment

Gets or sets the alignment of the legend. (Inherited from Chart.)

LegendBackgroundBrush

Gets or sets the legend background brush. (Inherited from Chart.)

LegendBorder

Gets or sets the type of the legend border. (Inherited from Chart.)

LegendBorderMargin

Gets or sets the margin between the legend border and the legend labels. (Inherited from Chart.)

LegendBrush

Gets or sets the brush for the legend's bounding rectangle. (Inherited from Chart.)

LegendColumns

Gets or sets the count of columns in the chart legend. (Inherited from Chart.)

LegendFont

Gets or sets the font for the chart legend. (Inherited from Chart.)

LegendGridType

Gets or sets the type of the legend grid. (Inherited from Chart.)

LegendLabels

Gets or sets the labels for the legend. (Inherited from Chart.)

LegendOffset

Gets or sets the offset of the chart legend. (Inherited from Chart.)

LegendPen

Gets or sets the pen for the legend's bounding rectangle. (Inherited from Chart.)

LegendPosition

Gets or sets the position of the chart legend. (Inherited from Chart.)

LegendWidth

Gets or sets the width of the legend's rectangle. (Inherited from Chart.)

LegendWordWrap

Gets or sets whether the words of the legend labels are wrapped. (Inherited from Chart.)

LicenseKey

Gets or sets the license key of the control. (Inherited from Chart.)

LineType

Gets or set the type of the line chart.

MaxBubbleRadius

Gets or sets the radius length of the biggest bubble.

MinBubbleRadius

Gets or sets the radius length of the smallest bubble.

MultiColored

Specifies whether the chart is drawn in one color or in different colors. (Inherited from Chart.)

MultiColoredLabels

Specifies whether labels at the chart axes are drawn in different colors. (Inherited from Chart.)

MultiColoredShapes

Gets or sets whether scatters in line charts are drawn in one color.

Offset

Gets or sets the offset from the zero point to the beginning of the chart graphics. (Inherited from AxesChart.)

Offset3D

Gets or sets the space at the axis before the first series in 3D charts. (Inherited from AxesChart.)

OutlinePen

Gets or sets the pen used for drawing the outline of the chart. (Inherited from Chart.)

PlotAreaBrush

Gets or sets the brush for filling the plot area. (Inherited from AxesChart.)

PlotAreaMargins

Gets or sets the margins of the plot area. (Inherited from AxesChart.)

PlotAreaOutlinePen

Gets or sets the pen for outlining the plot area. (Inherited from AxesChart.)

ResizeType

Gets or sets how the chart image is positioned in the control area. (Inherited from Chart.)

ShapeBrushes

Gets or sets the brushes, which are used for filling the point shapes in scatter charts.

ShapePens

Gets or sets the pens, which are used for outlining of point shapes in scatter charts.

Shapes

Gets or sets the shape of data points in scatter charts.

ShapeSizes

Gets or sets the size of point shapes drawn at scatter charts.

ShowToolTips

Gets or sets a value indicating whether tooltips are enabled. (Inherited from Chart.)

SortColor

Gets or sets whether colors are sorted when sorting is applied on series or data. (Inherited from AxesChart.)

SortOrder

Specifies the sort order of numbers in chart series. (Inherited from Chart.)

SortSeriesBy

Specifies the sort order of data series. (Inherited from Chart.)

SortXData

Gets or sets a value indicating whether to sort the series by x-value.

SortYData

Gets or sets a value indicating whether to sort the series by y-value.

Stacked

Gets or sets whether multi series charts are drawn stacked.

SubTitleBrush

Specifies the brush that is used for drawing the chart subtitle. (Inherited from Chart.)

SubTitleFont

Specifies the font, which is used to draw the chart subtitle.  (Inherited from Chart.)

SubTitleOffset

Gets or sets the offset of the chart's subtitle. (Inherited from Chart.)

SubTitleText

Specifies the text for the chart subtitle. (Inherited from Chart.)

SummaryBrushes

Gets or sets the brushes that are used for drawing summary parts in charts. (Inherited from AxesChart.)

SummaryPens

Gets or sets the pens for drawing summary parts. (Inherited from AxesChart.)

SummaryShapeBrushes

Gets or sets the brushes for drawing of point shapes at summary scatter charts.

SummaryShapePens

Gets or sets the pens for drawing shapes at summary scatter chart.

SummaryShapes

Gets or sets the shapes drawn at summary scatter charts.

SummaryShapeSizes

Gets or sets the size of point shapes drawn at summary scatter charts.

SummaryValues

Gets or sets the summary operations performed on chart data. (Inherited from AxesChart.)

TextRenderingHint

Specifies the quality, with which text is rendered. (Inherited from Chart.)

Theme

Gets or sets the style theme. (Inherited from Chart.)

TitleBrush

Specifies the brush that is used to draw the chart title. (Inherited from Chart.)

TitleFont

Specifies the font, which is used to draw the chart title. (Inherited from Chart.)

TitleOffset

Gets or sets the offset of the title. (Inherited from Chart.)

TitleText

Specifies the text for the chart title. (Inherited from Chart.)

ToolTipControl

Gets the control used to display the tool tips.
(Inherited from Chart.)

ToolTipDelay

Gets or sets the time that passes before a tool-tip appears when the mouse hovers over an item. (Inherited from Chart.)

ToolTipText

Gets or sets tool tip labels shown at chart elements. (Inherited from Chart.)

VertGridBrushes

Gets or sets the brushes for filling vertical stripes in custom grids. (Inherited from AxesChart.)

VertGridPens

Gets or sets the pens for drawing vertical grid lines in custom grids. (Inherited from AxesChart.)

VertGridPoints

Gets or sets the positions of vertical lines in custom grids. (Inherited from AxesChart.)

XAxisSettings

Gets or sets the appearance settings for the X-axis. (Inherited from AxesChart.)

XData

Gets or sets the numerical data, which is used for calculating the X - coordinates of line points.

XDataFields

Gets or sets  the field in the data source when the data for the X - chart values is derived from a database.

XGridLabelBrushes

Gets or sets the brushes for drawing labels at the X-axis in custom grids. (Inherited from AxesChart.)

XGridLabels

Gets or sets the labels drawn at the X-axis in custom grids. (Inherited from AxesChart.)

XGridLabelsOrientation

Gets or sets the orientation of grid labels at the X - axis. (Inherited from AxesChart.)

XLabels

Gets or sets custom labels drawn at the X-axis. (Inherited from AxesChart.)

XLabelsFields

Gets or sets the field of the data source used to populate the XLabels array. (Inherited from AxesChart.)

Y2AxisSettings

Gets or sets the appearance settings for the Y2-axis. (Inherited from AxesChart.)

Y2ChartBrushes

Gets or sets the brushes for drawing Y2-bound chart graphics. (Inherited from AxesChart.)

Y2ChartPens

Gets or sets the pens for drawing Y2 - bound chart graphics. (Inherited from AxesChart.)

Y2Data

Invokes a custom function that calculates the values for the chart. (Inherited from AxesChart.)

Y2DataFields

Gets or sets the field in the data source when the data for the Y2-chart values is derived from a database. (Inherited from AxesChart.)

Y2GridLabelBrushes

Gets or sets the brushes for drawing labels at the Y2-axis in custom grids. (Inherited from AxesChart.)

Y2GridLabels

Gets or sets the labels drawn at the Y2-axis in custom grids. (Inherited from AxesChart.)

Y2GridLabelsOrientation

Gets or sets the orientation of grid labels at the Y2 - axis. (Inherited from AxesChart.)

Y2Labels

Gets or sets custom labels for the second Y-axis. (Inherited from AxesChart.)

Y2LabelsFields

Gets or sets the field in the data source when the data for the Y2 - chart labels is derived from a database. (Inherited from AxesChart.)

Y2ScatterLabels

Gets or sets custom labels drawn at Y2 scatter shapes.

Y2ScatterLabelsFields

Gets or sets the names of fields in the data source used to populate the Y2ScatterLabels list.

Y2ShapeBrushes

Gets or sets the brushes for drawing of point shapes at Y2 scatter charts.

Y2ShapePens

Gets or sets the pens for drawing of point shapes at Y2 scatter charts.

Y2Shapes

Gets or sets the style of point shapes drawn at Y2 scatter charts.

Y2ShapeSizes

Gets or sets the size of point shapes drawn at Y2 lines.

YAxisSettings

Gets or set the appearance settings for the Y-axis. (Inherited from AxesChart.)

YData

Gets or sets the data, which is used to calculate the Y-coordinates of the chart points.

YDataFields

Gets or sets the field in the data source when the data for the Y - chart values is derived from a database.

YGridLabelBrushes

Gets or sets the brushes for drawing custom grid labels at the Y-axis. (Inherited from AxesChart.)

YGridLabels

Gets or sets custom grid labels at the Y-axis. (Inherited from AxesChart.)

YGridLabelsOrientation

Gets or sets the orientation of grid labels at the Y - axis. (Inherited from AxesChart.)

YLabels

Gets or sets the list of labels displayed along the Y axis. (Inherited from AxesChart.)

YLabelsFields

Gets or sets the field of the data source used to populate the YLabels array. (Inherited from AxesChart.)

ZoomCursor

Gets or sets the zoom cursor for the chart. (Inherited from Chart.)

 Protected Properties

  Name Description

DefaultSize

The initial size of the control when it is dropped into a form. (Inherited from Chart.)

 Public Methods

  Name Description

AddCustomSummary

Overloaded. Adds a value to the list of summary values that are drawn in the chart. (Inherited from AxesChart.)

BeginInit

Begins the run-time initialization of an instance of the LineChart class that is used on a form or by another component.

ClearData

Removes all labels and numerical data from the chart. (Inherited from Chart.)

ClearTheme

Resets all properties set by a given theme to their default values. (Inherited from Chart.)

CreateBitmap

Creates a GDI+ bitmap image representing the chart. (Inherited from Chart.)

CreateMetafile

Creates a WMF image containing the chart. (Inherited from Chart.)

DataBind

Binds the chart to the data source set in DataSource and DataMember. (Inherited from Chart.)

EndInit

Ends the run-time initialization of an instance of the LineChart class that is used on a form or by another component.

HitTest

Checks whether a point with the particular coordinates is contained inside a chart element. (Inherited from Chart.)

LoadFromXml

Overloaded. Loads the Chart from an XML document. (Inherited from Chart.)

LoadTheme

Overloaded.   (Inherited from Chart.)

RegisterClass

Registeres the class using the specified key. (Inherited from Chart.)

ResetThemeProperties

Resets all pens and brushes used by line charts to their default values.

ResetZoom

Resets a zoomed Chart to its original state. (Inherited from AxesChart.)

RunWizard

Starts the line chart wizard.

SaveTheme

Save the chart theme to an XML file. (Inherited from Chart.)

SaveToXml

Overloaded. Saves the Chart to an XML file. (Inherited from Chart.)

UnregisterClass

Called when the chart is unregistered. (Inherited from Chart.)

UpdatePoint

Updates the specified point.

UpdateScrollBars

Updates the scrollbar ranges so they correspond to the chart size. (Inherited from Chart.)

Zoom

Zooms the chart. (Inherited from AxesChart.)

ZoomOut

Resets a zoomed AxesChart one step back. (Inherited from AxesChart.)

 Protected Methods

  Name Description

Finalize

Destructor. (Inherited from Chart.)

IsEmptyList

Checks when a list has no members (Inherited from Chart.)

OnDataChanged

Invokes the DataChanged event.

OnDataChanging

Invokes the DataChanging event.

OnLayout

Control.OnLayout override. (Inherited from Chart.)

OnMouseDown

Control.OnMouseDown override. (Inherited from AxesChart.)

OnMouseEnter

Control.OnMouseLeave override. (Inherited from AxesChart.)

OnMouseLeave

Control.OnMouseLeave override. (Inherited from AxesChart.)

OnMouseMove

Control.OnMouseMove override. (Inherited from AxesChart.)

OnMouseUp

Control.OnMouseUp override. (Inherited from AxesChart.)

OnPaint

Control.OnPaint override. (Inherited from Chart.)

OnPaintBackground

Control.OnPainBackground override. (Inherited from Chart.)

OnResize

Control.OnResize override. (Inherited from Chart.)

OnScrollChanged

Raises the ScrollChanged event. (Inherited from Chart.)

UpdateChart

Overloaded. Redraws the chart. (Inherited from Chart.)

 Public Events

  Name Description

DataChanged

Declares the DataChanged event.

DataChanging

Declares the DataChanging event.

ScrollChanged

Raised when the chart is scrolled. (Inherited from Chart.)

ZoomChanged

Declares an event handler for the ZoomChanged event. (Inherited from AxesChart.)

 See Also

LineChart Class
MindFusion.Charting.WinForms Namespace