The Chart type exposes the following members.

Constructors

  Name Description
Public method Chart
Initializes a new instance of the Chart class.

Methods

  Name Description
Public method Clone (Overrides FieldClone()()()().)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public method GetFieldDesignRect (Inherited from Field.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method OnFontChanged (Inherited from Field.)
Public method OnPropertyChanged
Marks the owner report as dirty so it will clear the internal cache and render again (useful for implementing custom fields).
(Overrides FieldOnPropertyChanged()()()().)
Public method RenderDesigner (Inherited from Field.)
Public method SetZOrder
Brings a field to the front or sends it to the back of the ZOrder.
(Inherited from Field.)
Public method ToString
Returns a description of the field (name, location, size).
(Inherited from Field.)

Properties

  Name Description
Public property Aggregate
Public property Align
Gets or sets how text is aligned within the field.
(Inherited from Field.)
Public property Anchor
Gets or sets the field's vertical position relative to its containing Section()()()().
(Inherited from Field.)
Public property BackColor
Gets or sets the field's background color.
(Inherited from Field.)
Public property BackStyle Obsolete. (Inherited from Field.)
Public property BarCode
Allows fields to be rendered in barcode format.
(Inherited from Field.)
Public property BorderColor
Gets or sets the field's border color.
(Inherited from Field.)
Public property BorderStyle
Gets or sets the field's border style.
(Inherited from Field.)
Public property Bounds
Gets or sets the field's size and location within the section, in twips.
(Inherited from Field.)
Public property Boxed
Draws a box around the plot area.
Public property Calculated
Specifies whether the Text()()()() property should be interpreted as a literal value or as a calculated expression.
(Inherited from Field.)
Public property CanGrow
Specifies whether the field height should be automatically increased to fit the field's contents.
(Inherited from Field.)
Public property CanShrink
Specifies whether the field height should be automatically reduced to fit the field's contents.
(Inherited from Field.)
Public property ChartControl
Gets a reference to the underlying C1Chart control.
Public property ChartType
Gets or sets the chart type. Available types are Area, Bar, Pie, Scatter, Line and Column.
Public property CheckBox
Specifies whether the field should be displayed as a checkbox.
(Inherited from Field.)
Public property DataColor
Specifies the color for the chart bars, lines, symbols, or pie slices.
Public property DataX
Gets or sets a string containing one field with the chart labels.
Public property DataY
Gets or sets a string containing one or more fields with the data to plot on the chart.
Public property Font
Gets or sets the field's font.
(Inherited from Field.)
Public property ForcePageBreak
Specifies whether to insert page breaks before or after the field.
(Inherited from Field.)
Public property ForeColor
Gets or sets the field's foreground color.
(Inherited from Field.)
Public property Format
Gets or sets a string used to format the field value.
(Inherited from Field.)
Public property FormatX
Gets or sets the annotation format for the X axis.
Public property FormatY
Gets or sets the annotation format for the Y axis.
Public property GridLines
Adds gridlines to charts. This property does not apply to Pie charts.
Public property Height
Gets or sets the height of the field in twips.
(Inherited from Field.)
Public property HideDuplicates
Specifies whether duplicate values in consecutive records should be suppressed.
(Inherited from Field.)
Public property ImageType
Gets or sets the type of image to use when exporting the chart to html.
Public property Index
Returns the position of the field in the parent report's Fields()()()() collection.
(Inherited from Field.)
Public property KeepTogether
Specifies whether the field should be kept together on a page.
(Inherited from Field.)
Public property Left
Gets or sets the x-coordinate of the field's left edge in twips.
(Inherited from Field.)
Public property LineSlant
Specifies whether a line should be drawn across the field (as opposed to a box around the field).
(Inherited from Field.)
Public property LineSpacing
Gets or sets the line spacing between text lines in the field, in percent. The default is 100 which corresponds to normal line spacing.

Note that this property is ignored if RTF()()()() is true.

(Inherited from Field.)
Public property LineWidth
Gets or sets the width of the field's border or line.
(Inherited from Field.)
Public property LinkTarget
Gets or sets an expression that evaluates to a URL to be visited when the field is clicked.
(Inherited from Field.)
Public property LinkValue
Returns the value of the LinkTarget expression.
(Inherited from Field.)
Public property Location
Gets or sets the field's location within the section, in twips.
(Inherited from Field.)
Public property MarginBottom
Gets or sets the spacing between the bottom edge of the field and its content, in twips.
(Inherited from Field.)
Public property MarginLeft
Gets or sets the spacing between the left edge of the field and its content, in twips.
(Inherited from Field.)
Public property MarginRight
Gets or sets the spacing between the right edge of the field and its content, in twips.
(Inherited from Field.)
Public property MarginTop
Gets or sets the spacing between the top edge of the field and its content, in twips.
(Inherited from Field.)
Public property Name
Gets or sets the field name.
(Inherited from Field.)
Public property Palette
Specifies a collection of colors to be used for each series (or pie slices).
Public property ParentReport
Gets the C1Report that contains this field.
(Inherited from Field.)
Public property ParentSection
Gets the Section()()()() that contains this field.
(Inherited from Field.)
Public property Picture
Gets or sets a picture to display on the field.
(Inherited from Field.)
Public property PictureAlign
Gets or sets how field pictures should be the aligned.
(Inherited from Field.)
Public property PictureScale
Gets or sets how images should be the scaled to fit within the field area.
(Inherited from Field.)
Public property RadialLabels
This property only applies to Pie charts. It causes the field to add radial labels attached to the pie slices instead of a legend.
Public property RecordSource
Gets or sets a Sql statement to use and retrieve data for the chart.
Public property RenderHeight
Gets the height of the field in twips after the CanGrow()()()() and CanShrink()()()() properties have been applied to the field.
(Inherited from Field.)
Public property RenderTop
Gets the y-coordinate of the field's top edge in twips after the CanGrow()()()() and CanShrink()()()() properties have been applied to the containing Section()()()().
(Inherited from Field.)
Public property Report Obsolete. (Inherited from Field.)
Public property RTF
Specifies whether the field should render string enclosed in curly brackets as RTF.
(Inherited from Field.)
Public property RunningSum
Specifies whether to show a running sum for the field.
(Inherited from Field.)
Public property Section
Gets or sets the section to which the field belongs.
(Inherited from Field.)
Public property ShowLegend
Gets or sets whether the chart should include a legend.
Public property ShowPercentages
This property only applies to Pie charts. It causes the field to add percentage labels to the pie slices.
Public property Size
Gets or sets the field's size, in twips.
(Inherited from Field.)
Public property Subreport
Gets or sets a reference to another report to be rendered within the field (a subreport).
(Inherited from Field.)
Public property SubreportHasData
Returns whether a subreport has data and suppresses rendering if it doesn't.
(Inherited from Field.)
Public property Tag
Gets or sets extra data needed by the calling program.
(Inherited from Field.)
Public property Text
Gets or sets the field's text.
(Inherited from Field.)
Public property TextDirection
Gets or sets the direction of the text within the field.
(Inherited from Field.)
Public property Top
Gets or sets the y-coordinate of the field's top edge in twips.
(Inherited from Field.)
Public property Use3D
Applies 3D effects to the charts.
Public property Value
Gets or sets the field's calculated value.
(Inherited from Field.)
Public property Visible
Specifies whether the Field will be rendered in the report.
(Inherited from Field.)
Public property Width
Gets or sets the width of the field in twips.
(Inherited from Field.)
Public property WordWrap
Specifies whether the field's contents should be allowed to wrap within the field rectangle.
(Inherited from Field.)
Public property XMax
Maximum value for X axis.
Public property XMin
Minimum for X axis.
Public property YMax
Maximum value for Y axis.
Public property YMin
Minimum for Y axis.
Public property ZOrder
Gets or sets the ZOrder for the field.
(Inherited from Field.)

See Also