MindFusion.Charting Programmer's Guide

BarChart Members

Constructors Properties Methods
 


A class for drawing bar charts.

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

 Public Constructors

  Name Description

BarChart

Creates a new instance of the BarChart class.

 Public Properties

  Name Description

BarSeriesLayout

Gets or sets the layout of bars in multi-series charts.

BarType

Gets or sets the type of the bar chart to be drawn. 

BarWidth

Gets or sets the thickness of chart bars.

ClusterLabels

Gets or sets custom labels for clustered bar charts.

Cylinder

Gets or sets whether bars are drawn as cylinders.

CylinderTension

Gets or sets the tension of chart cylinders.

Data

Gets or sets the numerical data used for calculating the height of chart bars. 

DistBtwBars

Gets or sets the distance between bars in a bar chart.

InnerLabelAlignment

Gets or sets the alignment of labels inside bars.

InnerLabelBackground

Gets or sets the Brush for filling the border rectangle of inner labels.

InnerLabelBorder

Gets or sets the Border drawn around inner labels.

InnerLabelFormat

Gets or sets the format of inner labels.

InnerLabelMargin

Gets or sets the margin around the inner label and its border.

InnerLabelOutline

Gets or sets the Pen for drawing the outline of the border rectangle for inner labels.

InnerLabels

Gets or sets the labels drawn inside bars.

InnerLabelType

Gets or sets the type of labels drawn inside chart bars.

TopLabelBackground

Gets or sets the Brush for filling the border rectangle of top labels.

TopLabelBorder

Gets or sets the Border drawn around top labels.

TopLabelFormat

Gets or sets the format of top labels.

TopLabelMargin

Gets or sets the margin around the top label when drawn with border.

TopLabelOffset

Gets or sets the offset of the top label to the edge of the bar.

TopLabelOutline

Gets or sets the Pen that draws the label border of top labels.

TopLabelRotAngle

Gets or sets the rotation angle of labels at the top of vertical chart bars. 

TopLabels

Gets or sets custom labels drawn at the top of chart bars.

TopLabelType

Gets or sets the type of labels drawn at the top of chart bars.

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

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

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

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

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

LabelBrush

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

LabelFont

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

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

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

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

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

SortOrder

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

SortSeriesBy

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

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

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

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

YAxisSettings

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

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

ClearData

Clears any data from the chart.

Clone

Creates an exact copy of the current BarChart object.

HitTest

Returns the bar at the specified position.

HitTestBar

Returns the bar at the specified position.

LoadFromXml

Loads BarChart data from an XML document.

ResetThemeProperties

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

SaveToXml

Saves the BarChart to an XML document.

Zoom

Sets the selection indexes of the series so that only the bars between those two points are drawn.

 Protected Methods

  Name Description

ClearChartSpecificData

Clears the bar specific data.

CreateChart

Creates a new BarChart object.

 Inherited Public Methods

  Name Description

AddCustomSummary

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

CalculateSize

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

ClearData

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

ClearData

Clears all data and labels. (Inherited from AxesChart.)

ClearDataBoundLists

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

ClearDataBoundLists

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

Clone

Creates an exact copy of the current Chart object. (Inherited from Chart.)

Clone

Creates an exact copy of the current AxesChart object. (Inherited from AxesChart.)

DrawChart

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

DrawChart

Draws the chart in the object assigned to the Graphics property. (Inherited from Chart.)

HitTest

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

LoadFromXml

Loads the settings for an AxesChart from an XML document. (Inherited from AxesChart.)

LoadFromXml

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

ResetThemeProperties

Sets pens and brushes used in themes by charts with axes to their default values. (Inherited from AxesChart.)

ResetThemeProperties

Sets pens and brushes used in themes by all chart types to their default values. (Inherited from Chart.)

ResetZoom

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

SaveToXml

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

SaveToXml

Saves the Chart to an XML document. (Inherited from AxesChart.)

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

 Inherited Protected Methods

  Name Description

ClearChartSpecificData

Clears data that is specific for bar or line charts. (Inherited from AxesChart.)

CreateChart

Creates a new Chart object. (Inherited from Chart.)

IsDateTime

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

 See Also