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


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 Fields

  Name Description

CalculateFunction

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

 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.)

BackgroundBrush

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

BorderCornerRadius

Gets or sets the corner radius of the border of the chart, when it is of type RoundedRect. (Inherited from Chart.)

BorderType

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

ChartBrushes

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

ChartGraphics

Specifies the Graphics object that is used to draw the chart. (Inherited from Chart.)

ChartMargins

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

ChartPens

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

ChartSize

Specifies the size of the chart's bounding rectangle. (Inherited from Chart.)

ChartType

Gets the type 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.

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.)

EmptyBrush

Gets a neutral 'unset' brush to reset a Brush property when themes are used. (Inherited from Chart.)

EmptyPen

Gets a neutral 'unset' pen to reset a Pen property when themes are used. (Inherited from Chart.)

EndDataIndex

The last index up to which points from the series will be shown at the chart. (Inherited from AxesChart.)

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 the control handles empty data values. (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 border of data labels.

LabelBorderBackground

Gets or sets the brush for the background of the LabelBorder.

LabelBorderMargin

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

LabelBorderOutline

Gets or sets the pen for drawing the LabelBorder.

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 for labels at the graphics.

LabelOffset

Gets or sets the offset of the data label.

Labels

Gets or sets custom labels drawn at chart data points.

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 Border of the legend. (Inherited from Chart.)

LegendBorderMargin

Gets or sets the margin around the LegendBorder. (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.)

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 offset at the axes before the chart graphics. (Inherited from AxesChart.)

OutlinePen

Gets or sets the pen used to outline the chart's area. (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.)

PointAreaRadius

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.)

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.

SortColor

Gets or sets whether the brushes and pens are sorted when the series and data are sorted. (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.

StartDataIndex

The start index from which points from the series will be shown at the chart. (Inherited from AxesChart.)

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 SubTitleText. (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 chart 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 TitleText. (Inherited from Chart.)

TitleText

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

TopLeftPosition

Specifies the position of the chart in the graphics object. (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.

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 labels drawn at the X-axis in custom grids. (Inherited from AxesChart.)

XLabels

Gets or sets custom labels drawn at the X-axis. (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

Gets or sets the data for Y2-bound graphics or the radiuses for bubbles in bubble charts. (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 in custom grids. (Inherited from AxesChart.)

Y2Labels

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

Y2ScatterLabels

Gets or sets custom labels drawn at Y2 scatter shapes.

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.

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 drawn at the Y-axis. (Inherited from AxesChart.)

YLabels

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

 Public Methods

  Name Description

AddCustomSummary

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

BrushIsEmpty

Checks if the given brush is equal to the EmptyBrush. (Inherited from Chart.)

CalcChartRect

Calculates the chart's rectangle for the image. (Inherited from AxesChart.)

CalcPlotAreaRect

Calculates the plot area rectangle together with any space for 3D axes. (Inherited from AxesChart.)

CalculateSize

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

ClearData

Clears any data from the chart.

ClearDataBoundLists

Clears all IList properties that support data binding. (Inherited from AxesChart.)

ClearTheme

Resets all appearance properties to their default values. (Inherited from Chart.)

Clone

Creates an exact copy of the current LineChart object.

ContainsPoint

Checks whether the specified point lies at any line graphics.

DrawChart

Draws parts of the chart common for all charts with axes. (Inherited from AxesChart.)

getNextPoint

Gets the point on the line that lies after the specified point.

getPrevPoint

Gets the point on the line that lies before the specified point.

HitTest

Returns the line element at the specified position

HitTestBubble

Returns the Bubble at the specified x and y coordinates.

HitTestLine

Returns the Line at the position specified by x and y.

HitTestScatter

Returns the Scatter at the specified position.

LoadFromXml

Overloaded.  

LoadTheme

Overloaded.   (Inherited from Chart.)

PenIsEmpty

Checks if the given pen is equal to the EmptyPen. (Inherited from Chart.)

ResetThemeProperties

Sets pens and brushes used in themes by line charts to their default values.

ResetZoom

Resets the chart to its current position after being zoomed. (Inherited from AxesChart.)

SaveTheme

Saves the current chart as a XML file under the specified name. (Inherited from Chart.)

SaveToXml

Overloaded.  

updateData

Updates the data in a data series

Zoom

Sets the selection indexes of the series so that only the graphics between those two points are drawn. (Inherited from AxesChart.)

ZoomOut

Zooms out the chart one step back. (Inherited from AxesChart.)

 Protected Methods

  Name Description

CreateChart

Creates a new LineChart object.

DrawLegendLabelRect

Draw the rectangles before each legend label

IsDateTime

Checks if a list contains DateTime values. (Inherited from Chart.)

 See Also

LineChart Class
MindFusion.Charting Namespace