MindFusion.Charting Programmer's Guide

BarChart Members

Constructors Properties Methods Events
 


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 multi-series bars.

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.

ClusterLabelsField

Gets or sets the field(s) in a database table/view that are used as labels for bar clusters.

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. 

DataFields

Gets or sets the field(s) in a database table/view used as data for the bar chart.

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 background of inner labels when drawn with border.

InnerLabelBorder

Gets or sets the border drawn around inner labels.

InnerLabelFormat

Gets or sets the format of the numbers drawn as inner bar labels.

InnerLabelMargin

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

InnerLabelOutline

Gets or sets the pen for drawing the outline of inner labels when drawn with border.

InnerLabels

Gets or sets the labels drawn inside bars.

InnerLabelsFields

Gets or sets the field(s) in a database table/view which values are used as inner bar labels.

InnerLabelType

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

TopLabelBackground

Gets or sets the brush for filling the background of top labels when drawn with border.

TopLabelBorder

Gets or sets the border drawn around top labels.

TopLabelFormat

Gets or sets the format of the numbers drawn as top bar labels.

TopLabelMargin

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

TopLabelOffset

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

TopLabelOutline

Gets or sets the pen for drawing the outline of top labels when drawn with border.

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.

TopLabelsFields

Gets or sets the field(s) in a database table/view used to povide data for the bar top labels.

TopLabelType

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

 Inherited Public Properties

  Name Description

AlternateText

Gets or sets the alternate text displayed when the browser cannot display images. Most browsers display this text as a tooltip. (Inherited from Chart.)

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 the behavior of the chart. (Inherited from AxesChart.)

ChartBackgroundBrush

  (Inherited from AxesChart.)

ChartBrushes

Specifies the brushes used to draw the charts.

(Inherited from Chart.)

ChartGenLocation

Gets or sets the location of 'MindFusion.WebForms.ChartGen.aspx' file. (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.)

DataMember

Gets or sets the database table or view that will provide the data. (Inherited from Chart.)

DataSource

Gets or sets the object from which the list of data items is retrieved. (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 an empty brush. (Inherited from Chart.)

EmptyPen

Gets an empty pen. (Inherited from Chart.)

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

GridOutlinePen

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

ImageAlign

Gets or sets the alignment of the Chart control in relation to other elements on the page. (Inherited from Chart.)

ImageFormat

Gets or sets the format of the generated chart image. (Inherited from Chart.)

ImageQuality

Gets or sets the quality of compressed chart image. (Inherited from Chart.)

ImageUrl

Gets the path to the image displayed. (Inherited from Chart.)

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

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 painting the plot area. (Inherited from AxesChart.)

PlotAreaBrushBrush

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 Brush for filling 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.)

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

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

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

XLabelsFields

Gets or sets the column(s) in a database table/view that is(are) used as data for the X-labels. (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.)

Y2DataFields

Gets or sets the column(s) in a database table/view used as Y2-data. (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.)

Y2LabelsFields

Gets or sets column(s) in a database table/view as data for Y2 chart labels. (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 list of labels displayed along the Y axis. (Inherited from AxesChart.)

YLabelsFields

Gets or sets the column(s) in a database table/view to be used as Y-labels. (Inherited from AxesChart.)

 Inherited Protected Properties

  Name Description

TagKey

Gets the HTML tag for the control. (Inherited from Chart.)

 Public Methods

  Name Description

BeginInit

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

EndInit

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

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

CalcRect

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

ClearData

Removes all labels and numerical data from the chart.

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

GenerateMetafile

Overloaded. Creates a Metafile image of the chart. (Inherited from Chart.)

ResetZoom

Resets the zoom of the chart. (Inherited from AxesChart.)

Zoom

Zooms the chart. (Inherited from AxesChart.)

ZoomOut

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

 Inherited Protected Methods

  Name Description

AddAttributesToRender

Adds attributes to the HtmlTextWriter object. (Inherited from Chart.)

Finalize

Chart destructor. (Inherited from Chart.)

IsEmptyList

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

OnClick

Raises the Click event of the control. (Inherited from Chart.)

OnInit

Control.OnInit override. (Inherited from Chart.)

PerformDataBinding

Binds the specified DataSource to the control. (Inherited from Chart.)

PerformSelect

  (Inherited from Chart.)

Render

Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client. (Inherited from Chart.)

 Inherited Public Events

  Name Description

Click

Occurs when the chart is clicked. (Inherited from Chart.)

 See Also