MindFusion.Charting Programmer's Guide

Chart Members

Constructors Properties Methods Events
 


Base class for all chart types - bars, pies, areas, lines, or radars.

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

 Protected Constructors

  Name Description

Chart

Creates a new instance of the Chart class.

 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.

BackColor

Gets or sets the background color for the Chart control.

BackgroundBrush

Specifies the brush for the chart background.

ChartBrushes

Specifies the brushes used to draw the charts.

ChartGenLocation

Gets or sets the location of 'MindFusion.WebForms.ChartGen.aspx' file.

ChartMargins

Gets or sets the margins around the chart.

ChartPens

Specifies the pens for the charts.

ChartSize

Gets the size of the chart.

DataMember

Gets or sets the database table or view that will provide the data.

DataSource

Gets or sets the object from which the list of data items is retrieved.

EmptyBrush

Gets an empty brush.

EmptyPen

Gets an empty pen.

FontName

Gets or sets the name of the font for all chart labels.

ImageAlign

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

ImageFormat

Gets or sets the format of the generated chart image.

ImageQuality

Gets or sets the quality of compressed chart image.

ImageUrl

Gets the path to the image displayed.

LabelBrush

Specifies the brush that is used for drawing chart labels.

LabelFont

Specifies the font for drawing the chart labels.

LegendAlignment

Gets or sets the alignment of the legend.

LegendBackgroundBrush

Gets or sets the legend background brush.

LegendBorder

Gets or sets the type of the legend border.

LegendBorderMargin

Gets or sets the margin between the legend border and the legend labels.

LegendBrush

Gets or sets the brush for the legend's bounding rectangle.

LegendColumns

Gets or sets the count of columns in the chart legend.

LegendFont

Gets or sets the font for the chart legend.

LegendGridType

Gets or sets the type of the legend grid.

LegendLabels

Gets or sets the labels for the legend.

LegendOffset

Gets or sets the offset of the chart legend.

LegendPen

Gets or sets the pen for the legend's bounding rectangle.

LegendPosition

Gets or sets the position of the chart legend.

LegendWidth

Gets or sets the width of the legend's rectangle.

LegendWordWrap

Gets or sets whether the words of the legend labels are wrapped.

MultiColored

Specifies whether the chart is drawn in one color or in different colors.

MultiColoredLabels

Specifies whether labels at the chart axes are drawn in different colors.

SortOrder

Specifies the sort order of numbers in chart series.

SortSeriesBy

Specifies the sort order of data series.

SubTitleBrush

Specifies the brush that is used for drawing the chart subtitle.

SubTitleFont

Specifies the font, which is used to draw the chart subtitle. 

SubTitleOffset

Gets or sets the offset of the subtitle.

SubTitleText

Specifies the text for the chart subtitle.

TextRenderingHint

Specifies the quality, with which text is rendered.

Theme

Gets or sets the style theme.

TitleBrush

Specifies the brush that is used to draw the chart title.

TitleFont

Specifies the font, which is used to draw the chart title.

TitleOffset

Gets or sets the offset of the title.

TitleText

Specifies the text for the chart title.

 Protected Properties

  Name Description

TagKey

Gets the HTML tag for the control.

 Public Methods

  Name Description

CalcRect

Calculates the size of the chart's rectangle.

ClearData

Removes all labels and numerical data from the chart.

CreateBitmap

Creates a GDI+ bitmap image representing the chart.

CreateMetafile

Creates a WMF image containing the chart.

GenerateMetafile

Overloaded. Creates a Metafile image of the chart.

 Protected Methods

  Name Description

AddAttributesToRender

Adds attributes to the HtmlTextWriter object.

Finalize

Chart destructor.

IsEmptyList

Checks when a list has no members.

OnClick

Raises the Click event of the control.

OnInit

Control.OnInit override.

PerformDataBinding

Binds the specified DataSource to the control.

PerformSelect

 

Render

Sends server control content to a provided HtmlTextWriter object, which writes the content to be rendered on the client.

 Public Events

  Name Description

Click

Occurs when the chart is clicked.

 See Also